1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColour swig_types[28]
2495 #define SWIGTYPE_p_wxColourDatabase swig_types[29]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[30]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[31]
2498 #define SWIGTYPE_p_wxControl swig_types[32]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[33]
2500 #define SWIGTYPE_p_wxCursor swig_types[34]
2501 #define SWIGTYPE_p_wxDC swig_types[35]
2502 #define SWIGTYPE_p_wxDCBrushChanger swig_types[36]
2503 #define SWIGTYPE_p_wxDCClipper swig_types[37]
2504 #define SWIGTYPE_p_wxDCOverlay swig_types[38]
2505 #define SWIGTYPE_p_wxDCPenChanger swig_types[39]
2506 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDash swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
2512 #define SWIGTYPE_p_wxEffects swig_types[46]
2513 #define SWIGTYPE_p_wxEncodingConverter swig_types[47]
2514 #define SWIGTYPE_p_wxEraseEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2517 #define SWIGTYPE_p_wxFSFile swig_types[51]
2518 #define SWIGTYPE_p_wxFileSystem swig_types[52]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFont swig_types[55]
2522 #define SWIGTYPE_p_wxFontList swig_types[56]
2523 #define SWIGTYPE_p_wxFontMapper swig_types[57]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[58]
2525 #define SWIGTYPE_p_wxGCDC swig_types[59]
2526 #define SWIGTYPE_p_wxGDIObjListBase swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObject swig_types[61]
2528 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
2529 #define SWIGTYPE_p_wxGraphicsBrush swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsContext swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsFont swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsObject swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsPath swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPen swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[70]
2537 #define SWIGTYPE_p_wxGridBagSizer swig_types[71]
2538 #define SWIGTYPE_p_wxGridSizer swig_types[72]
2539 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[73]
2540 #define SWIGTYPE_p_wxICOHandler swig_types[74]
2541 #define SWIGTYPE_p_wxIcon swig_types[75]
2542 #define SWIGTYPE_p_wxIconBundle swig_types[76]
2543 #define SWIGTYPE_p_wxIconLocation swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLanguageInfo swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxLocale swig_types[89]
2556 #define SWIGTYPE_p_wxMask swig_types[90]
2557 #define SWIGTYPE_p_wxMaximizeEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMemoryDC swig_types[92]
2559 #define SWIGTYPE_p_wxMenu swig_types[93]
2560 #define SWIGTYPE_p_wxMenuBar swig_types[94]
2561 #define SWIGTYPE_p_wxMenuEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMenuItem swig_types[96]
2563 #define SWIGTYPE_p_wxMetaFile swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFileDC swig_types[98]
2565 #define SWIGTYPE_p_wxMirrorDC swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMoveEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[104]
2571 #define SWIGTYPE_p_wxNativeFontInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativePixelData swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[107]
2574 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNcPaintEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxOverlay swig_types[112]
2579 #define SWIGTYPE_p_wxPCXHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNGHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNMHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPaintDC swig_types[116]
2583 #define SWIGTYPE_p_wxPaintEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPalette swig_types[118]
2585 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPaperSize swig_types[120]
2587 #define SWIGTYPE_p_wxPen swig_types[121]
2588 #define SWIGTYPE_p_wxPenList swig_types[122]
2589 #define SWIGTYPE_p_wxPixelDataBase swig_types[123]
2590 #define SWIGTYPE_p_wxPoint swig_types[124]
2591 #define SWIGTYPE_p_wxPoint2D swig_types[125]
2592 #define SWIGTYPE_p_wxPostScriptDC swig_types[126]
2593 #define SWIGTYPE_p_wxPrintData swig_types[127]
2594 #define SWIGTYPE_p_wxPrinterDC swig_types[128]
2595 #define SWIGTYPE_p_wxPseudoDC swig_types[129]
2596 #define SWIGTYPE_p_wxPyApp swig_types[130]
2597 #define SWIGTYPE_p_wxPyCommandEvent swig_types[131]
2598 #define SWIGTYPE_p_wxPyEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[133]
2600 #define SWIGTYPE_p_wxPyImageHandler swig_types[134]
2601 #define SWIGTYPE_p_wxPyLocale swig_types[135]
2602 #define SWIGTYPE_p_wxPySizer swig_types[136]
2603 #define SWIGTYPE_p_wxPyValidator swig_types[137]
2604 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[138]
2605 #define SWIGTYPE_p_wxRect swig_types[139]
2606 #define SWIGTYPE_p_wxRect2D swig_types[140]
2607 #define SWIGTYPE_p_wxRegion swig_types[141]
2608 #define SWIGTYPE_p_wxRegionIterator swig_types[142]
2609 #define SWIGTYPE_p_wxRendererNative swig_types[143]
2610 #define SWIGTYPE_p_wxRendererVersion swig_types[144]
2611 #define SWIGTYPE_p_wxScreenDC swig_types[145]
2612 #define SWIGTYPE_p_wxScrollEvent swig_types[146]
2613 #define SWIGTYPE_p_wxScrollWinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxSetCursorEvent swig_types[148]
2615 #define SWIGTYPE_p_wxShowEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSize swig_types[150]
2617 #define SWIGTYPE_p_wxSizeEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSizer swig_types[152]
2619 #define SWIGTYPE_p_wxSizerItem swig_types[153]
2620 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[154]
2621 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[155]
2622 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStockGDI swig_types[157]
2624 #define SWIGTYPE_p_wxString swig_types[158]
2625 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[159]
2626 #define SWIGTYPE_p_wxTGAHandler swig_types[160]
2627 #define SWIGTYPE_p_wxTIFFHandler swig_types[161]
2628 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629 #define SWIGTYPE_p_wxValidator swig_types[163]
2630 #define SWIGTYPE_p_wxWindow swig_types[164]
2631 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[165]
2632 #define SWIGTYPE_p_wxWindowDC swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635 static swig_type_info
*swig_types
[170];
2636 static swig_module_info swig_module
= {swig_types
, 169, 0, 0, 0, 0};
2637 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640 /* -------- TYPES TABLE (END) -------- */
2642 #if (PY_VERSION_HEX <= 0x02000000)
2643 # if !defined(SWIG_PYTHON_CLASSIC)
2644 # error "This python version requires to use swig with the '-classic' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodern' option"
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodernargs' option"
2654 # error "This python version requires to use swig with the '-nofastunpack' option"
2657 /*-----------------------------------------------
2658 @(target):= _gdi_.so
2659 ------------------------------------------------*/
2660 #define SWIG_init init_gdi_
2662 #define SWIG_name "_gdi_"
2664 #define SWIGVERSION 0x010329
2667 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2671 #include <stdexcept>
2675 class PyObject_ptr
{
2680 PyObject_ptr() :_obj(0)
2684 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2689 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2691 if (initial_ref
) Py_XINCREF(_obj
);
2694 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2696 Py_XINCREF(item
._obj
);
2707 operator PyObject
*() const
2712 PyObject
*operator->() const
2721 struct PyObject_var
: PyObject_ptr
{
2722 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2724 PyObject_var
& operator = (PyObject
* obj
)
2734 #include "wx/wxPython/wxPython.h"
2735 #include "wx/wxPython/pyclasses.h"
2738 static const wxString
wxPyEmptyString(wxEmptyString
);
2740 #define SWIG_From_long PyInt_FromLong
2743 SWIGINTERNINLINE PyObject
*
2744 SWIG_From_int (int value
)
2746 return SWIG_From_long (value
);
2752 # define LLONG_MIN LONG_LONG_MIN
2755 # define LLONG_MAX LONG_LONG_MAX
2758 # define ULLONG_MAX ULONG_LONG_MAX
2763 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2765 if (PyNumber_Check(obj
)) {
2766 if (val
) *val
= PyInt_AsLong(obj
);
2769 return SWIG_TypeError
;
2774 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2777 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2778 return SWIG_TypeError
;
2781 *val
= (unsigned long)v
;
2787 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2790 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2791 if (SWIG_IsOK(res
)) {
2792 if ((v
> UCHAR_MAX
)) {
2793 return SWIG_OverflowError
;
2795 if (val
) *val
= static_cast< unsigned char >(v
);
2802 SWIGINTERNINLINE PyObject
*
2803 SWIG_From_unsigned_SS_long (unsigned long value
)
2805 return (value
> LONG_MAX
) ?
2806 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2810 SWIGINTERNINLINE PyObject
*
2811 SWIG_From_unsigned_SS_char (unsigned char value
)
2813 return SWIG_From_unsigned_SS_long (value
);
2816 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2817 wxColour temp
, *obj
= &temp
;
2818 if ( other
== Py_None
) return false;
2819 if ( ! wxColour_helper(other
, &obj
) ) {
2823 return self
->operator==(*obj
);
2825 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2826 wxColour temp
, *obj
= &temp
;
2827 if ( other
== Py_None
) return true;
2828 if ( ! wxColour_helper(other
, &obj
)) {
2832 return self
->operator!=(*obj
);
2836 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2838 if (obj
== Py_True
) {
2839 if (val
) *val
= true;
2841 } else if (obj
== Py_False
) {
2842 if (val
) *val
= false;
2846 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2847 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2852 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2853 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2857 int alpha
= wxALPHA_OPAQUE
;
2860 green
= self
->Green();
2861 blue
= self
->Blue();
2862 alpha
= self
->Alpha();
2864 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2865 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2866 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2868 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2871 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2872 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2876 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2879 int res
= SWIG_AsVal_long (obj
, &v
);
2880 if (SWIG_IsOK(res
)) {
2881 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2882 return SWIG_OverflowError
;
2884 if (val
) *val
= static_cast< int >(v
);
2890 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2892 int count
= self
->GetDashes(&dashes
);
2893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2894 PyObject
* retval
= PyList_New(0);
2895 for (int x
=0; x
<count
; x
++) {
2896 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2897 PyList_Append(retval
, pyint
);
2900 wxPyEndBlockThreads(blocked
);
2903 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2904 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2905 int size
= PyList_Size(pyDashes
);
2906 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2908 // black magic warning! The array of wxDashes needs to exist as
2909 // long as the pen does because wxPen does not copy the array. So
2910 // stick a copy in a Python string object and attach it to _self,
2911 // and then call SetDashes with a pointer to that array. Then
2912 // when the Python pen object is destroyed the array will be
2914 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2915 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2917 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2919 Py_DECREF(strDashes
);
2920 wxPyEndBlockThreads(blocked
);
2922 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2923 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2925 #include <wx/rawbmp.h>
2928 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2929 // appears to me that the other platforms are already doing it, so I'll just
2930 // automatically do it for wxMSW here.
2932 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2933 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2935 #define wxPy_premultiply(p, a) (p)
2936 #define wxPy_unpremultiply(p, a) (p)
2940 #include <wx/image.h>
2942 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2943 char** cArray
= NULL
;
2946 if (!PyList_Check(listOfStrings
)) {
2947 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2950 count
= PyList_Size(listOfStrings
);
2951 cArray
= new char*[count
];
2953 for(int x
=0; x
<count
; x
++) {
2954 // TODO: Need some validation and error checking here
2955 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2961 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2962 char** cArray
= NULL
;
2965 cArray
= ConvertListOfStrings(listOfStrings
);
2968 bmp
= new wxBitmap(cArray
);
2972 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2975 PyString_AsStringAndSize(bits
, &buf
, &length
);
2976 return new wxBitmap(buf
, width
, height
, depth
);
2978 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2979 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2980 wxSize
size(self
->GetWidth(), self
->GetHeight());
2983 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2984 wxMask
*mask
= new wxMask(*self
, colour
);
2985 self
->SetMask(mask
);
2987 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2988 self
->SetWidth(size
.x
);
2989 self
->SetHeight(size
.y
);
2991 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
2992 int height
=self
->GetHeight();
2993 int width
=self
->GetWidth();
2995 if (DATASIZE
!= width
* height
* 3) {
2996 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2998 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3000 // raise an exception...
3001 wxPyErr_SetString(PyExc_RuntimeError
,
3002 "Failed to gain raw access to bitmap data.");
3006 wxNativePixelData::Iterator
p(pixData
);
3007 for (int y
=0; y
<height
; y
++) {
3008 wxNativePixelData::Iterator rowStart
= p
;
3009 for (int x
=0; x
<width
; x
++) {
3010 p
.Red() = *(data
++);
3011 p
.Green() = *(data
++);
3012 p
.Blue() = *(data
++);
3016 p
.OffsetY(pixData
, 1);
3019 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3020 int height
=self
->GetHeight();
3021 int width
=self
->GetWidth();
3023 if (DATASIZE
!= width
* height
* 4) {
3024 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3026 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3028 // raise an exception...
3029 wxPyErr_SetString(PyExc_RuntimeError
,
3030 "Failed to gain raw access to bitmap data.");
3035 wxAlphaPixelData::Iterator
p(pixData
);
3036 for (int y
=0; y
<height
; y
++) {
3037 wxAlphaPixelData::Iterator rowStart
= p
;
3038 for (int x
=0; x
<width
; x
++) {
3040 p
.Red() = wxPy_premultiply(*(data
++), a
);
3041 p
.Green() = wxPy_premultiply(*(data
++), a
);
3042 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3043 p
.Alpha() = a
; data
++;
3047 p
.OffsetY(pixData
, 1);
3050 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3051 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3053 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3054 buffer data
, int DATASIZE
,
3055 buffer alpha
, int ALPHASIZE
)
3057 if (DATASIZE
!= width
*height
*3) {
3058 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3062 if (ALPHASIZE
!= width
*height
) {
3063 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3067 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3068 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3070 // raise an exception...
3071 wxPyErr_SetString(PyExc_RuntimeError
,
3072 "Failed to gain raw access to bitmap data.");
3077 wxAlphaPixelData::Iterator
p(pixData
);
3078 for (int y
=0; y
<height
; y
++) {
3079 wxAlphaPixelData::Iterator rowStart
= p
;
3080 for (int x
=0; x
<width
; x
++) {
3081 byte a
= *(alpha
++);
3082 p
.Red() = wxPy_premultiply(*(data
++), a
);
3083 p
.Green() = wxPy_premultiply(*(data
++), a
);
3084 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3089 p
.OffsetY(pixData
, 1);
3094 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3096 if (DATASIZE
!= width
*height
*3) {
3097 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3101 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3102 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3104 // raise an exception...
3105 wxPyErr_SetString(PyExc_RuntimeError
,
3106 "Failed to gain raw access to bitmap data.");
3110 wxNativePixelData::Iterator
p(pixData
);
3111 for (int y
=0; y
<height
; y
++) {
3112 wxNativePixelData::Iterator rowStart
= p
;
3113 for (int x
=0; x
<width
; x
++) {
3114 p
.Red() = *(data
++);
3115 p
.Green() = *(data
++);
3116 p
.Blue() = *(data
++);
3120 p
.OffsetY(pixData
, 1);
3126 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3128 if (DATASIZE
!= width
*height
*4) {
3129 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3133 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3134 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3136 // raise an exception...
3137 wxPyErr_SetString(PyExc_RuntimeError
,
3138 "Failed to gain raw access to bitmap data.");
3143 wxAlphaPixelData::Iterator
p(pixData
);
3144 for (int y
=0; y
<height
; y
++) {
3145 wxAlphaPixelData::Iterator rowStart
= p
;
3146 for (int x
=0; x
<width
; x
++) {
3148 p
.Red() = wxPy_premultiply(*(data
++), a
);
3149 p
.Green() = wxPy_premultiply(*(data
++), a
);
3150 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3151 p
.Alpha() = a
; data
++;
3155 p
.OffsetY(pixData
, 1);
3161 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3163 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3164 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3165 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3167 self
->Green() = green
;
3168 self
->Blue() = blue
;
3170 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3171 PyObject
* rv
= PyTuple_New(3);
3172 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3173 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3174 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3178 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3180 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3181 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3182 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3183 self
->Red() = wxPy_premultiply(red
, alpha
);
3184 self
->Green() = wxPy_premultiply(green
, alpha
);
3185 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3186 self
->Alpha() = alpha
;
3188 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3189 PyObject
* rv
= PyTuple_New(4);
3190 int red
= self
->Red();
3191 int green
= self
->Green();
3192 int blue
= self
->Blue();
3193 int alpha
= self
->Alpha();
3195 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3196 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3197 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3198 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3201 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3202 if ( !colour
.IsOk() )
3203 return new wxMask(bitmap
, *wxBLACK
);
3205 return new wxMask(bitmap
, colour
);
3208 #include <wx/iconbndl.h>
3210 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3211 wxIcon
* icon
= new wxIcon();
3212 icon
->CopyFromBitmap(bmp
);
3215 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3216 char** cArray
= NULL
;
3219 cArray
= ConvertListOfStrings(listOfStrings
);
3222 icon
= new wxIcon(cArray
);
3226 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3227 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3229 return new wxIconLocation(*filename
, num
);
3234 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3236 self
->SetIndex(num
);
3241 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3243 return self
->GetIndex();
3248 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3250 wxImage
img(cursorName
, type
);
3251 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3252 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3253 return new wxCursor(img
);
3255 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3258 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3261 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3264 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3265 return self
->operator bool();
3268 #include <wx/fontutil.h>
3269 #include <wx/fontmap.h>
3270 #include <wx/fontenum.h>
3272 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3273 return self
->ToString();
3276 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3277 { wxPyRaiseNotImplemented(); return NULL
; }
3279 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3280 { wxPyRaiseNotImplemented(); return false; }
3283 SWIGINTERNINLINE PyObject
*
3284 SWIG_From_size_t (size_t value
)
3286 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3290 SWIGINTERNINLINE
int
3291 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3294 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3295 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3299 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3300 wxFontEncoding alt_enc
;
3301 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3302 return PyInt_FromLong(alt_enc
);
3308 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3309 wxNativeFontInfo nfi
;
3310 nfi
.FromString(info
);
3311 return new wxFont(nfi
);
3313 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3314 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3316 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3317 return wxFontBase::New(pixelSize
, family
,
3318 style
, weight
, underlined
,
3321 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3322 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3324 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3325 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3327 class wxPyFontEnumerator
: public wxFontEnumerator
{
3329 wxPyFontEnumerator() {}
3330 ~wxPyFontEnumerator() {}
3332 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3333 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3338 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3339 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3342 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3344 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3345 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3346 ret
= wxArrayString2PyList_helper(arr
);
3347 wxPyEndBlockThreads(blocked
);
3350 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3352 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3353 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3354 ret
= wxArrayString2PyList_helper(arr
);
3355 wxPyEndBlockThreads(blocked
);
3361 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3364 loc
= new wxLocale();
3366 loc
= new wxLocale(language
, flags
);
3367 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3368 // for the floating point conversions and such to work right.
3369 #if PY_VERSION_HEX < 0x02040000
3370 setlocale(LC_NUMERIC
, "C");
3374 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3375 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3376 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3377 // for the floating point conversions and such to work right.
3378 #if PY_VERSION_HEX < 0x02040000
3379 setlocale(LC_NUMERIC
, "C");
3383 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3384 bool rc
= self
->Init(language
, flags
);
3385 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3386 // for the floating point conversions and such to work right.
3387 #if PY_VERSION_HEX < 0x02040000
3388 setlocale(LC_NUMERIC
, "C");
3393 class wxPyLocale
: public wxLocale
3398 wxPyLocale(const wxChar
*szName
, // name (for messages)
3399 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3400 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3401 bool bLoadDefault
= true, // preload wxstd.mo?
3402 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3404 wxPyLocale(int language
, // wxLanguage id or custom language
3405 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3409 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3410 const wxChar
*szDomain
= NULL
) const;
3411 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3412 const wxChar
*szOrigString2
, size_t n
,
3413 const wxChar
*szDomain
= NULL
) const;
3415 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3416 const wxChar
*szDomain
= NULL
) const;
3417 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3418 const wxChar
*szOrigString2
, size_t n
,
3419 const wxChar
*szDomain
= NULL
) const;
3423 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3426 wxPyLocale::wxPyLocale() : wxLocale()
3430 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3431 const wxChar
*szShort
, // dir prefix (for msg files)
3432 const wxChar
*szLocale
, // locale (for setlocale)
3433 bool bLoadDefault
, // preload wxstd.mo?
3434 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3435 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3439 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3440 int flags
) : wxLocale(language
, flags
)
3444 wxPyLocale::~wxPyLocale()
3448 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3449 const wxChar
*szDomain
) const
3451 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3452 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3455 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3456 const wxChar
*szOrigString2
, size_t n
,
3457 const wxChar
*szDomain
) const
3459 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3460 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3463 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3464 const wxChar
*szDomain
) const
3467 static wxString str
;
3468 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3469 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3470 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3471 PyObject
* param1
= wx2PyString(szOrigString
);
3472 PyObject
* param2
= wx2PyString(szDomain
);
3473 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3477 str
= Py2wxString(ret
);
3481 wxPyEndBlockThreads(blocked
);
3482 return (found
? (wxChar
*)str
.c_str() : NULL
);
3485 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3486 const wxChar
*szOrigString2
, size_t n
,
3487 const wxChar
*szDomain
) const
3490 static wxString str
;
3491 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3492 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3493 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3494 PyObject
* param1
= wx2PyString(szOrigString
);
3495 PyObject
* param2
= wx2PyString(szOrigString2
);
3496 PyObject
* param4
= wx2PyString(szDomain
);
3497 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3502 str
= Py2wxString(ret
);
3506 wxPyEndBlockThreads(blocked
);
3507 return (found
? (wxChar
*)str
.c_str() : NULL
);
3510 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3513 loc
= new wxPyLocale();
3515 loc
= new wxPyLocale(language
, flags
);
3516 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3517 // for the floating point conversions and such to work right.
3518 #if PY_VERSION_HEX < 0x02040000
3519 setlocale(LC_NUMERIC
, "C");
3524 #include "wx/wxPython/pydrawxxx.h"
3526 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3528 self
->GetPixel(x
, y
, &col
);
3531 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3533 self
->GetPixel(pt
, &col
);
3538 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3540 if (PyNumber_Check(obj
)) {
3541 if (val
) *val
= PyFloat_AsDouble(obj
);
3544 return SWIG_TypeError
;
3547 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3549 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3552 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3554 self
->GetClippingBox(rect
);
3557 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3559 self
->GetPartialTextExtents(text
, widths
);
3563 #define SWIG_From_double PyFloat_FromDouble
3565 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3566 self
->SetLogicalOrigin(point
.x
, point
.y
);
3568 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3569 self
->SetDeviceOrigin(point
.x
, point
.y
);
3571 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3572 self
->CalcBoundingBox(point
.x
, point
.y
);
3574 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3575 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3577 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3578 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3580 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3581 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3583 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3584 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3586 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3587 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3589 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3590 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3593 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3601 #include <wx/dcbuffer.h>
3604 #include <wx/dcps.h>
3607 #include <wx/metafile.h>
3610 #include <wx/graphics.h>
3613 #if !wxUSE_GRAPHICS_CONTEXT
3614 // C++ stub classes for platforms or build configurations that don't have
3615 // wxGraphicsContext yet.
3617 class wxGraphicsRenderer
;
3618 class wxGraphicsMatrix
;
3621 class wxGraphicsObject
: public wxObject
3624 wxGraphicsObject() {}
3625 wxGraphicsObject( wxGraphicsRenderer
* ) {
3626 PyErr_SetString(PyExc_NotImplementedError
,
3627 "wx.GraphicsObject is not available on this platform.");
3629 wxGraphicsObject( const wxGraphicsObject
& ) {}
3630 virtual ~wxGraphicsObject() {}
3631 bool IsNull() const { return false; }
3632 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3637 class wxGraphicsPen
: public wxGraphicsObject
3641 virtual ~wxGraphicsPen() {}
3643 wxGraphicsPen wxNullGraphicsPen
;
3647 class wxGraphicsBrush
: public wxGraphicsObject
3650 wxGraphicsBrush() {}
3651 virtual ~wxGraphicsBrush() {}
3653 wxGraphicsBrush wxNullGraphicsBrush
;
3657 class wxGraphicsFont
: public wxGraphicsObject
3661 virtual ~wxGraphicsFont() {}
3663 wxGraphicsFont wxNullGraphicsFont
;
3667 class wxGraphicsPath
: public wxGraphicsObject
3670 wxGraphicsPath() { }
3671 wxGraphicsPath(wxGraphicsRenderer
* ) {
3672 PyErr_SetString(PyExc_NotImplementedError
,
3673 "wx.GraphicsPath is not available on this platform.");
3675 virtual ~wxGraphicsPath() {}
3677 void MoveToPoint( wxDouble
, wxDouble
) {}
3678 void MoveToPoint( const wxPoint2DDouble
& ) {}
3679 void AddLineToPoint( wxDouble
, wxDouble
) {}
3680 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3681 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3682 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3683 void AddPath( const wxGraphicsPath
& ) {}
3684 void CloseSubpath() {}
3685 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3686 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3687 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3688 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3690 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3691 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3692 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3693 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3695 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3696 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3697 void * GetNativePath() const { return NULL
; }
3698 void UnGetNativePath(void *) const {}
3699 void Transform( const wxGraphicsMatrix
& ) {}
3700 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3701 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3703 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3704 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3706 wxGraphicsPath wxNullGraphicsPath
;
3709 class wxGraphicsMatrix
: public wxGraphicsObject
3712 wxGraphicsMatrix() { }
3713 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3714 PyErr_SetString(PyExc_NotImplementedError
,
3715 "wx.GraphicsMatrix is not available on this platform.");
3717 virtual ~wxGraphicsMatrix() {}
3718 virtual void Concat( const wxGraphicsMatrix
& ) {}
3719 virtual void Copy( const wxGraphicsMatrix
& ) {}
3720 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3721 wxDouble
, wxDouble
) {}
3722 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3723 wxDouble
*, wxDouble
*, wxDouble
*) {}
3724 virtual void Invert() {}
3725 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3726 virtual bool IsIdentity() const { return false; }
3727 virtual void Translate( wxDouble
, wxDouble
) {}
3728 virtual void Scale( wxDouble
, wxDouble
) {}
3729 virtual void Rotate( wxDouble
) {}
3730 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3731 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3732 virtual void * GetNativeMatrix() const { return NULL
; }
3734 wxGraphicsMatrix wxNullGraphicsMatrix
;
3737 class wxGraphicsContext
: public wxGraphicsObject
3741 wxGraphicsContext(wxGraphicsRenderer
* ) {
3742 PyErr_SetString(PyExc_NotImplementedError
,
3743 "wx.GraphicsContext is not available on this platform.");
3746 virtual ~wxGraphicsContext() {}
3748 static wxGraphicsContext
* Create() {
3749 PyErr_SetString(PyExc_NotImplementedError
,
3750 "wx.GraphicsContext is not available on this platform.");
3753 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3754 PyErr_SetString(PyExc_NotImplementedError
,
3755 "wx.GraphicsContext is not available on this platform.");
3759 static wxGraphicsContext
* CreateFromNative( void * ) {
3760 PyErr_SetString(PyExc_NotImplementedError
,
3761 "wx.GraphicsContext is not available on this platform.");
3765 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3766 PyErr_SetString(PyExc_NotImplementedError
,
3767 "wx.GraphicsContext is not available on this platform.");
3771 static wxGraphicsContext
* Create( wxWindow
* ) {
3772 PyErr_SetString(PyExc_NotImplementedError
,
3773 "wx.GraphicsContext is not available on this platform.");
3777 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3779 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3781 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3783 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3784 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3786 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3787 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3788 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3790 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3792 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3793 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3795 virtual void PushState() {}
3796 virtual void PopState() {}
3797 virtual void Clip( const wxRegion
& ) {}
3798 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3799 virtual void ResetClip() {}
3800 virtual void * GetNativeContext() { return NULL
; }
3801 virtual int GetLogicalFunction() const { return 0; }
3802 virtual bool SetLogicalFunction(int ) {}
3803 virtual void Translate( wxDouble
, wxDouble
) {}
3804 virtual void Scale( wxDouble
, wxDouble
) {}
3805 virtual void Rotate( wxDouble
) {}
3806 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3807 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3808 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3810 virtual void SetPen( const wxGraphicsPen
& ) {}
3811 void SetPen( const wxPen
& ) {}
3813 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3814 void SetBrush( const wxBrush
& ) {}
3816 virtual void SetFont( const wxGraphicsFont
& ) {}
3817 void SetFont( const wxFont
&, const wxColour
& ) {}
3819 virtual void StrokePath( const wxGraphicsPath
& ) {}
3820 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3821 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3823 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3824 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3825 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3826 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3827 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3828 wxDouble
*, wxDouble
* ) const {}
3829 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3831 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3832 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3834 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3835 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3836 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3837 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3838 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3839 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3840 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3841 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3842 virtual bool ShouldOffset() const { return false; }
3846 class wxGraphicsRenderer
: public wxObject
3849 wxGraphicsRenderer() {
3850 PyErr_SetString(PyExc_NotImplementedError
,
3851 "wx.GraphicsRenderer is not available on this platform.");
3854 virtual ~wxGraphicsRenderer() {}
3856 static wxGraphicsRenderer
* GetDefaultRenderer() {
3857 PyErr_SetString(PyExc_NotImplementedError
,
3858 "wx.GraphicsRenderer is not available on this platform.");
3862 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3863 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3864 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3865 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3866 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3868 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3870 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3871 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3873 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3874 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3875 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3876 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3877 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3878 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3879 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3884 class wxGCDC
: public wxWindowDC
3887 wxGCDC(const wxWindowDC
&) {
3888 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3889 PyErr_SetString(PyExc_NotImplementedError
,
3890 "wxGCDC is not available on this platform.");
3891 wxPyEndBlockThreads(blocked
);
3894 wxGCDC(const wxWindow
*) {
3895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3896 PyErr_SetString(PyExc_NotImplementedError
,
3897 "wxGCDC is not available on this platform.");
3898 wxPyEndBlockThreads(blocked
);
3902 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3903 PyErr_SetString(PyExc_NotImplementedError
,
3904 "wxGCDC is not available on this platform.");
3905 wxPyEndBlockThreads(blocked
);
3908 virtual ~wxGCDC() {}
3910 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3911 void SetGraphicsContext( wxGraphicsContext
* ) {}
3916 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3917 if ( !backgroundBrush
.IsNull() )
3918 self
->DrawText(str
, x
, y
, backgroundBrush
);
3920 self
->DrawText(str
, x
, y
);
3922 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3923 if ( !backgroundBrush
.IsNull() )
3924 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3926 self
->DrawText(str
, x
, y
, angle
);
3928 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3929 wxDouble width
= 0.0,
3931 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3932 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3933 PyObject
* rv
= PyTuple_New(2);
3934 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3935 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3938 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3939 wxArrayDouble widths
;
3940 self
->GetPartialTextExtents(text
, widths
);
3943 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3944 size_t c1
, c2
, count
;
3945 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3946 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3948 if ( beginP
!= NULL
&& endP
!= NULL
)
3950 count
= wxMin(c1
, c2
);
3951 self
->StrokeLines(count
, beginP
, endP
);
3957 #include "wx/dcgraph.h"
3960 #include <wx/overlay.h>
3964 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3965 self
->AddColour(name
, wxColour(red
, green
, blue
));
3968 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3969 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3970 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3971 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3974 #include <wx/effects.h>
3977 #include "wx/renderer.h"
3980 SWIGINTERNINLINE PyObject
*
3981 SWIG_From_bool (bool value
)
3983 return PyBool_FromLong(value
? 1 : 0);
3987 #include "wx/wxPython/pseudodc.h"
3989 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3991 self
->GetIdBounds(id
, rect
);
3997 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3998 PyObject
*resultobj
= 0;
3999 wxGDIObject
*result
= 0 ;
4001 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4003 if (!wxPyCheckForApp()) SWIG_fail
;
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 result
= (wxGDIObject
*)new wxGDIObject();
4006 wxPyEndAllowThreads(__tstate
);
4007 if (PyErr_Occurred()) SWIG_fail
;
4009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4016 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4017 PyObject
*resultobj
= 0;
4018 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4021 PyObject
*swig_obj
[1] ;
4023 if (!args
) SWIG_fail
;
4025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4026 if (!SWIG_IsOK(res1
)) {
4027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4029 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= SWIG_Py_Void();
4044 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4045 PyObject
*resultobj
= 0;
4046 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4050 PyObject
*swig_obj
[1] ;
4052 if (!args
) SWIG_fail
;
4054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4055 if (!SWIG_IsOK(res1
)) {
4056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4058 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 result
= (bool)(arg1
)->IsNull();
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4074 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4076 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4077 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4078 return SWIG_Py_Void();
4081 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4082 return SWIG_Python_InitShadowInstance(args
);
4085 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
*resultobj
= 0;
4087 byte arg1
= (byte
) 0 ;
4088 byte arg2
= (byte
) 0 ;
4089 byte arg3
= (byte
) 0 ;
4090 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4091 wxColour
*result
= 0 ;
4092 unsigned char val1
;
4094 unsigned char val2
;
4096 unsigned char val3
;
4098 unsigned char val4
;
4100 PyObject
* obj0
= 0 ;
4101 PyObject
* obj1
= 0 ;
4102 PyObject
* obj2
= 0 ;
4103 PyObject
* obj3
= 0 ;
4104 char * kwnames
[] = {
4105 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4110 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4111 if (!SWIG_IsOK(ecode1
)) {
4112 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4114 arg1
= static_cast< byte
>(val1
);
4117 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4118 if (!SWIG_IsOK(ecode2
)) {
4119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4121 arg2
= static_cast< byte
>(val2
);
4124 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4125 if (!SWIG_IsOK(ecode3
)) {
4126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4128 arg3
= static_cast< byte
>(val3
);
4131 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4132 if (!SWIG_IsOK(ecode4
)) {
4133 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4135 arg4
= static_cast< byte
>(val4
);
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) SWIG_fail
;
4143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4150 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
*resultobj
= 0;
4152 wxString
*arg1
= 0 ;
4153 wxColour
*result
= 0 ;
4154 bool temp1
= false ;
4155 PyObject
* obj0
= 0 ;
4156 char * kwnames
[] = {
4157 (char *) "colorName", NULL
4160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4162 arg1
= wxString_in_helper(obj0
);
4163 if (arg1
== NULL
) SWIG_fail
;
4167 if (!wxPyCheckForApp()) SWIG_fail
;
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4188 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
= 0;
4190 unsigned long arg1
;
4191 wxColour
*result
= 0 ;
4192 unsigned long val1
;
4194 PyObject
* obj0
= 0 ;
4195 char * kwnames
[] = {
4196 (char *) "colRGB", NULL
4199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4200 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4201 if (!SWIG_IsOK(ecode1
)) {
4202 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4204 arg1
= static_cast< unsigned long >(val1
);
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 result
= (wxColour
*)new wxColour(arg1
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4218 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4219 PyObject
*resultobj
= 0;
4220 wxColour
*arg1
= (wxColour
*) 0 ;
4223 PyObject
*swig_obj
[1] ;
4225 if (!args
) SWIG_fail
;
4227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4228 if (!SWIG_IsOK(res1
)) {
4229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4231 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4239 resultobj
= SWIG_Py_Void();
4246 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4247 PyObject
*resultobj
= 0;
4248 wxColour
*arg1
= (wxColour
*) 0 ;
4252 PyObject
*swig_obj
[1] ;
4254 if (!args
) SWIG_fail
;
4256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4257 if (!SWIG_IsOK(res1
)) {
4258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4260 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 result
= (byte
)(arg1
)->Red();
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4267 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4274 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4275 PyObject
*resultobj
= 0;
4276 wxColour
*arg1
= (wxColour
*) 0 ;
4280 PyObject
*swig_obj
[1] ;
4282 if (!args
) SWIG_fail
;
4284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4285 if (!SWIG_IsOK(res1
)) {
4286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4288 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 result
= (byte
)(arg1
)->Green();
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4295 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4302 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4303 PyObject
*resultobj
= 0;
4304 wxColour
*arg1
= (wxColour
*) 0 ;
4308 PyObject
*swig_obj
[1] ;
4310 if (!args
) SWIG_fail
;
4312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4313 if (!SWIG_IsOK(res1
)) {
4314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4316 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4319 result
= (byte
)(arg1
)->Blue();
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4323 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4330 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4331 PyObject
*resultobj
= 0;
4332 wxColour
*arg1
= (wxColour
*) 0 ;
4336 PyObject
*swig_obj
[1] ;
4338 if (!args
) SWIG_fail
;
4340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4341 if (!SWIG_IsOK(res1
)) {
4342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4344 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 result
= (byte
)(arg1
)->Alpha();
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) SWIG_fail
;
4351 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4358 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4359 PyObject
*resultobj
= 0;
4360 wxColour
*arg1
= (wxColour
*) 0 ;
4364 PyObject
*swig_obj
[1] ;
4366 if (!args
) SWIG_fail
;
4368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4369 if (!SWIG_IsOK(res1
)) {
4370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4372 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 result
= (bool)(arg1
)->IsOk();
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4388 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
*resultobj
= 0;
4390 wxColour
*arg1
= (wxColour
*) 0 ;
4394 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4397 unsigned char val2
;
4399 unsigned char val3
;
4401 unsigned char val4
;
4403 unsigned char val5
;
4405 PyObject
* obj0
= 0 ;
4406 PyObject
* obj1
= 0 ;
4407 PyObject
* obj2
= 0 ;
4408 PyObject
* obj3
= 0 ;
4409 PyObject
* obj4
= 0 ;
4410 char * kwnames
[] = {
4411 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4416 if (!SWIG_IsOK(res1
)) {
4417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4419 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4420 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4421 if (!SWIG_IsOK(ecode2
)) {
4422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4424 arg2
= static_cast< byte
>(val2
);
4425 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4426 if (!SWIG_IsOK(ecode3
)) {
4427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4429 arg3
= static_cast< byte
>(val3
);
4430 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4431 if (!SWIG_IsOK(ecode4
)) {
4432 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4434 arg4
= static_cast< byte
>(val4
);
4436 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4437 if (!SWIG_IsOK(ecode5
)) {
4438 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4440 arg5
= static_cast< byte
>(val5
);
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4448 resultobj
= SWIG_Py_Void();
4455 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
*resultobj
= 0;
4457 wxColour
*arg1
= (wxColour
*) 0 ;
4458 unsigned long arg2
;
4461 unsigned long val2
;
4463 PyObject
* obj0
= 0 ;
4464 PyObject
* obj1
= 0 ;
4465 char * kwnames
[] = {
4466 (char *) "self",(char *) "colRGB", NULL
4469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4471 if (!SWIG_IsOK(res1
)) {
4472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4474 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4475 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4476 if (!SWIG_IsOK(ecode2
)) {
4477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4479 arg2
= static_cast< unsigned long >(val2
);
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 resultobj
= SWIG_Py_Void();
4493 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
= 0;
4495 wxColour
*arg1
= (wxColour
*) 0 ;
4496 wxString
*arg2
= 0 ;
4499 bool temp2
= false ;
4500 PyObject
* obj0
= 0 ;
4501 PyObject
* obj1
= 0 ;
4502 char * kwnames
[] = {
4503 (char *) "self",(char *) "colourName", NULL
4506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4508 if (!SWIG_IsOK(res1
)) {
4509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4511 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4513 arg2
= wxString_in_helper(obj1
);
4514 if (arg2
== NULL
) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 (arg1
)->Set((wxString
const &)*arg2
);
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4523 resultobj
= SWIG_Py_Void();
4538 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
*resultobj
= 0;
4540 wxColour
*arg1
= (wxColour
*) 0 ;
4541 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4547 PyObject
* obj0
= 0 ;
4548 PyObject
* obj1
= 0 ;
4549 char * kwnames
[] = {
4550 (char *) "self",(char *) "flags", NULL
4553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4555 if (!SWIG_IsOK(res1
)) {
4556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4558 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4560 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4561 if (!SWIG_IsOK(ecode2
)) {
4562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4564 arg2
= static_cast< long >(val2
);
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4585 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4586 PyObject
*resultobj
= 0;
4587 wxColour
*arg1
= (wxColour
*) 0 ;
4591 PyObject
*swig_obj
[1] ;
4593 if (!args
) SWIG_fail
;
4595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4596 if (!SWIG_IsOK(res1
)) {
4597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4599 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4606 resultobj
= SWIG_From_long(static_cast< long >(result
));
4613 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
*resultobj
= 0;
4615 wxColour
*arg1
= (wxColour
*) 0 ;
4616 PyObject
*arg2
= (PyObject
*) 0 ;
4620 PyObject
* obj0
= 0 ;
4621 PyObject
* obj1
= 0 ;
4622 char * kwnames
[] = {
4623 (char *) "self",(char *) "other", NULL
4626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4628 if (!SWIG_IsOK(res1
)) {
4629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4631 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4634 result
= (bool)wxColour___eq__(arg1
,arg2
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4646 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
*resultobj
= 0;
4648 wxColour
*arg1
= (wxColour
*) 0 ;
4649 PyObject
*arg2
= (PyObject
*) 0 ;
4653 PyObject
* obj0
= 0 ;
4654 PyObject
* obj1
= 0 ;
4655 char * kwnames
[] = {
4656 (char *) "self",(char *) "other", NULL
4659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4661 if (!SWIG_IsOK(res1
)) {
4662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4664 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4667 result
= (bool)wxColour___ne__(arg1
,arg2
);
4668 if (PyErr_Occurred()) SWIG_fail
;
4671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4679 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
*resultobj
= 0;
4681 wxColour
*arg1
= (wxColour
*) 0 ;
4682 bool arg2
= (bool) false ;
4683 PyObject
*result
= 0 ;
4688 PyObject
* obj0
= 0 ;
4689 PyObject
* obj1
= 0 ;
4690 char * kwnames
[] = {
4691 (char *) "self",(char *) "includeAlpha", NULL
4694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4696 if (!SWIG_IsOK(res1
)) {
4697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4699 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4701 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4702 if (!SWIG_IsOK(ecode2
)) {
4703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4705 arg2
= static_cast< bool >(val2
);
4708 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4718 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4719 PyObject
*resultobj
= 0;
4720 wxColour
*arg1
= (wxColour
*) 0 ;
4721 unsigned long result
;
4724 PyObject
*swig_obj
[1] ;
4726 if (!args
) SWIG_fail
;
4728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4729 if (!SWIG_IsOK(res1
)) {
4730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4732 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4734 result
= (unsigned long)wxColour_GetRGB(arg1
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4737 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4744 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4747 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4748 return SWIG_Py_Void();
4751 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4752 return SWIG_Python_InitShadowInstance(args
);
4755 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
*resultobj
= 0;
4758 unsigned char *arg2
= (unsigned char *) 0 ;
4759 unsigned char *arg3
= (unsigned char *) 0 ;
4760 unsigned char *arg4
= (unsigned char *) 0 ;
4761 wxPalette
*result
= 0 ;
4770 PyObject
* obj0
= 0 ;
4771 PyObject
* obj1
= 0 ;
4772 PyObject
* obj2
= 0 ;
4773 PyObject
* obj3
= 0 ;
4774 char * kwnames
[] = {
4775 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4779 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4780 if (!SWIG_IsOK(ecode1
)) {
4781 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4783 arg1
= static_cast< int >(val1
);
4784 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4785 if (!SWIG_IsOK(res2
)) {
4786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4788 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4789 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4790 if (!SWIG_IsOK(res3
)) {
4791 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4793 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4794 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4795 if (!SWIG_IsOK(res4
)) {
4796 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4798 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4800 if (!wxPyCheckForApp()) SWIG_fail
;
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4813 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4814 PyObject
*resultobj
= 0;
4815 wxPalette
*arg1
= (wxPalette
*) 0 ;
4818 PyObject
*swig_obj
[1] ;
4820 if (!args
) SWIG_fail
;
4822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4823 if (!SWIG_IsOK(res1
)) {
4824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4826 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 resultobj
= SWIG_Py_Void();
4841 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
= 0;
4843 wxPalette
*arg1
= (wxPalette
*) 0 ;
4850 unsigned char val2
;
4852 unsigned char val3
;
4854 unsigned char val4
;
4856 PyObject
* obj0
= 0 ;
4857 PyObject
* obj1
= 0 ;
4858 PyObject
* obj2
= 0 ;
4859 PyObject
* obj3
= 0 ;
4860 char * kwnames
[] = {
4861 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4866 if (!SWIG_IsOK(res1
)) {
4867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4869 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4870 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4871 if (!SWIG_IsOK(ecode2
)) {
4872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4874 arg2
= static_cast< byte
>(val2
);
4875 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4876 if (!SWIG_IsOK(ecode3
)) {
4877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4879 arg3
= static_cast< byte
>(val3
);
4880 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4881 if (!SWIG_IsOK(ecode4
)) {
4882 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4884 arg4
= static_cast< byte
>(val4
);
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 resultobj
= SWIG_From_int(static_cast< int >(result
));
4898 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
*resultobj
= 0;
4900 wxPalette
*arg1
= (wxPalette
*) 0 ;
4902 byte
*arg3
= (byte
*) 0 ;
4903 byte
*arg4
= (byte
*) 0 ;
4904 byte
*arg5
= (byte
*) 0 ;
4911 int res3
= SWIG_TMPOBJ
;
4913 int res4
= SWIG_TMPOBJ
;
4915 int res5
= SWIG_TMPOBJ
;
4916 PyObject
* obj0
= 0 ;
4917 PyObject
* obj1
= 0 ;
4918 char * kwnames
[] = {
4919 (char *) "self",(char *) "pixel", NULL
4925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4927 if (!SWIG_IsOK(res1
)) {
4928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4930 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4932 if (!SWIG_IsOK(ecode2
)) {
4933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4935 arg2
= static_cast< int >(val2
);
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4945 if (SWIG_IsTmpObj(res3
)) {
4946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4948 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4951 if (SWIG_IsTmpObj(res4
)) {
4952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4954 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4957 if (SWIG_IsTmpObj(res5
)) {
4958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4960 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4969 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4970 PyObject
*resultobj
= 0;
4971 wxPalette
*arg1
= (wxPalette
*) 0 ;
4975 PyObject
*swig_obj
[1] ;
4977 if (!args
) SWIG_fail
;
4979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4980 if (!SWIG_IsOK(res1
)) {
4981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4983 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= SWIG_From_int(static_cast< int >(result
));
4997 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4998 PyObject
*resultobj
= 0;
4999 wxPalette
*arg1
= (wxPalette
*) 0 ;
5003 PyObject
*swig_obj
[1] ;
5005 if (!args
) SWIG_fail
;
5007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5008 if (!SWIG_IsOK(res1
)) {
5009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5011 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 result
= (bool)(arg1
)->IsOk();
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5027 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5030 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5031 return SWIG_Py_Void();
5034 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5035 return SWIG_Python_InitShadowInstance(args
);
5038 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
*resultobj
= 0;
5040 wxColour
*arg1
= 0 ;
5041 int arg2
= (int) 1 ;
5042 int arg3
= (int) wxSOLID
;
5049 PyObject
* obj0
= 0 ;
5050 PyObject
* obj1
= 0 ;
5051 PyObject
* obj2
= 0 ;
5052 char * kwnames
[] = {
5053 (char *) "colour",(char *) "width",(char *) "style", NULL
5056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5059 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5063 if (!SWIG_IsOK(ecode2
)) {
5064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5066 arg2
= static_cast< int >(val2
);
5069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5070 if (!SWIG_IsOK(ecode3
)) {
5071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5073 arg3
= static_cast< int >(val3
);
5076 if (!wxPyCheckForApp()) SWIG_fail
;
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5089 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5090 PyObject
*resultobj
= 0;
5091 wxPen
*arg1
= (wxPen
*) 0 ;
5094 PyObject
*swig_obj
[1] ;
5096 if (!args
) SWIG_fail
;
5098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5099 if (!SWIG_IsOK(res1
)) {
5100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5102 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= SWIG_Py_Void();
5117 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5118 PyObject
*resultobj
= 0;
5119 wxPen
*arg1
= (wxPen
*) 0 ;
5123 PyObject
*swig_obj
[1] ;
5125 if (!args
) SWIG_fail
;
5127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5128 if (!SWIG_IsOK(res1
)) {
5129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5131 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 result
= (int)(arg1
)->GetCap();
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= SWIG_From_int(static_cast< int >(result
));
5145 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5146 PyObject
*resultobj
= 0;
5147 wxPen
*arg1
= (wxPen
*) 0 ;
5151 PyObject
*swig_obj
[1] ;
5153 if (!args
) SWIG_fail
;
5155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5156 if (!SWIG_IsOK(res1
)) {
5157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5159 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 result
= (arg1
)->GetColour();
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5166 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5173 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5174 PyObject
*resultobj
= 0;
5175 wxPen
*arg1
= (wxPen
*) 0 ;
5179 PyObject
*swig_obj
[1] ;
5181 if (!args
) SWIG_fail
;
5183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5184 if (!SWIG_IsOK(res1
)) {
5185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5187 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 result
= (int)(arg1
)->GetJoin();
5191 wxPyEndAllowThreads(__tstate
);
5192 if (PyErr_Occurred()) SWIG_fail
;
5194 resultobj
= SWIG_From_int(static_cast< int >(result
));
5201 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5202 PyObject
*resultobj
= 0;
5203 wxPen
*arg1
= (wxPen
*) 0 ;
5207 PyObject
*swig_obj
[1] ;
5209 if (!args
) SWIG_fail
;
5211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5212 if (!SWIG_IsOK(res1
)) {
5213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5215 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 result
= (int)(arg1
)->GetStyle();
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5222 resultobj
= SWIG_From_int(static_cast< int >(result
));
5229 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5230 PyObject
*resultobj
= 0;
5231 wxPen
*arg1
= (wxPen
*) 0 ;
5235 PyObject
*swig_obj
[1] ;
5237 if (!args
) SWIG_fail
;
5239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5240 if (!SWIG_IsOK(res1
)) {
5241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5243 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 result
= (int)(arg1
)->GetWidth();
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 resultobj
= SWIG_From_int(static_cast< int >(result
));
5257 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5258 PyObject
*resultobj
= 0;
5259 wxPen
*arg1
= (wxPen
*) 0 ;
5263 PyObject
*swig_obj
[1] ;
5265 if (!args
) SWIG_fail
;
5267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5268 if (!SWIG_IsOK(res1
)) {
5269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5271 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 result
= (bool)(arg1
)->IsOk();
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5287 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
= 0;
5289 wxPen
*arg1
= (wxPen
*) 0 ;
5295 PyObject
* obj0
= 0 ;
5296 PyObject
* obj1
= 0 ;
5297 char * kwnames
[] = {
5298 (char *) "self",(char *) "cap_style", NULL
5301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5303 if (!SWIG_IsOK(res1
)) {
5304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5306 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5308 if (!SWIG_IsOK(ecode2
)) {
5309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5311 arg2
= static_cast< int >(val2
);
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 (arg1
)->SetCap(arg2
);
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5318 resultobj
= SWIG_Py_Void();
5325 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5326 PyObject
*resultobj
= 0;
5327 wxPen
*arg1
= (wxPen
*) 0 ;
5328 wxColour
*arg2
= 0 ;
5332 PyObject
* obj0
= 0 ;
5333 PyObject
* obj1
= 0 ;
5334 char * kwnames
[] = {
5335 (char *) "self",(char *) "colour", NULL
5338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5340 if (!SWIG_IsOK(res1
)) {
5341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5343 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5346 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 (arg1
)->SetColour(*arg2
);
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 resultobj
= SWIG_Py_Void();
5361 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
= 0;
5363 wxPen
*arg1
= (wxPen
*) 0 ;
5369 PyObject
* obj0
= 0 ;
5370 PyObject
* obj1
= 0 ;
5371 char * kwnames
[] = {
5372 (char *) "self",(char *) "join_style", NULL
5375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5377 if (!SWIG_IsOK(res1
)) {
5378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5380 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5382 if (!SWIG_IsOK(ecode2
)) {
5383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5385 arg2
= static_cast< int >(val2
);
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5388 (arg1
)->SetJoin(arg2
);
5389 wxPyEndAllowThreads(__tstate
);
5390 if (PyErr_Occurred()) SWIG_fail
;
5392 resultobj
= SWIG_Py_Void();
5399 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
*resultobj
= 0;
5401 wxPen
*arg1
= (wxPen
*) 0 ;
5407 PyObject
* obj0
= 0 ;
5408 PyObject
* obj1
= 0 ;
5409 char * kwnames
[] = {
5410 (char *) "self",(char *) "style", NULL
5413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5415 if (!SWIG_IsOK(res1
)) {
5416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5418 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5420 if (!SWIG_IsOK(ecode2
)) {
5421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5423 arg2
= static_cast< int >(val2
);
5425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5426 (arg1
)->SetStyle(arg2
);
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5430 resultobj
= SWIG_Py_Void();
5437 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
*resultobj
= 0;
5439 wxPen
*arg1
= (wxPen
*) 0 ;
5445 PyObject
* obj0
= 0 ;
5446 PyObject
* obj1
= 0 ;
5447 char * kwnames
[] = {
5448 (char *) "self",(char *) "width", NULL
5451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5453 if (!SWIG_IsOK(res1
)) {
5454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5456 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5458 if (!SWIG_IsOK(ecode2
)) {
5459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5461 arg2
= static_cast< int >(val2
);
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 (arg1
)->SetWidth(arg2
);
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 resultobj
= SWIG_Py_Void();
5475 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
= 0;
5477 wxPen
*arg1
= (wxPen
*) 0 ;
5479 wxDash
*arg3
= (wxDash
*) 0 ;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5484 char * kwnames
[] = {
5485 (char *) "self",(char *) "dashes", NULL
5488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5490 if (!SWIG_IsOK(res1
)) {
5491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5493 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5495 arg2
= PyList_Size(obj1
);
5496 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5497 if (arg3
== NULL
) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 (arg1
)->SetDashes(arg2
,arg3
);
5502 wxPyEndAllowThreads(__tstate
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5505 resultobj
= SWIG_Py_Void();
5507 if (arg3
) delete [] arg3
;
5512 if (arg3
) delete [] arg3
;
5518 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5519 PyObject
*resultobj
= 0;
5520 wxPen
*arg1
= (wxPen
*) 0 ;
5521 PyObject
*result
= 0 ;
5524 PyObject
*swig_obj
[1] ;
5526 if (!args
) SWIG_fail
;
5528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5529 if (!SWIG_IsOK(res1
)) {
5530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5532 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5546 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
= 0;
5548 wxPen
*arg1
= (wxPen
*) 0 ;
5549 PyObject
*arg2
= (PyObject
*) 0 ;
5550 PyObject
*arg3
= (PyObject
*) 0 ;
5553 PyObject
* obj0
= 0 ;
5554 PyObject
* obj1
= 0 ;
5555 PyObject
* obj2
= 0 ;
5556 char * kwnames
[] = {
5557 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5562 if (!SWIG_IsOK(res1
)) {
5563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5565 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 wxPen__SetDashes(arg1
,arg2
,arg3
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 resultobj
= SWIG_Py_Void();
5581 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5582 PyObject
*resultobj
= 0;
5583 wxPen
*arg1
= (wxPen
*) 0 ;
5587 PyObject
*swig_obj
[1] ;
5589 if (!args
) SWIG_fail
;
5591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5592 if (!SWIG_IsOK(res1
)) {
5593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5595 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5602 resultobj
= SWIG_From_int(static_cast< int >(result
));
5609 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5610 PyObject
*resultobj
= 0;
5611 wxPen
*arg1
= (wxPen
*) 0 ;
5612 wxBitmap
*result
= 0 ;
5615 PyObject
*swig_obj
[1] ;
5617 if (!args
) SWIG_fail
;
5619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5620 if (!SWIG_IsOK(res1
)) {
5621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5623 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 result
= (wxBitmap
*)(arg1
)->GetStipple();
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5637 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
= 0;
5639 wxPen
*arg1
= (wxPen
*) 0 ;
5640 wxBitmap
*arg2
= 0 ;
5645 PyObject
* obj0
= 0 ;
5646 PyObject
* obj1
= 0 ;
5647 char * kwnames
[] = {
5648 (char *) "self",(char *) "stipple", NULL
5651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5653 if (!SWIG_IsOK(res1
)) {
5654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5656 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5657 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5658 if (!SWIG_IsOK(res2
)) {
5659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5664 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 (arg1
)->SetStipple(*arg2
);
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5671 resultobj
= SWIG_Py_Void();
5678 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
= 0;
5680 wxPen
*arg1
= (wxPen
*) 0 ;
5681 wxPen
*arg2
= (wxPen
*) 0 ;
5687 PyObject
* obj0
= 0 ;
5688 PyObject
* obj1
= 0 ;
5689 char * kwnames
[] = {
5690 (char *) "self",(char *) "other", NULL
5693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5695 if (!SWIG_IsOK(res1
)) {
5696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5698 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5699 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5700 if (!SWIG_IsOK(res2
)) {
5701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5703 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5719 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
= 0;
5721 wxPen
*arg1
= (wxPen
*) 0 ;
5722 wxPen
*arg2
= (wxPen
*) 0 ;
5728 PyObject
* obj0
= 0 ;
5729 PyObject
* obj1
= 0 ;
5730 char * kwnames
[] = {
5731 (char *) "self",(char *) "other", NULL
5734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5736 if (!SWIG_IsOK(res1
)) {
5737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5739 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5740 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5741 if (!SWIG_IsOK(res2
)) {
5742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5744 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5760 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5763 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5764 return SWIG_Py_Void();
5767 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5768 return SWIG_Python_InitShadowInstance(args
);
5771 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
= 0;
5773 wxColour
*arg1
= 0 ;
5774 int arg2
= (int) wxSOLID
;
5775 wxBrush
*result
= 0 ;
5779 PyObject
* obj0
= 0 ;
5780 PyObject
* obj1
= 0 ;
5781 char * kwnames
[] = {
5782 (char *) "colour",(char *) "style", NULL
5785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5788 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5792 if (!SWIG_IsOK(ecode2
)) {
5793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5795 arg2
= static_cast< int >(val2
);
5798 if (!wxPyCheckForApp()) SWIG_fail
;
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5811 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
= 0;
5813 wxBitmap
*arg1
= 0 ;
5814 wxBrush
*result
= 0 ;
5817 PyObject
* obj0
= 0 ;
5818 char * kwnames
[] = {
5819 (char *) "stippleBitmap", NULL
5822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5823 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5824 if (!SWIG_IsOK(res1
)) {
5825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5830 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5832 if (!wxPyCheckForApp()) SWIG_fail
;
5833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5834 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5835 wxPyEndAllowThreads(__tstate
);
5836 if (PyErr_Occurred()) SWIG_fail
;
5838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5845 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5846 PyObject
*resultobj
= 0;
5847 wxBrush
*arg1
= (wxBrush
*) 0 ;
5850 PyObject
*swig_obj
[1] ;
5852 if (!args
) SWIG_fail
;
5854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5855 if (!SWIG_IsOK(res1
)) {
5856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5858 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 resultobj
= SWIG_Py_Void();
5873 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
= 0;
5875 wxBrush
*arg1
= (wxBrush
*) 0 ;
5876 wxColour
*arg2
= 0 ;
5880 PyObject
* obj0
= 0 ;
5881 PyObject
* obj1
= 0 ;
5882 char * kwnames
[] = {
5883 (char *) "self",(char *) "col", NULL
5886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5888 if (!SWIG_IsOK(res1
)) {
5889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5891 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5894 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 (arg1
)->SetColour((wxColour
const &)*arg2
);
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= SWIG_Py_Void();
5909 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5910 PyObject
*resultobj
= 0;
5911 wxBrush
*arg1
= (wxBrush
*) 0 ;
5917 PyObject
* obj0
= 0 ;
5918 PyObject
* obj1
= 0 ;
5919 char * kwnames
[] = {
5920 (char *) "self",(char *) "style", NULL
5923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5925 if (!SWIG_IsOK(res1
)) {
5926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5928 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5930 if (!SWIG_IsOK(ecode2
)) {
5931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5933 arg2
= static_cast< int >(val2
);
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 (arg1
)->SetStyle(arg2
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5940 resultobj
= SWIG_Py_Void();
5947 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
= 0;
5949 wxBrush
*arg1
= (wxBrush
*) 0 ;
5950 wxBitmap
*arg2
= 0 ;
5955 PyObject
* obj0
= 0 ;
5956 PyObject
* obj1
= 0 ;
5957 char * kwnames
[] = {
5958 (char *) "self",(char *) "stipple", NULL
5961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5963 if (!SWIG_IsOK(res1
)) {
5964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5966 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5967 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5968 if (!SWIG_IsOK(res2
)) {
5969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5974 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= SWIG_Py_Void();
5988 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5989 PyObject
*resultobj
= 0;
5990 wxBrush
*arg1
= (wxBrush
*) 0 ;
5994 PyObject
*swig_obj
[1] ;
5996 if (!args
) SWIG_fail
;
5998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5999 if (!SWIG_IsOK(res1
)) {
6000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
6002 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= ((wxBrush
const *)arg1
)->GetColour();
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
6016 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6017 PyObject
*resultobj
= 0;
6018 wxBrush
*arg1
= (wxBrush
*) 0 ;
6022 PyObject
*swig_obj
[1] ;
6024 if (!args
) SWIG_fail
;
6026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6027 if (!SWIG_IsOK(res1
)) {
6028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
6030 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= SWIG_From_int(static_cast< int >(result
));
6044 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6045 PyObject
*resultobj
= 0;
6046 wxBrush
*arg1
= (wxBrush
*) 0 ;
6047 wxBitmap
*result
= 0 ;
6050 PyObject
*swig_obj
[1] ;
6052 if (!args
) SWIG_fail
;
6054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6055 if (!SWIG_IsOK(res1
)) {
6056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
6058 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
6072 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6073 PyObject
*resultobj
= 0;
6074 wxBrush
*arg1
= (wxBrush
*) 0 ;
6078 PyObject
*swig_obj
[1] ;
6080 if (!args
) SWIG_fail
;
6082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6083 if (!SWIG_IsOK(res1
)) {
6084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6086 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6102 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6103 PyObject
*resultobj
= 0;
6104 wxBrush
*arg1
= (wxBrush
*) 0 ;
6108 PyObject
*swig_obj
[1] ;
6110 if (!args
) SWIG_fail
;
6112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6113 if (!SWIG_IsOK(res1
)) {
6114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6116 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6119 result
= (bool)(arg1
)->IsOk();
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6132 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6135 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6136 return SWIG_Py_Void();
6139 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6140 return SWIG_Python_InitShadowInstance(args
);
6143 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
*resultobj
= 0;
6145 wxString
*arg1
= 0 ;
6146 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6147 wxBitmap
*result
= 0 ;
6148 bool temp1
= false ;
6151 PyObject
* obj0
= 0 ;
6152 PyObject
* obj1
= 0 ;
6153 char * kwnames
[] = {
6154 (char *) "name",(char *) "type", NULL
6157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6159 arg1
= wxString_in_helper(obj0
);
6160 if (arg1
== NULL
) SWIG_fail
;
6164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6165 if (!SWIG_IsOK(ecode2
)) {
6166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6168 arg2
= static_cast< wxBitmapType
>(val2
);
6171 if (!wxPyCheckForApp()) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6192 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6193 PyObject
*resultobj
= 0;
6194 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6197 PyObject
*swig_obj
[1] ;
6199 if (!args
) SWIG_fail
;
6201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6202 if (!SWIG_IsOK(res1
)) {
6203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6205 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= SWIG_Py_Void();
6218 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
= 0;
6222 int arg3
= (int) -1 ;
6223 wxBitmap
*result
= 0 ;
6230 PyObject
* obj0
= 0 ;
6231 PyObject
* obj1
= 0 ;
6232 PyObject
* obj2
= 0 ;
6233 char * kwnames
[] = {
6234 (char *) "width",(char *) "height",(char *) "depth", NULL
6237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6238 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6239 if (!SWIG_IsOK(ecode1
)) {
6240 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6242 arg1
= static_cast< int >(val1
);
6243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6244 if (!SWIG_IsOK(ecode2
)) {
6245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6247 arg2
= static_cast< int >(val2
);
6249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6250 if (!SWIG_IsOK(ecode3
)) {
6251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6253 arg3
= static_cast< int >(val3
);
6256 if (!wxPyCheckForApp()) SWIG_fail
;
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6269 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
= 0;
6272 wxBitmap
*result
= 0 ;
6275 PyObject
* obj0
= 0 ;
6276 char * kwnames
[] = {
6277 (char *) "icon", NULL
6280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6281 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6282 if (!SWIG_IsOK(res1
)) {
6283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6288 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6290 if (!wxPyCheckForApp()) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6303 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
= 0;
6306 int arg2
= (int) -1 ;
6307 wxBitmap
*result
= 0 ;
6312 PyObject
* obj0
= 0 ;
6313 PyObject
* obj1
= 0 ;
6314 char * kwnames
[] = {
6315 (char *) "image",(char *) "depth", NULL
6318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6319 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6320 if (!SWIG_IsOK(res1
)) {
6321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6326 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6329 if (!SWIG_IsOK(ecode2
)) {
6330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6332 arg2
= static_cast< int >(val2
);
6335 if (!wxPyCheckForApp()) SWIG_fail
;
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6338 wxPyEndAllowThreads(__tstate
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6348 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
*resultobj
= 0;
6350 PyObject
*arg1
= (PyObject
*) 0 ;
6351 wxBitmap
*result
= 0 ;
6352 PyObject
* obj0
= 0 ;
6353 char * kwnames
[] = {
6354 (char *) "listOfStrings", NULL
6357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6360 if (!wxPyCheckForApp()) SWIG_fail
;
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6373 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
= 0;
6375 PyObject
*arg1
= (PyObject
*) 0 ;
6378 int arg4
= (int) 1 ;
6379 wxBitmap
*result
= 0 ;
6386 PyObject
* obj0
= 0 ;
6387 PyObject
* obj1
= 0 ;
6388 PyObject
* obj2
= 0 ;
6389 PyObject
* obj3
= 0 ;
6390 char * kwnames
[] = {
6391 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6397 if (!SWIG_IsOK(ecode2
)) {
6398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6400 arg2
= static_cast< int >(val2
);
6401 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6402 if (!SWIG_IsOK(ecode3
)) {
6403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6405 arg3
= static_cast< int >(val3
);
6407 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6408 if (!SWIG_IsOK(ecode4
)) {
6409 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6411 arg4
= static_cast< int >(val4
);
6414 if (!wxPyCheckForApp()) SWIG_fail
;
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6427 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6428 PyObject
*resultobj
= 0;
6429 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6433 PyObject
*swig_obj
[1] ;
6435 if (!args
) SWIG_fail
;
6437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6438 if (!SWIG_IsOK(res1
)) {
6439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6441 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6443 result
= (long)(arg1
)->GetHandle();
6444 if (PyErr_Occurred()) SWIG_fail
;
6446 resultobj
= SWIG_From_long(static_cast< long >(result
));
6453 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
*resultobj
= 0;
6455 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6461 PyObject
* obj0
= 0 ;
6462 PyObject
* obj1
= 0 ;
6463 char * kwnames
[] = {
6464 (char *) "self",(char *) "handle", NULL
6467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6469 if (!SWIG_IsOK(res1
)) {
6470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6472 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6473 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6474 if (!SWIG_IsOK(ecode2
)) {
6475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6477 arg2
= static_cast< long >(val2
);
6479 wxBitmap_SetHandle(arg1
,arg2
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 resultobj
= SWIG_Py_Void();
6489 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6490 PyObject
*resultobj
= 0;
6491 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6495 PyObject
*swig_obj
[1] ;
6497 if (!args
) SWIG_fail
;
6499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6500 if (!SWIG_IsOK(res1
)) {
6501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6503 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6505 result
= (bool)(arg1
)->IsOk();
6506 if (PyErr_Occurred()) SWIG_fail
;
6509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6517 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6518 PyObject
*resultobj
= 0;
6519 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6523 PyObject
*swig_obj
[1] ;
6525 if (!args
) SWIG_fail
;
6527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6528 if (!SWIG_IsOK(res1
)) {
6529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6531 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6533 result
= (int)(arg1
)->GetWidth();
6534 if (PyErr_Occurred()) SWIG_fail
;
6536 resultobj
= SWIG_From_int(static_cast< int >(result
));
6543 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6544 PyObject
*resultobj
= 0;
6545 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6549 PyObject
*swig_obj
[1] ;
6551 if (!args
) SWIG_fail
;
6553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6554 if (!SWIG_IsOK(res1
)) {
6555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6557 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6559 result
= (int)(arg1
)->GetHeight();
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= SWIG_From_int(static_cast< int >(result
));
6569 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6570 PyObject
*resultobj
= 0;
6571 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6575 PyObject
*swig_obj
[1] ;
6577 if (!args
) SWIG_fail
;
6579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6580 if (!SWIG_IsOK(res1
)) {
6581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6583 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6585 result
= (int)(arg1
)->GetDepth();
6586 if (PyErr_Occurred()) SWIG_fail
;
6588 resultobj
= SWIG_From_int(static_cast< int >(result
));
6595 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6596 PyObject
*resultobj
= 0;
6597 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6601 PyObject
*swig_obj
[1] ;
6603 if (!args
) SWIG_fail
;
6605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6606 if (!SWIG_IsOK(res1
)) {
6607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6609 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6611 result
= wxBitmap_GetSize(arg1
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6621 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6622 PyObject
*resultobj
= 0;
6623 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6624 SwigValueWrapper
<wxImage
> result
;
6627 PyObject
*swig_obj
[1] ;
6629 if (!args
) SWIG_fail
;
6631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6632 if (!SWIG_IsOK(res1
)) {
6633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6635 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6637 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6647 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6648 PyObject
*resultobj
= 0;
6649 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6650 wxMask
*result
= 0 ;
6653 PyObject
*swig_obj
[1] ;
6655 if (!args
) SWIG_fail
;
6657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6658 if (!SWIG_IsOK(res1
)) {
6659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6661 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6663 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6664 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6673 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
*resultobj
= 0;
6675 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6676 wxMask
*arg2
= (wxMask
*) 0 ;
6680 PyObject
* obj0
= 0 ;
6681 PyObject
* obj1
= 0 ;
6682 char * kwnames
[] = {
6683 (char *) "self",(char *) "mask", NULL
6686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6688 if (!SWIG_IsOK(res1
)) {
6689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6691 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6692 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6693 if (!SWIG_IsOK(res2
)) {
6694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6697 (arg1
)->SetMask(arg2
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= SWIG_Py_Void();
6707 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
= 0;
6709 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6710 wxColour
*arg2
= 0 ;
6714 PyObject
* obj0
= 0 ;
6715 PyObject
* obj1
= 0 ;
6716 char * kwnames
[] = {
6717 (char *) "self",(char *) "colour", NULL
6720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6722 if (!SWIG_IsOK(res1
)) {
6723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6725 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6728 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6731 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= SWIG_Py_Void();
6741 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
= 0;
6743 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6745 SwigValueWrapper
<wxBitmap
> result
;
6749 PyObject
* obj0
= 0 ;
6750 PyObject
* obj1
= 0 ;
6751 char * kwnames
[] = {
6752 (char *) "self",(char *) "rect", NULL
6755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6757 if (!SWIG_IsOK(res1
)) {
6758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6760 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6763 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6766 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6776 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
= 0;
6778 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6779 wxString
*arg2
= 0 ;
6781 wxPalette
*arg4
= (wxPalette
*) NULL
;
6785 bool temp2
= false ;
6790 PyObject
* obj0
= 0 ;
6791 PyObject
* obj1
= 0 ;
6792 PyObject
* obj2
= 0 ;
6793 PyObject
* obj3
= 0 ;
6794 char * kwnames
[] = {
6795 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6800 if (!SWIG_IsOK(res1
)) {
6801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6803 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6805 arg2
= wxString_in_helper(obj1
);
6806 if (arg2
== NULL
) SWIG_fail
;
6809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6810 if (!SWIG_IsOK(ecode3
)) {
6811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6813 arg3
= static_cast< wxBitmapType
>(val3
);
6815 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6816 if (!SWIG_IsOK(res4
)) {
6817 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6819 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6822 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6823 if (PyErr_Occurred()) SWIG_fail
;
6826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6842 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
= 0;
6844 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6845 wxString
*arg2
= 0 ;
6850 bool temp2
= false ;
6853 PyObject
* obj0
= 0 ;
6854 PyObject
* obj1
= 0 ;
6855 PyObject
* obj2
= 0 ;
6856 char * kwnames
[] = {
6857 (char *) "self",(char *) "name",(char *) "type", NULL
6860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6862 if (!SWIG_IsOK(res1
)) {
6863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6865 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6867 arg2
= wxString_in_helper(obj1
);
6868 if (arg2
== NULL
) SWIG_fail
;
6871 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6872 if (!SWIG_IsOK(ecode3
)) {
6873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6875 arg3
= static_cast< wxBitmapType
>(val3
);
6877 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6897 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6898 PyObject
*resultobj
= 0;
6899 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6900 wxPalette
*result
= 0 ;
6903 PyObject
*swig_obj
[1] ;
6905 if (!args
) SWIG_fail
;
6907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6908 if (!SWIG_IsOK(res1
)) {
6909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6911 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6913 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6914 if (PyErr_Occurred()) SWIG_fail
;
6916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6923 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
= 0;
6925 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6926 wxPalette
*arg2
= 0 ;
6931 PyObject
* obj0
= 0 ;
6932 PyObject
* obj1
= 0 ;
6933 char * kwnames
[] = {
6934 (char *) "self",(char *) "palette", NULL
6937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6939 if (!SWIG_IsOK(res1
)) {
6940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6942 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6943 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6944 if (!SWIG_IsOK(res2
)) {
6945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6950 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6952 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_Py_Void();
6962 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
= 0;
6964 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6971 PyObject
* obj0
= 0 ;
6972 PyObject
* obj1
= 0 ;
6973 char * kwnames
[] = {
6974 (char *) "self",(char *) "icon", NULL
6977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6979 if (!SWIG_IsOK(res1
)) {
6980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6982 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6983 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6984 if (!SWIG_IsOK(res2
)) {
6985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6990 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6992 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7004 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
*resultobj
= 0;
7006 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7012 PyObject
* obj0
= 0 ;
7013 PyObject
* obj1
= 0 ;
7014 char * kwnames
[] = {
7015 (char *) "self",(char *) "height", NULL
7018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7020 if (!SWIG_IsOK(res1
)) {
7021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
7023 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7025 if (!SWIG_IsOK(ecode2
)) {
7026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
7028 arg2
= static_cast< int >(val2
);
7030 (arg1
)->SetHeight(arg2
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7033 resultobj
= SWIG_Py_Void();
7040 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
*resultobj
= 0;
7042 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7048 PyObject
* obj0
= 0 ;
7049 PyObject
* obj1
= 0 ;
7050 char * kwnames
[] = {
7051 (char *) "self",(char *) "width", NULL
7054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7056 if (!SWIG_IsOK(res1
)) {
7057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7059 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7061 if (!SWIG_IsOK(ecode2
)) {
7062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
7064 arg2
= static_cast< int >(val2
);
7066 (arg1
)->SetWidth(arg2
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7069 resultobj
= SWIG_Py_Void();
7076 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
= 0;
7078 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7084 PyObject
* obj0
= 0 ;
7085 PyObject
* obj1
= 0 ;
7086 char * kwnames
[] = {
7087 (char *) "self",(char *) "depth", NULL
7090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7092 if (!SWIG_IsOK(res1
)) {
7093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
7095 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7097 if (!SWIG_IsOK(ecode2
)) {
7098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
7100 arg2
= static_cast< int >(val2
);
7102 (arg1
)->SetDepth(arg2
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= SWIG_Py_Void();
7112 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
= 0;
7114 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7119 PyObject
* obj0
= 0 ;
7120 PyObject
* obj1
= 0 ;
7121 char * kwnames
[] = {
7122 (char *) "self",(char *) "size", NULL
7125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7127 if (!SWIG_IsOK(res1
)) {
7128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7130 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7133 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7136 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7139 resultobj
= SWIG_Py_Void();
7146 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
= 0;
7148 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7149 wxCursor
*arg2
= 0 ;
7155 PyObject
* obj0
= 0 ;
7156 PyObject
* obj1
= 0 ;
7157 char * kwnames
[] = {
7158 (char *) "self",(char *) "cursor", NULL
7161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7163 if (!SWIG_IsOK(res1
)) {
7164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
7166 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7167 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
7168 if (!SWIG_IsOK(res2
)) {
7169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7174 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
7176 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7188 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
= 0;
7190 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7196 PyObject
* obj0
= 0 ;
7197 PyObject
* obj1
= 0 ;
7198 char * kwnames
[] = {
7199 (char *) "self",(char *) "data", NULL
7202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7204 if (!SWIG_IsOK(res1
)) {
7205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7207 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7209 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7213 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_Py_Void();
7223 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
= 0;
7225 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7231 PyObject
* obj0
= 0 ;
7232 PyObject
* obj1
= 0 ;
7233 char * kwnames
[] = {
7234 (char *) "self",(char *) "data", NULL
7237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7239 if (!SWIG_IsOK(res1
)) {
7240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7242 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7244 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7248 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7251 resultobj
= SWIG_Py_Void();
7258 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
= 0;
7260 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7261 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7267 PyObject
* obj0
= 0 ;
7268 PyObject
* obj1
= 0 ;
7269 char * kwnames
[] = {
7270 (char *) "self",(char *) "other", NULL
7273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7275 if (!SWIG_IsOK(res1
)) {
7276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7278 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7279 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7280 if (!SWIG_IsOK(res2
)) {
7281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7283 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7285 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7297 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
= 0;
7299 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7300 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7306 PyObject
* obj0
= 0 ;
7307 PyObject
* obj1
= 0 ;
7308 char * kwnames
[] = {
7309 (char *) "self",(char *) "other", NULL
7312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7314 if (!SWIG_IsOK(res1
)) {
7315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7317 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7318 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7319 if (!SWIG_IsOK(res2
)) {
7320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7322 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7324 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7336 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7338 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7339 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7340 return SWIG_Py_Void();
7343 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7344 return SWIG_Python_InitShadowInstance(args
);
7347 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
= 0;
7355 wxBitmap
*result
= 0 ;
7362 PyObject
* obj0
= 0 ;
7363 PyObject
* obj1
= 0 ;
7364 PyObject
* obj2
= 0 ;
7365 PyObject
* obj3
= 0 ;
7366 char * kwnames
[] = {
7367 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7371 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7372 if (!SWIG_IsOK(ecode1
)) {
7373 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7375 arg1
= static_cast< int >(val1
);
7376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7377 if (!SWIG_IsOK(ecode2
)) {
7378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7380 arg2
= static_cast< int >(val2
);
7382 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7386 if (obj3
!= Py_None
) {
7387 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7392 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7402 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
= 0;
7408 wxBitmap
*result
= 0 ;
7414 PyObject
* obj0
= 0 ;
7415 PyObject
* obj1
= 0 ;
7416 PyObject
* obj2
= 0 ;
7417 char * kwnames
[] = {
7418 (char *) "width",(char *) "height",(char *) "data", NULL
7421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7422 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7423 if (!SWIG_IsOK(ecode1
)) {
7424 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7426 arg1
= static_cast< int >(val1
);
7427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7428 if (!SWIG_IsOK(ecode2
)) {
7429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7431 arg2
= static_cast< int >(val2
);
7433 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7437 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7447 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
= 0;
7453 wxBitmap
*result
= 0 ;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7461 PyObject
* obj2
= 0 ;
7462 char * kwnames
[] = {
7463 (char *) "width",(char *) "height",(char *) "data", NULL
7466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7467 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7468 if (!SWIG_IsOK(ecode1
)) {
7469 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7471 arg1
= static_cast< int >(val1
);
7472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7473 if (!SWIG_IsOK(ecode2
)) {
7474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7476 arg2
= static_cast< int >(val2
);
7478 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7482 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7483 if (PyErr_Occurred()) SWIG_fail
;
7485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7492 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7493 PyObject
*resultobj
= 0;
7494 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7498 PyObject
*swig_obj
[1] ;
7500 if (!args
) SWIG_fail
;
7502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7503 if (!SWIG_IsOK(res1
)) {
7504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7506 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7508 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7509 if (PyErr_Occurred()) SWIG_fail
;
7511 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7518 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7519 PyObject
*resultobj
= 0;
7520 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7524 PyObject
*swig_obj
[1] ;
7526 if (!args
) SWIG_fail
;
7528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7529 if (!SWIG_IsOK(res1
)) {
7530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7532 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7534 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 resultobj
= SWIG_From_int(static_cast< int >(result
));
7544 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7545 PyObject
*resultobj
= 0;
7546 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7550 PyObject
*swig_obj
[1] ;
7552 if (!args
) SWIG_fail
;
7554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7555 if (!SWIG_IsOK(res1
)) {
7556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7558 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7560 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7561 if (PyErr_Occurred()) SWIG_fail
;
7563 resultobj
= SWIG_From_int(static_cast< int >(result
));
7570 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7571 PyObject
*resultobj
= 0;
7572 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7576 PyObject
*swig_obj
[1] ;
7578 if (!args
) SWIG_fail
;
7580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7581 if (!SWIG_IsOK(res1
)) {
7582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7584 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7586 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7587 if (PyErr_Occurred()) SWIG_fail
;
7589 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7596 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7597 PyObject
*resultobj
= 0;
7598 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7602 PyObject
*swig_obj
[1] ;
7604 if (!args
) SWIG_fail
;
7606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7607 if (!SWIG_IsOK(res1
)) {
7608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7610 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7612 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7613 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= SWIG_From_int(static_cast< int >(result
));
7622 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7625 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7626 return SWIG_Py_Void();
7629 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7630 PyObject
*resultobj
= 0;
7631 wxBitmap
*arg1
= 0 ;
7632 wxNativePixelData
*result
= 0 ;
7636 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7638 if (!SWIG_IsOK(res1
)) {
7639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7644 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7646 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7656 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7657 PyObject
*resultobj
= 0;
7658 wxBitmap
*arg1
= 0 ;
7660 wxNativePixelData
*result
= 0 ;
7665 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7667 if (!SWIG_IsOK(res1
)) {
7668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7673 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7676 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7679 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7689 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7690 PyObject
*resultobj
= 0;
7691 wxBitmap
*arg1
= 0 ;
7694 wxNativePixelData
*result
= 0 ;
7700 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7702 if (!SWIG_IsOK(res1
)) {
7703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7708 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7711 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7715 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7718 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7728 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7732 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7735 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7738 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7741 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7745 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7750 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7751 PyObject
*resultobj
= 0;
7752 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7755 PyObject
*swig_obj
[1] ;
7757 if (!args
) SWIG_fail
;
7759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7760 if (!SWIG_IsOK(res1
)) {
7761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7763 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= SWIG_Py_Void();
7776 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7777 PyObject
*resultobj
= 0;
7778 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7779 wxNativePixelData_Accessor result
;
7782 PyObject
*swig_obj
[1] ;
7784 if (!args
) SWIG_fail
;
7786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7787 if (!SWIG_IsOK(res1
)) {
7788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7790 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7792 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7802 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7803 PyObject
*resultobj
= 0;
7804 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7807 PyObject
*swig_obj
[1] ;
7809 if (!args
) SWIG_fail
;
7811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7812 if (!SWIG_IsOK(res1
)) {
7813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7815 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7820 resultobj
= SWIG_Py_Void();
7827 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7828 PyObject
*resultobj
= 0;
7829 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7833 PyObject
*swig_obj
[1] ;
7835 if (!args
) SWIG_fail
;
7837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7838 if (!SWIG_IsOK(res1
)) {
7839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7841 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7843 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7855 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7857 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7858 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7859 return SWIG_Py_Void();
7862 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7863 return SWIG_Python_InitShadowInstance(args
);
7866 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7867 PyObject
*resultobj
= 0;
7868 wxNativePixelData
*arg1
= 0 ;
7869 wxNativePixelData_Accessor
*result
= 0 ;
7873 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7875 if (!SWIG_IsOK(res1
)) {
7876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7881 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7883 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7893 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7894 PyObject
*resultobj
= 0;
7895 wxBitmap
*arg1
= 0 ;
7896 wxNativePixelData
*arg2
= 0 ;
7897 wxNativePixelData_Accessor
*result
= 0 ;
7903 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7905 if (!SWIG_IsOK(res1
)) {
7906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7911 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7912 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7913 if (!SWIG_IsOK(res2
)) {
7914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7919 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7921 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7931 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7932 PyObject
*resultobj
= 0;
7933 wxNativePixelData_Accessor
*result
= 0 ;
7935 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7937 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7938 if (PyErr_Occurred()) SWIG_fail
;
7940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7947 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7951 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7954 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7957 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7960 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7964 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7969 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7970 PyObject
*resultobj
= 0;
7971 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7974 PyObject
*swig_obj
[1] ;
7976 if (!args
) SWIG_fail
;
7978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7979 if (!SWIG_IsOK(res1
)) {
7980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7982 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= SWIG_Py_Void();
7995 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
= 0;
7997 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7998 wxNativePixelData
*arg2
= 0 ;
8003 PyObject
* obj0
= 0 ;
8004 PyObject
* obj1
= 0 ;
8005 char * kwnames
[] = {
8006 (char *) "self",(char *) "data", NULL
8009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8011 if (!SWIG_IsOK(res1
)) {
8012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8014 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8015 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8016 if (!SWIG_IsOK(res2
)) {
8017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8022 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8024 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= SWIG_Py_Void();
8034 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8035 PyObject
*resultobj
= 0;
8036 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8040 PyObject
*swig_obj
[1] ;
8042 if (!args
) SWIG_fail
;
8044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8045 if (!SWIG_IsOK(res1
)) {
8046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
8048 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8050 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
8051 if (PyErr_Occurred()) SWIG_fail
;
8054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8062 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8063 PyObject
*resultobj
= 0;
8064 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8067 PyObject
*swig_obj
[1] ;
8069 if (!args
) SWIG_fail
;
8071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8072 if (!SWIG_IsOK(res1
)) {
8073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8075 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8077 wxNativePixelData_Accessor_nextPixel(arg1
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 resultobj
= SWIG_Py_Void();
8087 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
*resultobj
= 0;
8089 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8090 wxNativePixelData
*arg2
= 0 ;
8101 PyObject
* obj0
= 0 ;
8102 PyObject
* obj1
= 0 ;
8103 PyObject
* obj2
= 0 ;
8104 PyObject
* obj3
= 0 ;
8105 char * kwnames
[] = {
8106 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8111 if (!SWIG_IsOK(res1
)) {
8112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8114 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8115 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8116 if (!SWIG_IsOK(res2
)) {
8117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8122 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8124 if (!SWIG_IsOK(ecode3
)) {
8125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8127 arg3
= static_cast< int >(val3
);
8128 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8129 if (!SWIG_IsOK(ecode4
)) {
8130 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8132 arg4
= static_cast< int >(val4
);
8134 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 resultobj
= SWIG_Py_Void();
8144 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
= 0;
8146 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8147 wxNativePixelData
*arg2
= 0 ;
8155 PyObject
* obj0
= 0 ;
8156 PyObject
* obj1
= 0 ;
8157 PyObject
* obj2
= 0 ;
8158 char * kwnames
[] = {
8159 (char *) "self",(char *) "data",(char *) "x", NULL
8162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8164 if (!SWIG_IsOK(res1
)) {
8165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8167 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8168 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8169 if (!SWIG_IsOK(res2
)) {
8170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8175 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8177 if (!SWIG_IsOK(ecode3
)) {
8178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8180 arg3
= static_cast< int >(val3
);
8182 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= SWIG_Py_Void();
8192 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
= 0;
8194 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8195 wxNativePixelData
*arg2
= 0 ;
8203 PyObject
* obj0
= 0 ;
8204 PyObject
* obj1
= 0 ;
8205 PyObject
* obj2
= 0 ;
8206 char * kwnames
[] = {
8207 (char *) "self",(char *) "data",(char *) "y", NULL
8210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8212 if (!SWIG_IsOK(res1
)) {
8213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8215 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8216 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8217 if (!SWIG_IsOK(res2
)) {
8218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8223 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8225 if (!SWIG_IsOK(ecode3
)) {
8226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8228 arg3
= static_cast< int >(val3
);
8230 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 resultobj
= SWIG_Py_Void();
8240 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
= 0;
8242 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8243 wxNativePixelData
*arg2
= 0 ;
8254 PyObject
* obj0
= 0 ;
8255 PyObject
* obj1
= 0 ;
8256 PyObject
* obj2
= 0 ;
8257 PyObject
* obj3
= 0 ;
8258 char * kwnames
[] = {
8259 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8264 if (!SWIG_IsOK(res1
)) {
8265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8267 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8268 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8269 if (!SWIG_IsOK(res2
)) {
8270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8273 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8275 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8276 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8277 if (!SWIG_IsOK(ecode3
)) {
8278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8280 arg3
= static_cast< int >(val3
);
8281 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8282 if (!SWIG_IsOK(ecode4
)) {
8283 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8285 arg4
= static_cast< int >(val4
);
8287 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= SWIG_Py_Void();
8297 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
*resultobj
= 0;
8299 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8305 unsigned char val2
;
8307 unsigned char val3
;
8309 unsigned char val4
;
8311 PyObject
* obj0
= 0 ;
8312 PyObject
* obj1
= 0 ;
8313 PyObject
* obj2
= 0 ;
8314 PyObject
* obj3
= 0 ;
8315 char * kwnames
[] = {
8316 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8321 if (!SWIG_IsOK(res1
)) {
8322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8324 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8325 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8326 if (!SWIG_IsOK(ecode2
)) {
8327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8329 arg2
= static_cast< byte
>(val2
);
8330 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8331 if (!SWIG_IsOK(ecode3
)) {
8332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8334 arg3
= static_cast< byte
>(val3
);
8335 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8336 if (!SWIG_IsOK(ecode4
)) {
8337 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8339 arg4
= static_cast< byte
>(val4
);
8341 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= SWIG_Py_Void();
8351 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8352 PyObject
*resultobj
= 0;
8353 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8354 PyObject
*result
= 0 ;
8357 PyObject
*swig_obj
[1] ;
8359 if (!args
) SWIG_fail
;
8361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8362 if (!SWIG_IsOK(res1
)) {
8363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8365 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8367 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8377 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8380 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8381 return SWIG_Py_Void();
8384 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8385 return SWIG_Python_InitShadowInstance(args
);
8388 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8389 PyObject
*resultobj
= 0;
8390 wxBitmap
*arg1
= 0 ;
8391 wxAlphaPixelData
*result
= 0 ;
8395 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8397 if (!SWIG_IsOK(res1
)) {
8398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8403 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8405 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8415 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8416 PyObject
*resultobj
= 0;
8417 wxBitmap
*arg1
= 0 ;
8419 wxAlphaPixelData
*result
= 0 ;
8424 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8426 if (!SWIG_IsOK(res1
)) {
8427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8432 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8435 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8438 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8448 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8449 PyObject
*resultobj
= 0;
8450 wxBitmap
*arg1
= 0 ;
8453 wxAlphaPixelData
*result
= 0 ;
8459 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8461 if (!SWIG_IsOK(res1
)) {
8462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8467 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8470 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8474 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8477 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8487 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8491 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8494 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8497 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8500 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8504 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8509 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8510 PyObject
*resultobj
= 0;
8511 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8514 PyObject
*swig_obj
[1] ;
8516 if (!args
) SWIG_fail
;
8518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8519 if (!SWIG_IsOK(res1
)) {
8520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8522 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8526 if (PyErr_Occurred()) SWIG_fail
;
8528 resultobj
= SWIG_Py_Void();
8535 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8536 PyObject
*resultobj
= 0;
8537 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8538 wxAlphaPixelData_Accessor result
;
8541 PyObject
*swig_obj
[1] ;
8543 if (!args
) SWIG_fail
;
8545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8546 if (!SWIG_IsOK(res1
)) {
8547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8549 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8551 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8561 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8562 PyObject
*resultobj
= 0;
8563 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8566 PyObject
*swig_obj
[1] ;
8568 if (!args
) SWIG_fail
;
8570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8571 if (!SWIG_IsOK(res1
)) {
8572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8574 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 resultobj
= SWIG_Py_Void();
8586 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8587 PyObject
*resultobj
= 0;
8588 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8592 PyObject
*swig_obj
[1] ;
8594 if (!args
) SWIG_fail
;
8596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8597 if (!SWIG_IsOK(res1
)) {
8598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8600 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8602 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8614 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8617 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8618 return SWIG_Py_Void();
8621 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8622 return SWIG_Python_InitShadowInstance(args
);
8625 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8626 PyObject
*resultobj
= 0;
8627 wxAlphaPixelData
*arg1
= 0 ;
8628 wxAlphaPixelData_Accessor
*result
= 0 ;
8632 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8634 if (!SWIG_IsOK(res1
)) {
8635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8640 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8642 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8652 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8653 PyObject
*resultobj
= 0;
8654 wxBitmap
*arg1
= 0 ;
8655 wxAlphaPixelData
*arg2
= 0 ;
8656 wxAlphaPixelData_Accessor
*result
= 0 ;
8662 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8664 if (!SWIG_IsOK(res1
)) {
8665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8670 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8671 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8672 if (!SWIG_IsOK(res2
)) {
8673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8678 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8680 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8690 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8691 PyObject
*resultobj
= 0;
8692 wxAlphaPixelData_Accessor
*result
= 0 ;
8694 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8696 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8706 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8710 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8713 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8716 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8719 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8723 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8728 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8729 PyObject
*resultobj
= 0;
8730 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8733 PyObject
*swig_obj
[1] ;
8735 if (!args
) SWIG_fail
;
8737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8738 if (!SWIG_IsOK(res1
)) {
8739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8741 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 resultobj
= SWIG_Py_Void();
8754 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
*resultobj
= 0;
8756 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8757 wxAlphaPixelData
*arg2
= 0 ;
8762 PyObject
* obj0
= 0 ;
8763 PyObject
* obj1
= 0 ;
8764 char * kwnames
[] = {
8765 (char *) "self",(char *) "data", NULL
8768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8770 if (!SWIG_IsOK(res1
)) {
8771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8773 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8774 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8775 if (!SWIG_IsOK(res2
)) {
8776 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8781 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8783 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_Py_Void();
8793 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8794 PyObject
*resultobj
= 0;
8795 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8799 PyObject
*swig_obj
[1] ;
8801 if (!args
) SWIG_fail
;
8803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8804 if (!SWIG_IsOK(res1
)) {
8805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8807 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8809 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8810 if (PyErr_Occurred()) SWIG_fail
;
8813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8821 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8822 PyObject
*resultobj
= 0;
8823 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8826 PyObject
*swig_obj
[1] ;
8828 if (!args
) SWIG_fail
;
8830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8831 if (!SWIG_IsOK(res1
)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8834 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8836 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8839 resultobj
= SWIG_Py_Void();
8846 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
= 0;
8848 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8849 wxAlphaPixelData
*arg2
= 0 ;
8860 PyObject
* obj0
= 0 ;
8861 PyObject
* obj1
= 0 ;
8862 PyObject
* obj2
= 0 ;
8863 PyObject
* obj3
= 0 ;
8864 char * kwnames
[] = {
8865 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8870 if (!SWIG_IsOK(res1
)) {
8871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8873 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8875 if (!SWIG_IsOK(res2
)) {
8876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8881 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8882 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8883 if (!SWIG_IsOK(ecode3
)) {
8884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8886 arg3
= static_cast< int >(val3
);
8887 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8888 if (!SWIG_IsOK(ecode4
)) {
8889 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8891 arg4
= static_cast< int >(val4
);
8893 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 resultobj
= SWIG_Py_Void();
8903 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
= 0;
8905 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8906 wxAlphaPixelData
*arg2
= 0 ;
8914 PyObject
* obj0
= 0 ;
8915 PyObject
* obj1
= 0 ;
8916 PyObject
* obj2
= 0 ;
8917 char * kwnames
[] = {
8918 (char *) "self",(char *) "data",(char *) "x", NULL
8921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8923 if (!SWIG_IsOK(res1
)) {
8924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8926 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8927 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8928 if (!SWIG_IsOK(res2
)) {
8929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8934 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8936 if (!SWIG_IsOK(ecode3
)) {
8937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8939 arg3
= static_cast< int >(val3
);
8941 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 resultobj
= SWIG_Py_Void();
8951 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8952 PyObject
*resultobj
= 0;
8953 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8954 wxAlphaPixelData
*arg2
= 0 ;
8962 PyObject
* obj0
= 0 ;
8963 PyObject
* obj1
= 0 ;
8964 PyObject
* obj2
= 0 ;
8965 char * kwnames
[] = {
8966 (char *) "self",(char *) "data",(char *) "y", NULL
8969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8971 if (!SWIG_IsOK(res1
)) {
8972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8974 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8975 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8976 if (!SWIG_IsOK(res2
)) {
8977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8982 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8983 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8984 if (!SWIG_IsOK(ecode3
)) {
8985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8987 arg3
= static_cast< int >(val3
);
8989 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 resultobj
= SWIG_Py_Void();
8999 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
= 0;
9001 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9002 wxAlphaPixelData
*arg2
= 0 ;
9013 PyObject
* obj0
= 0 ;
9014 PyObject
* obj1
= 0 ;
9015 PyObject
* obj2
= 0 ;
9016 PyObject
* obj3
= 0 ;
9017 char * kwnames
[] = {
9018 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
9021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9023 if (!SWIG_IsOK(res1
)) {
9024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9026 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9027 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
9028 if (!SWIG_IsOK(res2
)) {
9029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
9034 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
9035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9036 if (!SWIG_IsOK(ecode3
)) {
9037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
9039 arg3
= static_cast< int >(val3
);
9040 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9041 if (!SWIG_IsOK(ecode4
)) {
9042 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
9044 arg4
= static_cast< int >(val4
);
9046 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9049 resultobj
= SWIG_Py_Void();
9056 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
*resultobj
= 0;
9058 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9065 unsigned char val2
;
9067 unsigned char val3
;
9069 unsigned char val4
;
9071 unsigned char val5
;
9073 PyObject
* obj0
= 0 ;
9074 PyObject
* obj1
= 0 ;
9075 PyObject
* obj2
= 0 ;
9076 PyObject
* obj3
= 0 ;
9077 PyObject
* obj4
= 0 ;
9078 char * kwnames
[] = {
9079 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
9082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9084 if (!SWIG_IsOK(res1
)) {
9085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9087 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9088 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
9089 if (!SWIG_IsOK(ecode2
)) {
9090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
9092 arg2
= static_cast< byte
>(val2
);
9093 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
9094 if (!SWIG_IsOK(ecode3
)) {
9095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
9097 arg3
= static_cast< byte
>(val3
);
9098 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
9099 if (!SWIG_IsOK(ecode4
)) {
9100 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
9102 arg4
= static_cast< byte
>(val4
);
9103 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
9104 if (!SWIG_IsOK(ecode5
)) {
9105 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
9107 arg5
= static_cast< byte
>(val5
);
9109 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9112 resultobj
= SWIG_Py_Void();
9119 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9120 PyObject
*resultobj
= 0;
9121 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
9122 PyObject
*result
= 0 ;
9125 PyObject
*swig_obj
[1] ;
9127 if (!args
) SWIG_fail
;
9129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
9130 if (!SWIG_IsOK(res1
)) {
9131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
9133 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
9135 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
9136 if (PyErr_Occurred()) SWIG_fail
;
9145 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9147 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9148 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
9149 return SWIG_Py_Void();
9152 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9153 return SWIG_Python_InitShadowInstance(args
);
9156 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
*resultobj
= 0;
9158 wxBitmap
*arg1
= 0 ;
9159 wxColour
const &arg2_defvalue
= wxNullColour
;
9160 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9161 wxMask
*result
= 0 ;
9165 PyObject
* obj0
= 0 ;
9166 PyObject
* obj1
= 0 ;
9167 char * kwnames
[] = {
9168 (char *) "bitmap",(char *) "colour", NULL
9171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9172 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9173 if (!SWIG_IsOK(res1
)) {
9174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9179 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9183 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9187 if (!wxPyCheckForApp()) SWIG_fail
;
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9189 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9200 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9201 PyObject
*resultobj
= 0;
9202 wxMask
*arg1
= (wxMask
*) 0 ;
9205 PyObject
*swig_obj
[1] ;
9207 if (!args
) SWIG_fail
;
9209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9210 if (!SWIG_IsOK(res1
)) {
9211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9213 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= SWIG_Py_Void();
9226 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9228 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9229 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9230 return SWIG_Py_Void();
9233 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9234 return SWIG_Python_InitShadowInstance(args
);
9237 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
= 0;
9239 wxString
*arg1
= 0 ;
9241 int arg3
= (int) -1 ;
9242 int arg4
= (int) -1 ;
9243 wxIcon
*result
= 0 ;
9244 bool temp1
= false ;
9251 PyObject
* obj0
= 0 ;
9252 PyObject
* obj1
= 0 ;
9253 PyObject
* obj2
= 0 ;
9254 PyObject
* obj3
= 0 ;
9255 char * kwnames
[] = {
9256 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9261 arg1
= wxString_in_helper(obj0
);
9262 if (arg1
== NULL
) SWIG_fail
;
9265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9266 if (!SWIG_IsOK(ecode2
)) {
9267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9269 arg2
= static_cast< wxBitmapType
>(val2
);
9271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9272 if (!SWIG_IsOK(ecode3
)) {
9273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9275 arg3
= static_cast< int >(val3
);
9278 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9279 if (!SWIG_IsOK(ecode4
)) {
9280 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9282 arg4
= static_cast< int >(val4
);
9285 if (!wxPyCheckForApp()) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9306 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9307 PyObject
*resultobj
= 0;
9308 wxIcon
*arg1
= (wxIcon
*) 0 ;
9311 PyObject
*swig_obj
[1] ;
9313 if (!args
) SWIG_fail
;
9315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9316 if (!SWIG_IsOK(res1
)) {
9317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9319 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= SWIG_Py_Void();
9334 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9335 PyObject
*resultobj
= 0;
9336 wxIcon
*result
= 0 ;
9338 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9340 if (!wxPyCheckForApp()) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 result
= (wxIcon
*)new wxIcon();
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9353 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
= 0;
9355 wxIconLocation
*arg1
= 0 ;
9356 wxIcon
*result
= 0 ;
9359 PyObject
* obj0
= 0 ;
9360 char * kwnames
[] = {
9361 (char *) "loc", NULL
9364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9365 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9366 if (!SWIG_IsOK(res1
)) {
9367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9372 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9374 if (!wxPyCheckForApp()) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9387 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
= 0;
9389 wxBitmap
*arg1
= 0 ;
9390 wxIcon
*result
= 0 ;
9393 PyObject
* obj0
= 0 ;
9394 char * kwnames
[] = {
9395 (char *) "bmp", NULL
9398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9399 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9400 if (!SWIG_IsOK(res1
)) {
9401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9406 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9408 if (!wxPyCheckForApp()) SWIG_fail
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9421 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
= 0;
9423 PyObject
*arg1
= (PyObject
*) 0 ;
9424 wxIcon
*result
= 0 ;
9425 PyObject
* obj0
= 0 ;
9426 char * kwnames
[] = {
9427 (char *) "listOfStrings", NULL
9430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9433 if (!wxPyCheckForApp()) SWIG_fail
;
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9435 result
= (wxIcon
*)new_wxIcon(arg1
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9446 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
= 0;
9448 wxIcon
*arg1
= (wxIcon
*) 0 ;
9449 wxString
*arg2
= 0 ;
9454 bool temp2
= false ;
9457 PyObject
* obj0
= 0 ;
9458 PyObject
* obj1
= 0 ;
9459 PyObject
* obj2
= 0 ;
9460 char * kwnames
[] = {
9461 (char *) "self",(char *) "name",(char *) "type", NULL
9464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9466 if (!SWIG_IsOK(res1
)) {
9467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9469 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9471 arg2
= wxString_in_helper(obj1
);
9472 if (arg2
== NULL
) SWIG_fail
;
9475 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9476 if (!SWIG_IsOK(ecode3
)) {
9477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9479 arg3
= static_cast< wxBitmapType
>(val3
);
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9483 wxPyEndAllowThreads(__tstate
);
9484 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9503 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9504 PyObject
*resultobj
= 0;
9505 wxIcon
*arg1
= (wxIcon
*) 0 ;
9509 PyObject
*swig_obj
[1] ;
9511 if (!args
) SWIG_fail
;
9513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9514 if (!SWIG_IsOK(res1
)) {
9515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9517 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9520 result
= (long)(arg1
)->GetHandle();
9521 wxPyEndAllowThreads(__tstate
);
9522 if (PyErr_Occurred()) SWIG_fail
;
9524 resultobj
= SWIG_From_long(static_cast< long >(result
));
9531 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
*resultobj
= 0;
9533 wxIcon
*arg1
= (wxIcon
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9540 PyObject
* obj1
= 0 ;
9541 char * kwnames
[] = {
9542 (char *) "self",(char *) "handle", NULL
9545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9547 if (!SWIG_IsOK(res1
)) {
9548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9550 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9551 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9552 if (!SWIG_IsOK(ecode2
)) {
9553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9555 arg2
= static_cast< long >(val2
);
9557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9558 wxIcon_SetHandle(arg1
,arg2
);
9559 wxPyEndAllowThreads(__tstate
);
9560 if (PyErr_Occurred()) SWIG_fail
;
9562 resultobj
= SWIG_Py_Void();
9569 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9570 PyObject
*resultobj
= 0;
9571 wxIcon
*arg1
= (wxIcon
*) 0 ;
9575 PyObject
*swig_obj
[1] ;
9577 if (!args
) SWIG_fail
;
9579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9580 if (!SWIG_IsOK(res1
)) {
9581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9583 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 result
= (bool)(arg1
)->IsOk();
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9599 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9600 PyObject
*resultobj
= 0;
9601 wxIcon
*arg1
= (wxIcon
*) 0 ;
9605 PyObject
*swig_obj
[1] ;
9607 if (!args
) SWIG_fail
;
9609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9610 if (!SWIG_IsOK(res1
)) {
9611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9613 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 result
= (int)(arg1
)->GetWidth();
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 resultobj
= SWIG_From_int(static_cast< int >(result
));
9627 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9628 PyObject
*resultobj
= 0;
9629 wxIcon
*arg1
= (wxIcon
*) 0 ;
9633 PyObject
*swig_obj
[1] ;
9635 if (!args
) SWIG_fail
;
9637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9638 if (!SWIG_IsOK(res1
)) {
9639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9641 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 result
= (int)(arg1
)->GetHeight();
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= SWIG_From_int(static_cast< int >(result
));
9655 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9656 PyObject
*resultobj
= 0;
9657 wxIcon
*arg1
= (wxIcon
*) 0 ;
9661 PyObject
*swig_obj
[1] ;
9663 if (!args
) SWIG_fail
;
9665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9666 if (!SWIG_IsOK(res1
)) {
9667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9669 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 result
= (int)(arg1
)->GetDepth();
9673 wxPyEndAllowThreads(__tstate
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 resultobj
= SWIG_From_int(static_cast< int >(result
));
9683 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
= 0;
9685 wxIcon
*arg1
= (wxIcon
*) 0 ;
9691 PyObject
* obj0
= 0 ;
9692 PyObject
* obj1
= 0 ;
9693 char * kwnames
[] = {
9694 (char *) "self",(char *) "w", NULL
9697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9699 if (!SWIG_IsOK(res1
)) {
9700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9702 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9704 if (!SWIG_IsOK(ecode2
)) {
9705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9707 arg2
= static_cast< int >(val2
);
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 (arg1
)->SetWidth(arg2
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9714 resultobj
= SWIG_Py_Void();
9721 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9722 PyObject
*resultobj
= 0;
9723 wxIcon
*arg1
= (wxIcon
*) 0 ;
9729 PyObject
* obj0
= 0 ;
9730 PyObject
* obj1
= 0 ;
9731 char * kwnames
[] = {
9732 (char *) "self",(char *) "h", NULL
9735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9737 if (!SWIG_IsOK(res1
)) {
9738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9740 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9742 if (!SWIG_IsOK(ecode2
)) {
9743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9745 arg2
= static_cast< int >(val2
);
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 (arg1
)->SetHeight(arg2
);
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 resultobj
= SWIG_Py_Void();
9759 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
= 0;
9761 wxIcon
*arg1
= (wxIcon
*) 0 ;
9767 PyObject
* obj0
= 0 ;
9768 PyObject
* obj1
= 0 ;
9769 char * kwnames
[] = {
9770 (char *) "self",(char *) "d", NULL
9773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9775 if (!SWIG_IsOK(res1
)) {
9776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9778 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9780 if (!SWIG_IsOK(ecode2
)) {
9781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9783 arg2
= static_cast< int >(val2
);
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 (arg1
)->SetDepth(arg2
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= SWIG_Py_Void();
9797 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
= 0;
9799 wxIcon
*arg1
= (wxIcon
*) 0 ;
9804 PyObject
* obj0
= 0 ;
9805 PyObject
* obj1
= 0 ;
9806 char * kwnames
[] = {
9807 (char *) "self",(char *) "size", NULL
9810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9812 if (!SWIG_IsOK(res1
)) {
9813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9815 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9818 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 (arg1
)->SetSize((wxSize
const &)*arg2
);
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= SWIG_Py_Void();
9833 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
= 0;
9835 wxIcon
*arg1
= (wxIcon
*) 0 ;
9836 wxBitmap
*arg2
= 0 ;
9841 PyObject
* obj0
= 0 ;
9842 PyObject
* obj1
= 0 ;
9843 char * kwnames
[] = {
9844 (char *) "self",(char *) "bmp", NULL
9847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9849 if (!SWIG_IsOK(res1
)) {
9850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9852 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9853 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9854 if (!SWIG_IsOK(res2
)) {
9855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9860 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= SWIG_Py_Void();
9874 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9876 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9877 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9878 return SWIG_Py_Void();
9881 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9882 return SWIG_Python_InitShadowInstance(args
);
9885 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
= 0;
9887 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9888 int arg2
= (int) 0 ;
9889 wxIconLocation
*result
= 0 ;
9890 bool temp1
= false ;
9893 PyObject
* obj0
= 0 ;
9894 PyObject
* obj1
= 0 ;
9895 char * kwnames
[] = {
9896 (char *) "filename",(char *) "num", NULL
9899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9902 arg1
= wxString_in_helper(obj0
);
9903 if (arg1
== NULL
) SWIG_fail
;
9908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9909 if (!SWIG_IsOK(ecode2
)) {
9910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9912 arg2
= static_cast< int >(val2
);
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9917 wxPyEndAllowThreads(__tstate
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9935 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9936 PyObject
*resultobj
= 0;
9937 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9940 PyObject
*swig_obj
[1] ;
9942 if (!args
) SWIG_fail
;
9944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9945 if (!SWIG_IsOK(res1
)) {
9946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9948 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9956 resultobj
= SWIG_Py_Void();
9963 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9964 PyObject
*resultobj
= 0;
9965 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9969 PyObject
*swig_obj
[1] ;
9971 if (!args
) SWIG_fail
;
9973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9974 if (!SWIG_IsOK(res1
)) {
9975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9977 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9993 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
*resultobj
= 0;
9995 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9996 wxString
*arg2
= 0 ;
9999 bool temp2
= false ;
10000 PyObject
* obj0
= 0 ;
10001 PyObject
* obj1
= 0 ;
10002 char * kwnames
[] = {
10003 (char *) "self",(char *) "filename", NULL
10006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10008 if (!SWIG_IsOK(res1
)) {
10009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10011 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10013 arg2
= wxString_in_helper(obj1
);
10014 if (arg2
== NULL
) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 (arg1
)->SetFileName((wxString
const &)*arg2
);
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= SWIG_Py_Void();
10038 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10039 PyObject
*resultobj
= 0;
10040 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10041 wxString
*result
= 0 ;
10044 PyObject
*swig_obj
[1] ;
10046 if (!args
) SWIG_fail
;
10047 swig_obj
[0] = args
;
10048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10049 if (!SWIG_IsOK(res1
)) {
10050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
10052 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
10057 result
= (wxString
*) &_result_ref
;
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10064 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10066 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10075 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
= 0;
10077 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10083 PyObject
* obj0
= 0 ;
10084 PyObject
* obj1
= 0 ;
10085 char * kwnames
[] = {
10086 (char *) "self",(char *) "num", NULL
10089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10091 if (!SWIG_IsOK(res1
)) {
10092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10094 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10096 if (!SWIG_IsOK(ecode2
)) {
10097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
10099 arg2
= static_cast< int >(val2
);
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 wxIconLocation_SetIndex(arg1
,arg2
);
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= SWIG_Py_Void();
10113 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10114 PyObject
*resultobj
= 0;
10115 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
10119 PyObject
*swig_obj
[1] ;
10121 if (!args
) SWIG_fail
;
10122 swig_obj
[0] = args
;
10123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
10124 if (!SWIG_IsOK(res1
)) {
10125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
10127 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (int)wxIconLocation_GetIndex(arg1
);
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 resultobj
= SWIG_From_int(static_cast< int >(result
));
10141 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10143 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10144 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
10145 return SWIG_Py_Void();
10148 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10149 return SWIG_Python_InitShadowInstance(args
);
10152 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10153 PyObject
*resultobj
= 0;
10154 wxIconBundle
*result
= 0 ;
10156 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 result
= (wxIconBundle
*)new wxIconBundle();
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
10170 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
*resultobj
= 0;
10172 wxString
*arg1
= 0 ;
10174 wxIconBundle
*result
= 0 ;
10175 bool temp1
= false ;
10178 PyObject
* obj0
= 0 ;
10179 PyObject
* obj1
= 0 ;
10180 char * kwnames
[] = {
10181 (char *) "file",(char *) "type", NULL
10184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10186 arg1
= wxString_in_helper(obj0
);
10187 if (arg1
== NULL
) SWIG_fail
;
10190 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10191 if (!SWIG_IsOK(ecode2
)) {
10192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
10194 arg2
= static_cast< long >(val2
);
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10216 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
= 0;
10219 wxIconBundle
*result
= 0 ;
10222 PyObject
* obj0
= 0 ;
10223 char * kwnames
[] = {
10224 (char *) "icon", NULL
10227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
10228 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
10229 if (!SWIG_IsOK(res1
)) {
10230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10235 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10249 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10250 PyObject
*resultobj
= 0;
10251 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10254 PyObject
*swig_obj
[1] ;
10256 if (!args
) SWIG_fail
;
10257 swig_obj
[0] = args
;
10258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
10259 if (!SWIG_IsOK(res1
)) {
10260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10262 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10270 resultobj
= SWIG_Py_Void();
10277 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10278 PyObject
*resultobj
= 0;
10279 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10285 PyObject
* obj0
= 0 ;
10286 PyObject
* obj1
= 0 ;
10287 char * kwnames
[] = {
10288 (char *) "self",(char *) "icon", NULL
10291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10293 if (!SWIG_IsOK(res1
)) {
10294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10296 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10298 if (!SWIG_IsOK(res2
)) {
10299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10304 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= SWIG_Py_Void();
10318 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
= 0;
10320 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10321 wxString
*arg2
= 0 ;
10325 bool temp2
= false ;
10328 PyObject
* obj0
= 0 ;
10329 PyObject
* obj1
= 0 ;
10330 PyObject
* obj2
= 0 ;
10331 char * kwnames
[] = {
10332 (char *) "self",(char *) "file",(char *) "type", NULL
10335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10337 if (!SWIG_IsOK(res1
)) {
10338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10340 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10342 arg2
= wxString_in_helper(obj1
);
10343 if (arg2
== NULL
) SWIG_fail
;
10346 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10347 if (!SWIG_IsOK(ecode3
)) {
10348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10350 arg3
= static_cast< long >(val3
);
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10357 resultobj
= SWIG_Py_Void();
10372 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
= 0;
10374 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10376 wxIcon
*result
= 0 ;
10380 PyObject
* obj0
= 0 ;
10381 PyObject
* obj1
= 0 ;
10382 char * kwnames
[] = {
10383 (char *) "self",(char *) "size", NULL
10386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10388 if (!SWIG_IsOK(res1
)) {
10389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10391 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10394 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10400 result
= (wxIcon
*) &_result_ref
;
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10406 wxIcon
* resultptr
= new wxIcon(*result
);
10407 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10415 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10417 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10418 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10419 return SWIG_Py_Void();
10422 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10423 return SWIG_Python_InitShadowInstance(args
);
10426 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
*resultobj
= 0;
10428 wxString
*arg1
= 0 ;
10430 int arg3
= (int) 0 ;
10431 int arg4
= (int) 0 ;
10432 wxCursor
*result
= 0 ;
10433 bool temp1
= false ;
10440 PyObject
* obj0
= 0 ;
10441 PyObject
* obj1
= 0 ;
10442 PyObject
* obj2
= 0 ;
10443 PyObject
* obj3
= 0 ;
10444 char * kwnames
[] = {
10445 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10450 arg1
= wxString_in_helper(obj0
);
10451 if (arg1
== NULL
) SWIG_fail
;
10454 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10455 if (!SWIG_IsOK(ecode2
)) {
10456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10458 arg2
= static_cast< long >(val2
);
10460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10461 if (!SWIG_IsOK(ecode3
)) {
10462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10464 arg3
= static_cast< int >(val3
);
10467 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10468 if (!SWIG_IsOK(ecode4
)) {
10469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10471 arg4
= static_cast< int >(val4
);
10474 if (!wxPyCheckForApp()) SWIG_fail
;
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10495 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10496 PyObject
*resultobj
= 0;
10497 wxCursor
*arg1
= (wxCursor
*) 0 ;
10500 PyObject
*swig_obj
[1] ;
10502 if (!args
) SWIG_fail
;
10503 swig_obj
[0] = args
;
10504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10505 if (!SWIG_IsOK(res1
)) {
10506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10508 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 resultobj
= SWIG_Py_Void();
10523 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
*resultobj
= 0;
10526 wxCursor
*result
= 0 ;
10529 PyObject
* obj0
= 0 ;
10530 char * kwnames
[] = {
10531 (char *) "id", NULL
10534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10535 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10536 if (!SWIG_IsOK(ecode1
)) {
10537 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10539 arg1
= static_cast< int >(val1
);
10541 if (!wxPyCheckForApp()) SWIG_fail
;
10542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 result
= (wxCursor
*)new wxCursor(arg1
);
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10554 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
= 0;
10556 wxImage
*arg1
= 0 ;
10557 wxCursor
*result
= 0 ;
10560 PyObject
* obj0
= 0 ;
10561 char * kwnames
[] = {
10562 (char *) "image", NULL
10565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10566 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10567 if (!SWIG_IsOK(res1
)) {
10568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10573 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10575 if (!wxPyCheckForApp()) SWIG_fail
;
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10588 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10589 PyObject
*resultobj
= 0;
10590 wxCursor
*arg1
= (wxCursor
*) 0 ;
10594 PyObject
*swig_obj
[1] ;
10596 if (!args
) SWIG_fail
;
10597 swig_obj
[0] = args
;
10598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10599 if (!SWIG_IsOK(res1
)) {
10600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10602 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10605 result
= (long)(arg1
)->GetHandle();
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= SWIG_From_long(static_cast< long >(result
));
10616 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
= 0;
10618 wxCursor
*arg1
= (wxCursor
*) 0 ;
10624 PyObject
* obj0
= 0 ;
10625 PyObject
* obj1
= 0 ;
10626 char * kwnames
[] = {
10627 (char *) "self",(char *) "handle", NULL
10630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10632 if (!SWIG_IsOK(res1
)) {
10633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10635 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10636 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10637 if (!SWIG_IsOK(ecode2
)) {
10638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10640 arg2
= static_cast< long >(val2
);
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 wxCursor_SetHandle(arg1
,arg2
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_Py_Void();
10654 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10655 PyObject
*resultobj
= 0;
10656 wxCursor
*arg1
= (wxCursor
*) 0 ;
10660 PyObject
*swig_obj
[1] ;
10662 if (!args
) SWIG_fail
;
10663 swig_obj
[0] = args
;
10664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10665 if (!SWIG_IsOK(res1
)) {
10666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10668 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (bool)(arg1
)->IsOk();
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10684 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10685 PyObject
*resultobj
= 0;
10686 wxCursor
*arg1
= (wxCursor
*) 0 ;
10690 PyObject
*swig_obj
[1] ;
10692 if (!args
) SWIG_fail
;
10693 swig_obj
[0] = args
;
10694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10695 if (!SWIG_IsOK(res1
)) {
10696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10698 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 result
= (int)(arg1
)->GetWidth();
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10705 resultobj
= SWIG_From_int(static_cast< int >(result
));
10712 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10713 PyObject
*resultobj
= 0;
10714 wxCursor
*arg1
= (wxCursor
*) 0 ;
10718 PyObject
*swig_obj
[1] ;
10720 if (!args
) SWIG_fail
;
10721 swig_obj
[0] = args
;
10722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10723 if (!SWIG_IsOK(res1
)) {
10724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10726 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 result
= (int)(arg1
)->GetHeight();
10730 wxPyEndAllowThreads(__tstate
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10733 resultobj
= SWIG_From_int(static_cast< int >(result
));
10740 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10741 PyObject
*resultobj
= 0;
10742 wxCursor
*arg1
= (wxCursor
*) 0 ;
10746 PyObject
*swig_obj
[1] ;
10748 if (!args
) SWIG_fail
;
10749 swig_obj
[0] = args
;
10750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10751 if (!SWIG_IsOK(res1
)) {
10752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10754 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 result
= (int)(arg1
)->GetDepth();
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 resultobj
= SWIG_From_int(static_cast< int >(result
));
10768 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
*resultobj
= 0;
10770 wxCursor
*arg1
= (wxCursor
*) 0 ;
10776 PyObject
* obj0
= 0 ;
10777 PyObject
* obj1
= 0 ;
10778 char * kwnames
[] = {
10779 (char *) "self",(char *) "w", NULL
10782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10784 if (!SWIG_IsOK(res1
)) {
10785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10787 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10789 if (!SWIG_IsOK(ecode2
)) {
10790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10792 arg2
= static_cast< int >(val2
);
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 (arg1
)->SetWidth(arg2
);
10796 wxPyEndAllowThreads(__tstate
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10799 resultobj
= SWIG_Py_Void();
10806 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
*resultobj
= 0;
10808 wxCursor
*arg1
= (wxCursor
*) 0 ;
10814 PyObject
* obj0
= 0 ;
10815 PyObject
* obj1
= 0 ;
10816 char * kwnames
[] = {
10817 (char *) "self",(char *) "h", NULL
10820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10822 if (!SWIG_IsOK(res1
)) {
10823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10825 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10827 if (!SWIG_IsOK(ecode2
)) {
10828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10830 arg2
= static_cast< int >(val2
);
10832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10833 (arg1
)->SetHeight(arg2
);
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 resultobj
= SWIG_Py_Void();
10844 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
= 0;
10846 wxCursor
*arg1
= (wxCursor
*) 0 ;
10852 PyObject
* obj0
= 0 ;
10853 PyObject
* obj1
= 0 ;
10854 char * kwnames
[] = {
10855 (char *) "self",(char *) "d", NULL
10858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10860 if (!SWIG_IsOK(res1
)) {
10861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10863 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10865 if (!SWIG_IsOK(ecode2
)) {
10866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10868 arg2
= static_cast< int >(val2
);
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 (arg1
)->SetDepth(arg2
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= SWIG_Py_Void();
10882 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
= 0;
10884 wxCursor
*arg1
= (wxCursor
*) 0 ;
10889 PyObject
* obj0
= 0 ;
10890 PyObject
* obj1
= 0 ;
10891 char * kwnames
[] = {
10892 (char *) "self",(char *) "size", NULL
10895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10897 if (!SWIG_IsOK(res1
)) {
10898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10900 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10903 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 (arg1
)->SetSize((wxSize
const &)*arg2
);
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10911 resultobj
= SWIG_Py_Void();
10918 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10920 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10921 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10922 return SWIG_Py_Void();
10925 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10926 return SWIG_Python_InitShadowInstance(args
);
10929 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
= 0;
10931 int arg1
= (int) 0 ;
10932 int arg2
= (int) 0 ;
10933 int arg3
= (int) 0 ;
10934 int arg4
= (int) 0 ;
10935 wxRegion
*result
= 0 ;
10944 PyObject
* obj0
= 0 ;
10945 PyObject
* obj1
= 0 ;
10946 PyObject
* obj2
= 0 ;
10947 PyObject
* obj3
= 0 ;
10948 char * kwnames
[] = {
10949 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10954 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10955 if (!SWIG_IsOK(ecode1
)) {
10956 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10958 arg1
= static_cast< int >(val1
);
10961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10962 if (!SWIG_IsOK(ecode2
)) {
10963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10965 arg2
= static_cast< int >(val2
);
10968 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10969 if (!SWIG_IsOK(ecode3
)) {
10970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10972 arg3
= static_cast< int >(val3
);
10975 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10976 if (!SWIG_IsOK(ecode4
)) {
10977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10979 arg4
= static_cast< int >(val4
);
10982 if (!wxPyCheckForApp()) SWIG_fail
;
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10985 wxPyEndAllowThreads(__tstate
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10995 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10996 PyObject
*resultobj
= 0;
10997 wxBitmap
*arg1
= 0 ;
10998 wxRegion
*result
= 0 ;
11001 PyObject
* obj0
= 0 ;
11002 char * kwnames
[] = {
11003 (char *) "bmp", NULL
11006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
11007 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11008 if (!SWIG_IsOK(res1
)) {
11009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11014 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11016 if (!wxPyCheckForApp()) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11029 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11030 PyObject
*resultobj
= 0;
11031 wxBitmap
*arg1
= 0 ;
11032 wxColour
*arg2
= 0 ;
11033 int arg3
= (int) 0 ;
11034 wxRegion
*result
= 0 ;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 PyObject
* obj2
= 0 ;
11043 char * kwnames
[] = {
11044 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11048 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11049 if (!SWIG_IsOK(res1
)) {
11050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
11055 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
11058 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11062 if (!SWIG_IsOK(ecode3
)) {
11063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
11065 arg3
= static_cast< int >(val3
);
11068 if (!wxPyCheckForApp()) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11081 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
*resultobj
= 0;
11084 wxPoint
*arg2
= (wxPoint
*) 0 ;
11085 int arg3
= (int) wxWINDING_RULE
;
11086 wxRegion
*result
= 0 ;
11089 PyObject
* obj0
= 0 ;
11090 PyObject
* obj1
= 0 ;
11091 char * kwnames
[] = {
11092 (char *) "points",(char *) "fillStyle", NULL
11095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11097 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
11098 if (arg2
== NULL
) SWIG_fail
;
11101 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
11102 if (!SWIG_IsOK(ecode3
)) {
11103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
11105 arg3
= static_cast< int >(val3
);
11108 if (!wxPyCheckForApp()) SWIG_fail
;
11109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
11111 wxPyEndAllowThreads(__tstate
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
11116 if (arg2
) delete [] arg2
;
11121 if (arg2
) delete [] arg2
;
11127 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11128 PyObject
*resultobj
= 0;
11129 wxRegion
*arg1
= (wxRegion
*) 0 ;
11132 PyObject
*swig_obj
[1] ;
11134 if (!args
) SWIG_fail
;
11135 swig_obj
[0] = args
;
11136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
11137 if (!SWIG_IsOK(res1
)) {
11138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
11140 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11145 wxPyEndAllowThreads(__tstate
);
11146 if (PyErr_Occurred()) SWIG_fail
;
11148 resultobj
= SWIG_Py_Void();
11155 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11156 PyObject
*resultobj
= 0;
11157 wxRegion
*arg1
= (wxRegion
*) 0 ;
11160 PyObject
*swig_obj
[1] ;
11162 if (!args
) SWIG_fail
;
11163 swig_obj
[0] = args
;
11164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11165 if (!SWIG_IsOK(res1
)) {
11166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
11168 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= SWIG_Py_Void();
11182 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
= 0;
11184 wxRegion
*arg1
= (wxRegion
*) 0 ;
11194 PyObject
* obj0
= 0 ;
11195 PyObject
* obj1
= 0 ;
11196 PyObject
* obj2
= 0 ;
11197 char * kwnames
[] = {
11198 (char *) "self",(char *) "x",(char *) "y", NULL
11201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11203 if (!SWIG_IsOK(res1
)) {
11204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
11206 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11208 if (!SWIG_IsOK(ecode2
)) {
11209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
11211 arg2
= static_cast< int >(val2
);
11212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11213 if (!SWIG_IsOK(ecode3
)) {
11214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
11216 arg3
= static_cast< int >(val3
);
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11232 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
= 0;
11234 wxRegion
*arg1
= (wxRegion
*) 0 ;
11237 wxRegionContain result
;
11244 PyObject
* obj0
= 0 ;
11245 PyObject
* obj1
= 0 ;
11246 PyObject
* obj2
= 0 ;
11247 char * kwnames
[] = {
11248 (char *) "self",(char *) "x",(char *) "y", NULL
11251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11253 if (!SWIG_IsOK(res1
)) {
11254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
11256 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11258 if (!SWIG_IsOK(ecode2
)) {
11259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
11261 arg2
= static_cast< int >(val2
);
11262 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11263 if (!SWIG_IsOK(ecode3
)) {
11264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
11266 arg3
= static_cast< int >(val3
);
11268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11269 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= SWIG_From_int(static_cast< int >(result
));
11280 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
= 0;
11282 wxRegion
*arg1
= (wxRegion
*) 0 ;
11283 wxPoint
*arg2
= 0 ;
11284 wxRegionContain result
;
11288 PyObject
* obj0
= 0 ;
11289 PyObject
* obj1
= 0 ;
11290 char * kwnames
[] = {
11291 (char *) "self",(char *) "pt", NULL
11294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11296 if (!SWIG_IsOK(res1
)) {
11297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
11299 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11302 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11310 resultobj
= SWIG_From_int(static_cast< int >(result
));
11317 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
*resultobj
= 0;
11319 wxRegion
*arg1
= (wxRegion
*) 0 ;
11321 wxRegionContain result
;
11325 PyObject
* obj0
= 0 ;
11326 PyObject
* obj1
= 0 ;
11327 char * kwnames
[] = {
11328 (char *) "self",(char *) "rect", NULL
11331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11333 if (!SWIG_IsOK(res1
)) {
11334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11336 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11339 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= SWIG_From_int(static_cast< int >(result
));
11354 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
= 0;
11356 wxRegion
*arg1
= (wxRegion
*) 0 ;
11361 wxRegionContain result
;
11372 PyObject
* obj0
= 0 ;
11373 PyObject
* obj1
= 0 ;
11374 PyObject
* obj2
= 0 ;
11375 PyObject
* obj3
= 0 ;
11376 PyObject
* obj4
= 0 ;
11377 char * kwnames
[] = {
11378 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11383 if (!SWIG_IsOK(res1
)) {
11384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11386 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11388 if (!SWIG_IsOK(ecode2
)) {
11389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11391 arg2
= static_cast< int >(val2
);
11392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11393 if (!SWIG_IsOK(ecode3
)) {
11394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11396 arg3
= static_cast< int >(val3
);
11397 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11398 if (!SWIG_IsOK(ecode4
)) {
11399 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11401 arg4
= static_cast< int >(val4
);
11402 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11403 if (!SWIG_IsOK(ecode5
)) {
11404 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11406 arg5
= static_cast< int >(val5
);
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11413 resultobj
= SWIG_From_int(static_cast< int >(result
));
11420 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11421 PyObject
*resultobj
= 0;
11422 wxRegion
*arg1
= (wxRegion
*) 0 ;
11426 PyObject
*swig_obj
[1] ;
11428 if (!args
) SWIG_fail
;
11429 swig_obj
[0] = args
;
11430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11431 if (!SWIG_IsOK(res1
)) {
11432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11434 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11437 result
= (arg1
)->GetBox();
11438 wxPyEndAllowThreads(__tstate
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11441 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11448 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11449 PyObject
*resultobj
= 0;
11450 wxRegion
*arg1
= (wxRegion
*) 0 ;
11466 PyObject
* obj0
= 0 ;
11467 PyObject
* obj1
= 0 ;
11468 PyObject
* obj2
= 0 ;
11469 PyObject
* obj3
= 0 ;
11470 PyObject
* obj4
= 0 ;
11471 char * kwnames
[] = {
11472 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11477 if (!SWIG_IsOK(res1
)) {
11478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11480 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11482 if (!SWIG_IsOK(ecode2
)) {
11483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11485 arg2
= static_cast< int >(val2
);
11486 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11487 if (!SWIG_IsOK(ecode3
)) {
11488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11490 arg3
= static_cast< int >(val3
);
11491 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11492 if (!SWIG_IsOK(ecode4
)) {
11493 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11495 arg4
= static_cast< int >(val4
);
11496 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11497 if (!SWIG_IsOK(ecode5
)) {
11498 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11500 arg5
= static_cast< int >(val5
);
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11516 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
= 0;
11518 wxRegion
*arg1
= (wxRegion
*) 0 ;
11524 PyObject
* obj0
= 0 ;
11525 PyObject
* obj1
= 0 ;
11526 char * kwnames
[] = {
11527 (char *) "self",(char *) "rect", NULL
11530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11532 if (!SWIG_IsOK(res1
)) {
11533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11535 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11538 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11555 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
= 0;
11557 wxRegion
*arg1
= (wxRegion
*) 0 ;
11558 wxRegion
*arg2
= 0 ;
11564 PyObject
* obj0
= 0 ;
11565 PyObject
* obj1
= 0 ;
11566 char * kwnames
[] = {
11567 (char *) "self",(char *) "region", NULL
11570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11572 if (!SWIG_IsOK(res1
)) {
11573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11575 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11576 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11577 if (!SWIG_IsOK(res2
)) {
11578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11583 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11599 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11600 PyObject
*resultobj
= 0;
11601 wxRegion
*arg1
= (wxRegion
*) 0 ;
11605 PyObject
*swig_obj
[1] ;
11607 if (!args
) SWIG_fail
;
11608 swig_obj
[0] = args
;
11609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11610 if (!SWIG_IsOK(res1
)) {
11611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11613 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 result
= (bool)(arg1
)->IsEmpty();
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11629 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
= 0;
11631 wxRegion
*arg1
= (wxRegion
*) 0 ;
11632 wxRegion
*arg2
= 0 ;
11638 PyObject
* obj0
= 0 ;
11639 PyObject
* obj1
= 0 ;
11640 char * kwnames
[] = {
11641 (char *) "self",(char *) "region", NULL
11644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11646 if (!SWIG_IsOK(res1
)) {
11647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11649 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11651 if (!SWIG_IsOK(res2
)) {
11652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11657 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11660 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11673 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
= 0;
11675 wxRegion
*arg1
= (wxRegion
*) 0 ;
11691 PyObject
* obj0
= 0 ;
11692 PyObject
* obj1
= 0 ;
11693 PyObject
* obj2
= 0 ;
11694 PyObject
* obj3
= 0 ;
11695 PyObject
* obj4
= 0 ;
11696 char * kwnames
[] = {
11697 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11702 if (!SWIG_IsOK(res1
)) {
11703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11705 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11707 if (!SWIG_IsOK(ecode2
)) {
11708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11710 arg2
= static_cast< int >(val2
);
11711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11712 if (!SWIG_IsOK(ecode3
)) {
11713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11715 arg3
= static_cast< int >(val3
);
11716 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11717 if (!SWIG_IsOK(ecode4
)) {
11718 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11720 arg4
= static_cast< int >(val4
);
11721 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11722 if (!SWIG_IsOK(ecode5
)) {
11723 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11725 arg5
= static_cast< int >(val5
);
11727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11728 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11741 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11742 PyObject
*resultobj
= 0;
11743 wxRegion
*arg1
= (wxRegion
*) 0 ;
11749 PyObject
* obj0
= 0 ;
11750 PyObject
* obj1
= 0 ;
11751 char * kwnames
[] = {
11752 (char *) "self",(char *) "rect", NULL
11755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11757 if (!SWIG_IsOK(res1
)) {
11758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11760 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11763 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11780 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
= 0;
11782 wxRegion
*arg1
= (wxRegion
*) 0 ;
11783 wxRegion
*arg2
= 0 ;
11789 PyObject
* obj0
= 0 ;
11790 PyObject
* obj1
= 0 ;
11791 char * kwnames
[] = {
11792 (char *) "self",(char *) "region", NULL
11795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11797 if (!SWIG_IsOK(res1
)) {
11798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11800 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11801 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11802 if (!SWIG_IsOK(res2
)) {
11803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11808 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11811 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11824 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
= 0;
11826 wxRegion
*arg1
= (wxRegion
*) 0 ;
11842 PyObject
* obj0
= 0 ;
11843 PyObject
* obj1
= 0 ;
11844 PyObject
* obj2
= 0 ;
11845 PyObject
* obj3
= 0 ;
11846 PyObject
* obj4
= 0 ;
11847 char * kwnames
[] = {
11848 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11853 if (!SWIG_IsOK(res1
)) {
11854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11856 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11858 if (!SWIG_IsOK(ecode2
)) {
11859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11861 arg2
= static_cast< int >(val2
);
11862 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11863 if (!SWIG_IsOK(ecode3
)) {
11864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11866 arg3
= static_cast< int >(val3
);
11867 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11868 if (!SWIG_IsOK(ecode4
)) {
11869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11871 arg4
= static_cast< int >(val4
);
11872 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11873 if (!SWIG_IsOK(ecode5
)) {
11874 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11876 arg5
= static_cast< int >(val5
);
11878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11879 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11892 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
= 0;
11894 wxRegion
*arg1
= (wxRegion
*) 0 ;
11900 PyObject
* obj0
= 0 ;
11901 PyObject
* obj1
= 0 ;
11902 char * kwnames
[] = {
11903 (char *) "self",(char *) "rect", NULL
11906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11908 if (!SWIG_IsOK(res1
)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11911 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11914 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11919 wxPyEndAllowThreads(__tstate
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11931 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
*resultobj
= 0;
11933 wxRegion
*arg1
= (wxRegion
*) 0 ;
11934 wxRegion
*arg2
= 0 ;
11940 PyObject
* obj0
= 0 ;
11941 PyObject
* obj1
= 0 ;
11942 char * kwnames
[] = {
11943 (char *) "self",(char *) "region", NULL
11946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11948 if (!SWIG_IsOK(res1
)) {
11949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11951 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11952 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11953 if (!SWIG_IsOK(res2
)) {
11954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11959 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11975 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11976 PyObject
*resultobj
= 0;
11977 wxRegion
*arg1
= (wxRegion
*) 0 ;
11993 PyObject
* obj0
= 0 ;
11994 PyObject
* obj1
= 0 ;
11995 PyObject
* obj2
= 0 ;
11996 PyObject
* obj3
= 0 ;
11997 PyObject
* obj4
= 0 ;
11998 char * kwnames
[] = {
11999 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
12002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
12003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12004 if (!SWIG_IsOK(res1
)) {
12005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
12007 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12009 if (!SWIG_IsOK(ecode2
)) {
12010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
12012 arg2
= static_cast< int >(val2
);
12013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12014 if (!SWIG_IsOK(ecode3
)) {
12015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
12017 arg3
= static_cast< int >(val3
);
12018 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12019 if (!SWIG_IsOK(ecode4
)) {
12020 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
12022 arg4
= static_cast< int >(val4
);
12023 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
12024 if (!SWIG_IsOK(ecode5
)) {
12025 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
12027 arg5
= static_cast< int >(val5
);
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
12031 wxPyEndAllowThreads(__tstate
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12043 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
= 0;
12045 wxRegion
*arg1
= (wxRegion
*) 0 ;
12051 PyObject
* obj0
= 0 ;
12052 PyObject
* obj1
= 0 ;
12053 char * kwnames
[] = {
12054 (char *) "self",(char *) "rect", NULL
12057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12059 if (!SWIG_IsOK(res1
)) {
12060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
12062 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12065 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12082 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
= 0;
12084 wxRegion
*arg1
= (wxRegion
*) 0 ;
12085 wxRegion
*arg2
= 0 ;
12091 PyObject
* obj0
= 0 ;
12092 PyObject
* obj1
= 0 ;
12093 char * kwnames
[] = {
12094 (char *) "self",(char *) "region", NULL
12097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12099 if (!SWIG_IsOK(res1
)) {
12100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
12102 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12103 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
12104 if (!SWIG_IsOK(res2
)) {
12105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
12110 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12126 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12127 PyObject
*resultobj
= 0;
12128 wxRegion
*arg1
= (wxRegion
*) 0 ;
12129 SwigValueWrapper
<wxBitmap
> result
;
12132 PyObject
*swig_obj
[1] ;
12134 if (!args
) SWIG_fail
;
12135 swig_obj
[0] = args
;
12136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12137 if (!SWIG_IsOK(res1
)) {
12138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12140 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 result
= (arg1
)->ConvertToBitmap();
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
12154 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
= 0;
12156 wxRegion
*arg1
= (wxRegion
*) 0 ;
12157 wxBitmap
*arg2
= 0 ;
12163 PyObject
* obj0
= 0 ;
12164 PyObject
* obj1
= 0 ;
12165 char * kwnames
[] = {
12166 (char *) "self",(char *) "bmp", NULL
12169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12171 if (!SWIG_IsOK(res1
)) {
12172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12174 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12176 if (!SWIG_IsOK(res2
)) {
12177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12182 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12198 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
= 0;
12200 wxRegion
*arg1
= (wxRegion
*) 0 ;
12201 wxBitmap
*arg2
= 0 ;
12202 wxColour
*arg3
= 0 ;
12203 int arg4
= (int) 0 ;
12212 PyObject
* obj0
= 0 ;
12213 PyObject
* obj1
= 0 ;
12214 PyObject
* obj2
= 0 ;
12215 PyObject
* obj3
= 0 ;
12216 char * kwnames
[] = {
12217 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
12220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12222 if (!SWIG_IsOK(res1
)) {
12223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
12225 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12226 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12227 if (!SWIG_IsOK(res2
)) {
12228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12233 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12236 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12239 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12240 if (!SWIG_IsOK(ecode4
)) {
12241 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
12243 arg4
= static_cast< int >(val4
);
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12260 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12262 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12263 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
12264 return SWIG_Py_Void();
12267 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12268 return SWIG_Python_InitShadowInstance(args
);
12271 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
= 0;
12273 wxRegion
*arg1
= 0 ;
12274 wxRegionIterator
*result
= 0 ;
12277 PyObject
* obj0
= 0 ;
12278 char * kwnames
[] = {
12279 (char *) "region", NULL
12282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
12283 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
12284 if (!SWIG_IsOK(res1
)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12290 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12292 if (!wxPyCheckForApp()) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
12305 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12306 PyObject
*resultobj
= 0;
12307 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12310 PyObject
*swig_obj
[1] ;
12312 if (!args
) SWIG_fail
;
12313 swig_obj
[0] = args
;
12314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
12315 if (!SWIG_IsOK(res1
)) {
12316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12318 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= SWIG_Py_Void();
12333 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12334 PyObject
*resultobj
= 0;
12335 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12339 PyObject
*swig_obj
[1] ;
12341 if (!args
) SWIG_fail
;
12342 swig_obj
[0] = args
;
12343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12344 if (!SWIG_IsOK(res1
)) {
12345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12347 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 result
= (int)(arg1
)->GetX();
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 resultobj
= SWIG_From_int(static_cast< int >(result
));
12361 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12362 PyObject
*resultobj
= 0;
12363 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12367 PyObject
*swig_obj
[1] ;
12369 if (!args
) SWIG_fail
;
12370 swig_obj
[0] = args
;
12371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12372 if (!SWIG_IsOK(res1
)) {
12373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12375 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12378 result
= (int)(arg1
)->GetY();
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12382 resultobj
= SWIG_From_int(static_cast< int >(result
));
12389 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12390 PyObject
*resultobj
= 0;
12391 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12395 PyObject
*swig_obj
[1] ;
12397 if (!args
) SWIG_fail
;
12398 swig_obj
[0] = args
;
12399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12400 if (!SWIG_IsOK(res1
)) {
12401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12403 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 result
= (int)(arg1
)->GetW();
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 resultobj
= SWIG_From_int(static_cast< int >(result
));
12417 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12418 PyObject
*resultobj
= 0;
12419 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12423 PyObject
*swig_obj
[1] ;
12425 if (!args
) SWIG_fail
;
12426 swig_obj
[0] = args
;
12427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12428 if (!SWIG_IsOK(res1
)) {
12429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12431 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= (int)(arg1
)->GetWidth();
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12438 resultobj
= SWIG_From_int(static_cast< int >(result
));
12445 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12446 PyObject
*resultobj
= 0;
12447 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12451 PyObject
*swig_obj
[1] ;
12453 if (!args
) SWIG_fail
;
12454 swig_obj
[0] = args
;
12455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12456 if (!SWIG_IsOK(res1
)) {
12457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12459 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (int)(arg1
)->GetH();
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= SWIG_From_int(static_cast< int >(result
));
12473 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12474 PyObject
*resultobj
= 0;
12475 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12479 PyObject
*swig_obj
[1] ;
12481 if (!args
) SWIG_fail
;
12482 swig_obj
[0] = args
;
12483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12484 if (!SWIG_IsOK(res1
)) {
12485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12487 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 result
= (int)(arg1
)->GetHeight();
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12494 resultobj
= SWIG_From_int(static_cast< int >(result
));
12501 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12502 PyObject
*resultobj
= 0;
12503 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12507 PyObject
*swig_obj
[1] ;
12509 if (!args
) SWIG_fail
;
12510 swig_obj
[0] = args
;
12511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12512 if (!SWIG_IsOK(res1
)) {
12513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12515 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (arg1
)->GetRect();
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12522 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12529 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12530 PyObject
*resultobj
= 0;
12531 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12535 PyObject
*swig_obj
[1] ;
12537 if (!args
) SWIG_fail
;
12538 swig_obj
[0] = args
;
12539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12540 if (!SWIG_IsOK(res1
)) {
12541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12543 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 result
= (bool)(arg1
)->HaveRects();
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12559 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12560 PyObject
*resultobj
= 0;
12561 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12564 PyObject
*swig_obj
[1] ;
12566 if (!args
) SWIG_fail
;
12567 swig_obj
[0] = args
;
12568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12569 if (!SWIG_IsOK(res1
)) {
12570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12572 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12579 resultobj
= SWIG_Py_Void();
12586 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12587 PyObject
*resultobj
= 0;
12588 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12591 PyObject
*swig_obj
[1] ;
12593 if (!args
) SWIG_fail
;
12594 swig_obj
[0] = args
;
12595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12596 if (!SWIG_IsOK(res1
)) {
12597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12599 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 wxRegionIterator_Next(arg1
);
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= SWIG_Py_Void();
12613 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12614 PyObject
*resultobj
= 0;
12615 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12619 PyObject
*swig_obj
[1] ;
12621 if (!args
) SWIG_fail
;
12622 swig_obj
[0] = args
;
12623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12624 if (!SWIG_IsOK(res1
)) {
12625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12627 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12643 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12646 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12647 return SWIG_Py_Void();
12650 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12651 return SWIG_Python_InitShadowInstance(args
);
12654 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12655 PyObject
*resultobj
= 0;
12656 wxNativeFontInfo
*result
= 0 ;
12658 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12672 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12673 PyObject
*resultobj
= 0;
12674 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12677 PyObject
*swig_obj
[1] ;
12679 if (!args
) SWIG_fail
;
12680 swig_obj
[0] = args
;
12681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12682 if (!SWIG_IsOK(res1
)) {
12683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12685 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= SWIG_Py_Void();
12700 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12701 PyObject
*resultobj
= 0;
12702 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12705 PyObject
*swig_obj
[1] ;
12707 if (!args
) SWIG_fail
;
12708 swig_obj
[0] = args
;
12709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12710 if (!SWIG_IsOK(res1
)) {
12711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12713 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12720 resultobj
= SWIG_Py_Void();
12727 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
*resultobj
= 0;
12729 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12735 PyObject
* obj0
= 0 ;
12736 PyObject
* obj1
= 0 ;
12737 char * kwnames
[] = {
12738 (char *) "self",(char *) "font", NULL
12741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12743 if (!SWIG_IsOK(res1
)) {
12744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12746 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12747 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12748 if (!SWIG_IsOK(res2
)) {
12749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12754 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12761 resultobj
= SWIG_Py_Void();
12768 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12769 PyObject
*resultobj
= 0;
12770 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12774 PyObject
*swig_obj
[1] ;
12776 if (!args
) SWIG_fail
;
12777 swig_obj
[0] = args
;
12778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12779 if (!SWIG_IsOK(res1
)) {
12780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12782 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12789 resultobj
= SWIG_From_int(static_cast< int >(result
));
12796 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12797 PyObject
*resultobj
= 0;
12798 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12802 PyObject
*swig_obj
[1] ;
12804 if (!args
) SWIG_fail
;
12805 swig_obj
[0] = args
;
12806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12807 if (!SWIG_IsOK(res1
)) {
12808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12810 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12813 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12824 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12825 PyObject
*resultobj
= 0;
12826 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12827 wxFontStyle result
;
12830 PyObject
*swig_obj
[1] ;
12832 if (!args
) SWIG_fail
;
12833 swig_obj
[0] = args
;
12834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12835 if (!SWIG_IsOK(res1
)) {
12836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12838 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12845 resultobj
= SWIG_From_int(static_cast< int >(result
));
12852 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12853 PyObject
*resultobj
= 0;
12854 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12855 wxFontWeight result
;
12858 PyObject
*swig_obj
[1] ;
12860 if (!args
) SWIG_fail
;
12861 swig_obj
[0] = args
;
12862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12863 if (!SWIG_IsOK(res1
)) {
12864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12866 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12873 resultobj
= SWIG_From_int(static_cast< int >(result
));
12880 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12881 PyObject
*resultobj
= 0;
12882 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12886 PyObject
*swig_obj
[1] ;
12888 if (!args
) SWIG_fail
;
12889 swig_obj
[0] = args
;
12890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12891 if (!SWIG_IsOK(res1
)) {
12892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12894 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12910 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12911 PyObject
*resultobj
= 0;
12912 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12916 PyObject
*swig_obj
[1] ;
12918 if (!args
) SWIG_fail
;
12919 swig_obj
[0] = args
;
12920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12921 if (!SWIG_IsOK(res1
)) {
12922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12924 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12944 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12945 PyObject
*resultobj
= 0;
12946 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12947 wxFontFamily result
;
12950 PyObject
*swig_obj
[1] ;
12952 if (!args
) SWIG_fail
;
12953 swig_obj
[0] = args
;
12954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12955 if (!SWIG_IsOK(res1
)) {
12956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12958 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12962 wxPyEndAllowThreads(__tstate
);
12963 if (PyErr_Occurred()) SWIG_fail
;
12965 resultobj
= SWIG_From_int(static_cast< int >(result
));
12972 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12973 PyObject
*resultobj
= 0;
12974 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12975 wxFontEncoding result
;
12978 PyObject
*swig_obj
[1] ;
12980 if (!args
) SWIG_fail
;
12981 swig_obj
[0] = args
;
12982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12983 if (!SWIG_IsOK(res1
)) {
12984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12986 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12993 resultobj
= SWIG_From_int(static_cast< int >(result
));
13000 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13001 PyObject
*resultobj
= 0;
13002 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13008 PyObject
* obj0
= 0 ;
13009 PyObject
* obj1
= 0 ;
13010 char * kwnames
[] = {
13011 (char *) "self",(char *) "pointsize", NULL
13014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13016 if (!SWIG_IsOK(res1
)) {
13017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13019 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13021 if (!SWIG_IsOK(ecode2
)) {
13022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
13024 arg2
= static_cast< int >(val2
);
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 (arg1
)->SetPointSize(arg2
);
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13031 resultobj
= SWIG_Py_Void();
13038 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
= 0;
13040 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13045 PyObject
* obj0
= 0 ;
13046 PyObject
* obj1
= 0 ;
13047 char * kwnames
[] = {
13048 (char *) "self",(char *) "pixelSize", NULL
13051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13053 if (!SWIG_IsOK(res1
)) {
13054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13056 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13059 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13063 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13067 resultobj
= SWIG_Py_Void();
13074 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
= 0;
13076 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13082 PyObject
* obj0
= 0 ;
13083 PyObject
* obj1
= 0 ;
13084 char * kwnames
[] = {
13085 (char *) "self",(char *) "style", NULL
13088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13090 if (!SWIG_IsOK(res1
)) {
13091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13093 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13095 if (!SWIG_IsOK(ecode2
)) {
13096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
13098 arg2
= static_cast< wxFontStyle
>(val2
);
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 (arg1
)->SetStyle(arg2
);
13102 wxPyEndAllowThreads(__tstate
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13105 resultobj
= SWIG_Py_Void();
13112 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13113 PyObject
*resultobj
= 0;
13114 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13115 wxFontWeight arg2
;
13120 PyObject
* obj0
= 0 ;
13121 PyObject
* obj1
= 0 ;
13122 char * kwnames
[] = {
13123 (char *) "self",(char *) "weight", NULL
13126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13128 if (!SWIG_IsOK(res1
)) {
13129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13131 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13133 if (!SWIG_IsOK(ecode2
)) {
13134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
13136 arg2
= static_cast< wxFontWeight
>(val2
);
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 (arg1
)->SetWeight(arg2
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13143 resultobj
= SWIG_Py_Void();
13150 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
= 0;
13152 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13158 PyObject
* obj0
= 0 ;
13159 PyObject
* obj1
= 0 ;
13160 char * kwnames
[] = {
13161 (char *) "self",(char *) "underlined", NULL
13164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13166 if (!SWIG_IsOK(res1
)) {
13167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13169 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13170 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13171 if (!SWIG_IsOK(ecode2
)) {
13172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
13174 arg2
= static_cast< bool >(val2
);
13176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13177 (arg1
)->SetUnderlined(arg2
);
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 resultobj
= SWIG_Py_Void();
13188 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
= 0;
13190 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13195 PyObject
* obj0
= 0 ;
13196 PyObject
* obj1
= 0 ;
13197 char * kwnames
[] = {
13198 (char *) "self",(char *) "facename", NULL
13201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13203 if (!SWIG_IsOK(res1
)) {
13204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13206 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13208 wxString
* sptr
= wxString_in_helper(obj1
);
13209 if (sptr
== NULL
) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (bool)(arg1
)->SetFaceName(arg2
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13228 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13229 PyObject
*resultobj
= 0;
13230 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13231 wxFontFamily arg2
;
13236 PyObject
* obj0
= 0 ;
13237 PyObject
* obj1
= 0 ;
13238 char * kwnames
[] = {
13239 (char *) "self",(char *) "family", NULL
13242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13244 if (!SWIG_IsOK(res1
)) {
13245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13247 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13249 if (!SWIG_IsOK(ecode2
)) {
13250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
13252 arg2
= static_cast< wxFontFamily
>(val2
);
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 (arg1
)->SetFamily(arg2
);
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= SWIG_Py_Void();
13266 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
= 0;
13268 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13269 wxFontEncoding arg2
;
13274 PyObject
* obj0
= 0 ;
13275 PyObject
* obj1
= 0 ;
13276 char * kwnames
[] = {
13277 (char *) "self",(char *) "encoding", NULL
13280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13282 if (!SWIG_IsOK(res1
)) {
13283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13285 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13287 if (!SWIG_IsOK(ecode2
)) {
13288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13290 arg2
= static_cast< wxFontEncoding
>(val2
);
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 (arg1
)->SetEncoding(arg2
);
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= SWIG_Py_Void();
13304 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13305 PyObject
*resultobj
= 0;
13306 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13307 wxString
*arg2
= 0 ;
13311 bool temp2
= false ;
13312 PyObject
* obj0
= 0 ;
13313 PyObject
* obj1
= 0 ;
13314 char * kwnames
[] = {
13315 (char *) "self",(char *) "s", NULL
13318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13320 if (!SWIG_IsOK(res1
)) {
13321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13323 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13325 arg2
= wxString_in_helper(obj1
);
13326 if (arg2
== NULL
) SWIG_fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13352 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13353 PyObject
*resultobj
= 0;
13354 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13358 PyObject
*swig_obj
[1] ;
13360 if (!args
) SWIG_fail
;
13361 swig_obj
[0] = args
;
13362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13363 if (!SWIG_IsOK(res1
)) {
13364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13366 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13386 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13387 PyObject
*resultobj
= 0;
13388 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13392 PyObject
*swig_obj
[1] ;
13394 if (!args
) SWIG_fail
;
13395 swig_obj
[0] = args
;
13396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13397 if (!SWIG_IsOK(res1
)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13400 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13403 result
= wxNativeFontInfo___str__(arg1
);
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13420 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
= 0;
13422 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13423 wxString
*arg2
= 0 ;
13427 bool temp2
= false ;
13428 PyObject
* obj0
= 0 ;
13429 PyObject
* obj1
= 0 ;
13430 char * kwnames
[] = {
13431 (char *) "self",(char *) "s", NULL
13434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13436 if (!SWIG_IsOK(res1
)) {
13437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13439 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13441 arg2
= wxString_in_helper(obj1
);
13442 if (arg2
== NULL
) SWIG_fail
;
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13468 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13469 PyObject
*resultobj
= 0;
13470 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13474 PyObject
*swig_obj
[1] ;
13476 if (!args
) SWIG_fail
;
13477 swig_obj
[0] = args
;
13478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13479 if (!SWIG_IsOK(res1
)) {
13480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13482 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13491 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13493 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13502 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13504 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13505 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13506 return SWIG_Py_Void();
13509 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13510 return SWIG_Python_InitShadowInstance(args
);
13513 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13514 PyObject
*resultobj
= 0;
13515 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13516 wxString
*arg2
= (wxString
*) 0 ;
13519 bool temp2
= false ;
13520 PyObject
*swig_obj
[2] ;
13522 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13524 if (!SWIG_IsOK(res1
)) {
13525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13527 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13529 arg2
= wxString_in_helper(swig_obj
[1]);
13530 if (arg2
== NULL
) SWIG_fail
;
13533 if (arg1
) (arg1
)->facename
= *arg2
;
13535 resultobj
= SWIG_Py_Void();
13550 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13551 PyObject
*resultobj
= 0;
13552 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13553 wxString
*result
= 0 ;
13556 PyObject
*swig_obj
[1] ;
13558 if (!args
) SWIG_fail
;
13559 swig_obj
[0] = args
;
13560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13561 if (!SWIG_IsOK(res1
)) {
13562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13564 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13565 result
= (wxString
*)& ((arg1
)->facename
);
13568 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13570 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13579 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13580 PyObject
*resultobj
= 0;
13581 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13582 wxFontEncoding arg2
;
13587 PyObject
*swig_obj
[2] ;
13589 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13591 if (!SWIG_IsOK(res1
)) {
13592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13594 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13595 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13596 if (!SWIG_IsOK(ecode2
)) {
13597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13599 arg2
= static_cast< wxFontEncoding
>(val2
);
13600 if (arg1
) (arg1
)->encoding
= arg2
;
13602 resultobj
= SWIG_Py_Void();
13609 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13610 PyObject
*resultobj
= 0;
13611 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13612 wxFontEncoding result
;
13615 PyObject
*swig_obj
[1] ;
13617 if (!args
) SWIG_fail
;
13618 swig_obj
[0] = args
;
13619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13620 if (!SWIG_IsOK(res1
)) {
13621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13623 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13624 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13625 resultobj
= SWIG_From_int(static_cast< int >(result
));
13632 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13633 PyObject
*resultobj
= 0;
13634 wxNativeEncodingInfo
*result
= 0 ;
13636 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13650 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13651 PyObject
*resultobj
= 0;
13652 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13655 PyObject
*swig_obj
[1] ;
13657 if (!args
) SWIG_fail
;
13658 swig_obj
[0] = args
;
13659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13660 if (!SWIG_IsOK(res1
)) {
13661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13663 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= SWIG_Py_Void();
13678 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
= 0;
13680 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13681 wxString
*arg2
= 0 ;
13685 bool temp2
= false ;
13686 PyObject
* obj0
= 0 ;
13687 PyObject
* obj1
= 0 ;
13688 char * kwnames
[] = {
13689 (char *) "self",(char *) "s", NULL
13692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13694 if (!SWIG_IsOK(res1
)) {
13695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13697 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13699 arg2
= wxString_in_helper(obj1
);
13700 if (arg2
== NULL
) SWIG_fail
;
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13705 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13706 wxPyEndAllowThreads(__tstate
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13726 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13727 PyObject
*resultobj
= 0;
13728 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13732 PyObject
*swig_obj
[1] ;
13734 if (!args
) SWIG_fail
;
13735 swig_obj
[0] = args
;
13736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13737 if (!SWIG_IsOK(res1
)) {
13738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13740 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13744 wxPyEndAllowThreads(__tstate
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13760 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13763 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13764 return SWIG_Py_Void();
13767 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13768 return SWIG_Python_InitShadowInstance(args
);
13771 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
*resultobj
= 0;
13773 wxFontEncoding arg1
;
13774 wxNativeEncodingInfo
*result
= 0 ;
13777 PyObject
* obj0
= 0 ;
13778 char * kwnames
[] = {
13779 (char *) "encoding", NULL
13782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13783 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13784 if (!SWIG_IsOK(ecode1
)) {
13785 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13787 arg1
= static_cast< wxFontEncoding
>(val1
);
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13801 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
= 0;
13803 wxNativeEncodingInfo
*arg1
= 0 ;
13807 PyObject
* obj0
= 0 ;
13808 char * kwnames
[] = {
13809 (char *) "info", NULL
13812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13813 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13814 if (!SWIG_IsOK(res1
)) {
13815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13820 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13823 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13824 wxPyEndAllowThreads(__tstate
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13836 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13837 PyObject
*resultobj
= 0;
13838 wxFontMapper
*result
= 0 ;
13840 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= (wxFontMapper
*)new wxFontMapper();
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13854 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13855 PyObject
*resultobj
= 0;
13856 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13859 PyObject
*swig_obj
[1] ;
13861 if (!args
) SWIG_fail
;
13862 swig_obj
[0] = args
;
13863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13864 if (!SWIG_IsOK(res1
)) {
13865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13867 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13875 resultobj
= SWIG_Py_Void();
13882 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13883 PyObject
*resultobj
= 0;
13884 wxFontMapper
*result
= 0 ;
13886 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13889 result
= (wxFontMapper
*)wxFontMapper::Get();
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13900 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
= 0;
13902 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13903 wxFontMapper
*result
= 0 ;
13906 PyObject
* obj0
= 0 ;
13907 char * kwnames
[] = {
13908 (char *) "mapper", NULL
13911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13913 if (!SWIG_IsOK(res1
)) {
13914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13916 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13920 wxPyEndAllowThreads(__tstate
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13930 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
= 0;
13932 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13933 wxString
*arg2
= 0 ;
13934 bool arg3
= (bool) true ;
13935 wxFontEncoding result
;
13938 bool temp2
= false ;
13941 PyObject
* obj0
= 0 ;
13942 PyObject
* obj1
= 0 ;
13943 PyObject
* obj2
= 0 ;
13944 char * kwnames
[] = {
13945 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13950 if (!SWIG_IsOK(res1
)) {
13951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13953 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13955 arg2
= wxString_in_helper(obj1
);
13956 if (arg2
== NULL
) SWIG_fail
;
13960 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13961 if (!SWIG_IsOK(ecode3
)) {
13962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13964 arg3
= static_cast< bool >(val3
);
13967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13968 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13969 wxPyEndAllowThreads(__tstate
);
13970 if (PyErr_Occurred()) SWIG_fail
;
13972 resultobj
= SWIG_From_int(static_cast< int >(result
));
13987 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13988 PyObject
*resultobj
= 0;
13991 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13995 wxPyEndAllowThreads(__tstate
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13998 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14005 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14006 PyObject
*resultobj
= 0;
14008 wxFontEncoding result
;
14011 PyObject
* obj0
= 0 ;
14012 char * kwnames
[] = {
14016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
14017 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
14018 if (!SWIG_IsOK(ecode1
)) {
14019 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
14021 arg1
= static_cast< size_t >(val1
);
14023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14024 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 resultobj
= SWIG_From_int(static_cast< int >(result
));
14035 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
= 0;
14037 wxFontEncoding arg1
;
14041 PyObject
* obj0
= 0 ;
14042 char * kwnames
[] = {
14043 (char *) "encoding", NULL
14046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
14047 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14048 if (!SWIG_IsOK(ecode1
)) {
14049 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14051 arg1
= static_cast< wxFontEncoding
>(val1
);
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 result
= wxFontMapper::GetEncodingName(arg1
);
14055 wxPyEndAllowThreads(__tstate
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14071 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
= 0;
14073 wxFontEncoding arg1
;
14077 PyObject
* obj0
= 0 ;
14078 char * kwnames
[] = {
14079 (char *) "encoding", NULL
14082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
14083 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14084 if (!SWIG_IsOK(ecode1
)) {
14085 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14087 arg1
= static_cast< wxFontEncoding
>(val1
);
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 result
= wxFontMapper::GetEncodingDescription(arg1
);
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14107 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
= 0;
14109 wxString
*arg1
= 0 ;
14110 wxFontEncoding result
;
14111 bool temp1
= false ;
14112 PyObject
* obj0
= 0 ;
14113 char * kwnames
[] = {
14114 (char *) "name", NULL
14117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
14119 arg1
= wxString_in_helper(obj0
);
14120 if (arg1
== NULL
) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14129 resultobj
= SWIG_From_int(static_cast< int >(result
));
14144 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
= 0;
14146 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14147 wxString
*arg2
= 0 ;
14150 bool temp2
= false ;
14151 PyObject
* obj0
= 0 ;
14152 PyObject
* obj1
= 0 ;
14153 char * kwnames
[] = {
14154 (char *) "self",(char *) "prefix", NULL
14157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14159 if (!SWIG_IsOK(res1
)) {
14160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14162 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14164 arg2
= wxString_in_helper(obj1
);
14165 if (arg2
== NULL
) SWIG_fail
;
14169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14170 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
14171 wxPyEndAllowThreads(__tstate
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14174 resultobj
= SWIG_Py_Void();
14189 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14190 PyObject
*resultobj
= 0;
14193 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
14195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14196 result
= wxFontMapper::GetDefaultConfigPath();
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14202 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14204 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14213 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14214 PyObject
*resultobj
= 0;
14215 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14216 wxFontEncoding arg2
;
14217 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14218 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14219 bool arg4
= (bool) true ;
14220 PyObject
*result
= 0 ;
14225 bool temp3
= false ;
14228 PyObject
* obj0
= 0 ;
14229 PyObject
* obj1
= 0 ;
14230 PyObject
* obj2
= 0 ;
14231 PyObject
* obj3
= 0 ;
14232 char * kwnames
[] = {
14233 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
14236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14238 if (!SWIG_IsOK(res1
)) {
14239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14241 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14243 if (!SWIG_IsOK(ecode2
)) {
14244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14246 arg2
= static_cast< wxFontEncoding
>(val2
);
14249 arg3
= wxString_in_helper(obj2
);
14250 if (arg3
== NULL
) SWIG_fail
;
14255 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14256 if (!SWIG_IsOK(ecode4
)) {
14257 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
14259 arg4
= static_cast< bool >(val4
);
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 resultobj
= result
;
14282 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14283 PyObject
*resultobj
= 0;
14284 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14285 wxFontEncoding arg2
;
14286 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14287 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14293 bool temp3
= false ;
14294 PyObject
* obj0
= 0 ;
14295 PyObject
* obj1
= 0 ;
14296 PyObject
* obj2
= 0 ;
14297 char * kwnames
[] = {
14298 (char *) "self",(char *) "encoding",(char *) "facename", NULL
14301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14303 if (!SWIG_IsOK(res1
)) {
14304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14306 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14308 if (!SWIG_IsOK(ecode2
)) {
14309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14311 arg2
= static_cast< wxFontEncoding
>(val2
);
14314 arg3
= wxString_in_helper(obj2
);
14315 if (arg3
== NULL
) SWIG_fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14342 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
= 0;
14344 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14345 wxWindow
*arg2
= (wxWindow
*) 0 ;
14350 PyObject
* obj0
= 0 ;
14351 PyObject
* obj1
= 0 ;
14352 char * kwnames
[] = {
14353 (char *) "self",(char *) "parent", NULL
14356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14358 if (!SWIG_IsOK(res1
)) {
14359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14361 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14362 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14363 if (!SWIG_IsOK(res2
)) {
14364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14366 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 (arg1
)->SetDialogParent(arg2
);
14370 wxPyEndAllowThreads(__tstate
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14373 resultobj
= SWIG_Py_Void();
14380 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14381 PyObject
*resultobj
= 0;
14382 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14383 wxString
*arg2
= 0 ;
14386 bool temp2
= false ;
14387 PyObject
* obj0
= 0 ;
14388 PyObject
* obj1
= 0 ;
14389 char * kwnames
[] = {
14390 (char *) "self",(char *) "title", NULL
14393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14395 if (!SWIG_IsOK(res1
)) {
14396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14398 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14400 arg2
= wxString_in_helper(obj1
);
14401 if (arg2
== NULL
) SWIG_fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14410 resultobj
= SWIG_Py_Void();
14425 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14428 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14429 return SWIG_Py_Void();
14432 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14433 return SWIG_Python_InitShadowInstance(args
);
14436 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
= 0;
14442 bool arg5
= (bool) false ;
14443 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14444 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14445 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14446 wxFont
*result
= 0 ;
14457 bool temp6
= false ;
14460 PyObject
* obj0
= 0 ;
14461 PyObject
* obj1
= 0 ;
14462 PyObject
* obj2
= 0 ;
14463 PyObject
* obj3
= 0 ;
14464 PyObject
* obj4
= 0 ;
14465 PyObject
* obj5
= 0 ;
14466 PyObject
* obj6
= 0 ;
14467 char * kwnames
[] = {
14468 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14472 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14473 if (!SWIG_IsOK(ecode1
)) {
14474 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14476 arg1
= static_cast< int >(val1
);
14477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14478 if (!SWIG_IsOK(ecode2
)) {
14479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14481 arg2
= static_cast< int >(val2
);
14482 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14483 if (!SWIG_IsOK(ecode3
)) {
14484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14486 arg3
= static_cast< int >(val3
);
14487 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14488 if (!SWIG_IsOK(ecode4
)) {
14489 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14491 arg4
= static_cast< int >(val4
);
14493 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14494 if (!SWIG_IsOK(ecode5
)) {
14495 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14497 arg5
= static_cast< bool >(val5
);
14501 arg6
= wxString_in_helper(obj5
);
14502 if (arg6
== NULL
) SWIG_fail
;
14507 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14508 if (!SWIG_IsOK(ecode7
)) {
14509 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14511 arg7
= static_cast< wxFontEncoding
>(val7
);
14514 if (!wxPyCheckForApp()) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14535 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14536 PyObject
*resultobj
= 0;
14537 wxFont
*arg1
= (wxFont
*) 0 ;
14540 PyObject
*swig_obj
[1] ;
14542 if (!args
) SWIG_fail
;
14543 swig_obj
[0] = args
;
14544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14545 if (!SWIG_IsOK(res1
)) {
14546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14548 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 wxPyEndAllowThreads(__tstate
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14556 resultobj
= SWIG_Py_Void();
14563 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
= 0;
14565 wxNativeFontInfo
*arg1
= 0 ;
14566 wxFont
*result
= 0 ;
14569 PyObject
* obj0
= 0 ;
14570 char * kwnames
[] = {
14571 (char *) "info", NULL
14574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14575 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14576 if (!SWIG_IsOK(res1
)) {
14577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14582 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14584 if (!wxPyCheckForApp()) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14597 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14598 PyObject
*resultobj
= 0;
14599 wxString
*arg1
= 0 ;
14600 wxFont
*result
= 0 ;
14601 bool temp1
= false ;
14602 PyObject
* obj0
= 0 ;
14603 char * kwnames
[] = {
14604 (char *) "info", NULL
14607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14609 arg1
= wxString_in_helper(obj0
);
14610 if (arg1
== NULL
) SWIG_fail
;
14614 if (!wxPyCheckForApp()) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14635 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14636 PyObject
*resultobj
= 0;
14638 wxFontFamily arg2
;
14639 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14640 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14641 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14642 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14643 wxFont
*result
= 0 ;
14650 bool temp4
= false ;
14653 PyObject
* obj0
= 0 ;
14654 PyObject
* obj1
= 0 ;
14655 PyObject
* obj2
= 0 ;
14656 PyObject
* obj3
= 0 ;
14657 PyObject
* obj4
= 0 ;
14658 char * kwnames
[] = {
14659 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14663 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14664 if (!SWIG_IsOK(ecode1
)) {
14665 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14667 arg1
= static_cast< int >(val1
);
14668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14669 if (!SWIG_IsOK(ecode2
)) {
14670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14672 arg2
= static_cast< wxFontFamily
>(val2
);
14674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14675 if (!SWIG_IsOK(ecode3
)) {
14676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14678 arg3
= static_cast< int >(val3
);
14682 arg4
= wxString_in_helper(obj3
);
14683 if (arg4
== NULL
) SWIG_fail
;
14688 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14689 if (!SWIG_IsOK(ecode5
)) {
14690 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14692 arg5
= static_cast< wxFontEncoding
>(val5
);
14695 if (!wxPyCheckForApp()) SWIG_fail
;
14696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14697 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14698 wxPyEndAllowThreads(__tstate
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14716 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
= 0;
14722 bool arg5
= (bool) false ;
14723 wxString
const &arg6_defvalue
= wxEmptyString
;
14724 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14725 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14726 wxFont
*result
= 0 ;
14736 bool temp6
= false ;
14739 PyObject
* obj0
= 0 ;
14740 PyObject
* obj1
= 0 ;
14741 PyObject
* obj2
= 0 ;
14742 PyObject
* obj3
= 0 ;
14743 PyObject
* obj4
= 0 ;
14744 PyObject
* obj5
= 0 ;
14745 PyObject
* obj6
= 0 ;
14746 char * kwnames
[] = {
14747 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14753 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14756 if (!SWIG_IsOK(ecode2
)) {
14757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14759 arg2
= static_cast< int >(val2
);
14760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14761 if (!SWIG_IsOK(ecode3
)) {
14762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14764 arg3
= static_cast< int >(val3
);
14765 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14766 if (!SWIG_IsOK(ecode4
)) {
14767 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14769 arg4
= static_cast< int >(val4
);
14771 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14772 if (!SWIG_IsOK(ecode5
)) {
14773 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14775 arg5
= static_cast< bool >(val5
);
14779 arg6
= wxString_in_helper(obj5
);
14780 if (arg6
== NULL
) SWIG_fail
;
14785 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14786 if (!SWIG_IsOK(ecode7
)) {
14787 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14789 arg7
= static_cast< wxFontEncoding
>(val7
);
14792 if (!wxPyCheckForApp()) SWIG_fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14813 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
= 0;
14816 wxFontFamily arg2
;
14817 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14818 wxString
const &arg4_defvalue
= wxEmptyString
;
14819 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14820 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14821 wxFont
*result
= 0 ;
14827 bool temp4
= false ;
14830 PyObject
* obj0
= 0 ;
14831 PyObject
* obj1
= 0 ;
14832 PyObject
* obj2
= 0 ;
14833 PyObject
* obj3
= 0 ;
14834 PyObject
* obj4
= 0 ;
14835 char * kwnames
[] = {
14836 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14842 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14845 if (!SWIG_IsOK(ecode2
)) {
14846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14848 arg2
= static_cast< wxFontFamily
>(val2
);
14850 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14851 if (!SWIG_IsOK(ecode3
)) {
14852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14854 arg3
= static_cast< int >(val3
);
14858 arg4
= wxString_in_helper(obj3
);
14859 if (arg4
== NULL
) SWIG_fail
;
14864 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14865 if (!SWIG_IsOK(ecode5
)) {
14866 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14868 arg5
= static_cast< wxFontEncoding
>(val5
);
14871 if (!wxPyCheckForApp()) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14892 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14893 PyObject
*resultobj
= 0;
14894 wxFont
*arg1
= (wxFont
*) 0 ;
14898 PyObject
*swig_obj
[1] ;
14900 if (!args
) SWIG_fail
;
14901 swig_obj
[0] = args
;
14902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14903 if (!SWIG_IsOK(res1
)) {
14904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14906 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14922 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14923 PyObject
*resultobj
= 0;
14924 wxFont
*arg1
= (wxFont
*) 0 ;
14925 wxFont
*arg2
= (wxFont
*) 0 ;
14931 PyObject
* obj0
= 0 ;
14932 PyObject
* obj1
= 0 ;
14933 char * kwnames
[] = {
14934 (char *) "self",(char *) "other", NULL
14937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14939 if (!SWIG_IsOK(res1
)) {
14940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14942 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14943 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14944 if (!SWIG_IsOK(res2
)) {
14945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14947 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14951 wxPyEndAllowThreads(__tstate
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14963 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
= 0;
14965 wxFont
*arg1
= (wxFont
*) 0 ;
14966 wxFont
*arg2
= (wxFont
*) 0 ;
14972 PyObject
* obj0
= 0 ;
14973 PyObject
* obj1
= 0 ;
14974 char * kwnames
[] = {
14975 (char *) "self",(char *) "other", NULL
14978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14980 if (!SWIG_IsOK(res1
)) {
14981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14983 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14984 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14985 if (!SWIG_IsOK(res2
)) {
14986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14988 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15004 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15005 PyObject
*resultobj
= 0;
15006 wxFont
*arg1
= (wxFont
*) 0 ;
15010 PyObject
*swig_obj
[1] ;
15012 if (!args
) SWIG_fail
;
15013 swig_obj
[0] = args
;
15014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15015 if (!SWIG_IsOK(res1
)) {
15016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15018 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15021 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15025 resultobj
= SWIG_From_int(static_cast< int >(result
));
15032 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15033 PyObject
*resultobj
= 0;
15034 wxFont
*arg1
= (wxFont
*) 0 ;
15038 PyObject
*swig_obj
[1] ;
15040 if (!args
) SWIG_fail
;
15041 swig_obj
[0] = args
;
15042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15043 if (!SWIG_IsOK(res1
)) {
15044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
15046 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15049 result
= ((wxFont
const *)arg1
)->GetPixelSize();
15050 wxPyEndAllowThreads(__tstate
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15053 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15060 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15061 PyObject
*resultobj
= 0;
15062 wxFont
*arg1
= (wxFont
*) 0 ;
15066 PyObject
*swig_obj
[1] ;
15068 if (!args
) SWIG_fail
;
15069 swig_obj
[0] = args
;
15070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15071 if (!SWIG_IsOK(res1
)) {
15072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
15074 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
15078 wxPyEndAllowThreads(__tstate
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15090 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15091 PyObject
*resultobj
= 0;
15092 wxFont
*arg1
= (wxFont
*) 0 ;
15096 PyObject
*swig_obj
[1] ;
15098 if (!args
) SWIG_fail
;
15099 swig_obj
[0] = args
;
15100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15101 if (!SWIG_IsOK(res1
)) {
15102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
15104 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (int)((wxFont
const *)arg1
)->GetFamily();
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 resultobj
= SWIG_From_int(static_cast< int >(result
));
15118 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15119 PyObject
*resultobj
= 0;
15120 wxFont
*arg1
= (wxFont
*) 0 ;
15124 PyObject
*swig_obj
[1] ;
15126 if (!args
) SWIG_fail
;
15127 swig_obj
[0] = args
;
15128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15129 if (!SWIG_IsOK(res1
)) {
15130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
15132 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 result
= (int)((wxFont
const *)arg1
)->GetStyle();
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15139 resultobj
= SWIG_From_int(static_cast< int >(result
));
15146 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15147 PyObject
*resultobj
= 0;
15148 wxFont
*arg1
= (wxFont
*) 0 ;
15152 PyObject
*swig_obj
[1] ;
15154 if (!args
) SWIG_fail
;
15155 swig_obj
[0] = args
;
15156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15157 if (!SWIG_IsOK(res1
)) {
15158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
15160 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15163 result
= (int)((wxFont
const *)arg1
)->GetWeight();
15164 wxPyEndAllowThreads(__tstate
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15167 resultobj
= SWIG_From_int(static_cast< int >(result
));
15174 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15175 PyObject
*resultobj
= 0;
15176 wxFont
*arg1
= (wxFont
*) 0 ;
15180 PyObject
*swig_obj
[1] ;
15182 if (!args
) SWIG_fail
;
15183 swig_obj
[0] = args
;
15184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15185 if (!SWIG_IsOK(res1
)) {
15186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
15188 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15204 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15205 PyObject
*resultobj
= 0;
15206 wxFont
*arg1
= (wxFont
*) 0 ;
15210 PyObject
*swig_obj
[1] ;
15212 if (!args
) SWIG_fail
;
15213 swig_obj
[0] = args
;
15214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15215 if (!SWIG_IsOK(res1
)) {
15216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
15218 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 result
= ((wxFont
const *)arg1
)->GetFaceName();
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15238 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15239 PyObject
*resultobj
= 0;
15240 wxFont
*arg1
= (wxFont
*) 0 ;
15241 wxFontEncoding result
;
15244 PyObject
*swig_obj
[1] ;
15246 if (!args
) SWIG_fail
;
15247 swig_obj
[0] = args
;
15248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15249 if (!SWIG_IsOK(res1
)) {
15250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
15252 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
15256 wxPyEndAllowThreads(__tstate
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15259 resultobj
= SWIG_From_int(static_cast< int >(result
));
15266 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15267 PyObject
*resultobj
= 0;
15268 wxFont
*arg1
= (wxFont
*) 0 ;
15269 wxNativeFontInfo
*result
= 0 ;
15272 PyObject
*swig_obj
[1] ;
15274 if (!args
) SWIG_fail
;
15275 swig_obj
[0] = args
;
15276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15277 if (!SWIG_IsOK(res1
)) {
15278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
15280 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
15294 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15295 PyObject
*resultobj
= 0;
15296 wxFont
*arg1
= (wxFont
*) 0 ;
15300 PyObject
*swig_obj
[1] ;
15302 if (!args
) SWIG_fail
;
15303 swig_obj
[0] = args
;
15304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15305 if (!SWIG_IsOK(res1
)) {
15306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
15308 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15324 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15325 PyObject
*resultobj
= 0;
15326 wxFont
*arg1
= (wxFont
*) 0 ;
15330 PyObject
*swig_obj
[1] ;
15332 if (!args
) SWIG_fail
;
15333 swig_obj
[0] = args
;
15334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15335 if (!SWIG_IsOK(res1
)) {
15336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15338 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15341 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15358 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15359 PyObject
*resultobj
= 0;
15360 wxFont
*arg1
= (wxFont
*) 0 ;
15364 PyObject
*swig_obj
[1] ;
15366 if (!args
) SWIG_fail
;
15367 swig_obj
[0] = args
;
15368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15369 if (!SWIG_IsOK(res1
)) {
15370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15372 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15375 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15392 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15393 PyObject
*resultobj
= 0;
15394 wxFont
*arg1
= (wxFont
*) 0 ;
15400 PyObject
* obj0
= 0 ;
15401 PyObject
* obj1
= 0 ;
15402 char * kwnames
[] = {
15403 (char *) "self",(char *) "pointSize", NULL
15406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15408 if (!SWIG_IsOK(res1
)) {
15409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15411 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15413 if (!SWIG_IsOK(ecode2
)) {
15414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15416 arg2
= static_cast< int >(val2
);
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 (arg1
)->SetPointSize(arg2
);
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= SWIG_Py_Void();
15430 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
= 0;
15432 wxFont
*arg1
= (wxFont
*) 0 ;
15437 PyObject
* obj0
= 0 ;
15438 PyObject
* obj1
= 0 ;
15439 char * kwnames
[] = {
15440 (char *) "self",(char *) "pixelSize", NULL
15443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15445 if (!SWIG_IsOK(res1
)) {
15446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15448 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15451 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15459 resultobj
= SWIG_Py_Void();
15466 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
= 0;
15468 wxFont
*arg1
= (wxFont
*) 0 ;
15474 PyObject
* obj0
= 0 ;
15475 PyObject
* obj1
= 0 ;
15476 char * kwnames
[] = {
15477 (char *) "self",(char *) "family", NULL
15480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15482 if (!SWIG_IsOK(res1
)) {
15483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15485 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15487 if (!SWIG_IsOK(ecode2
)) {
15488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15490 arg2
= static_cast< int >(val2
);
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 (arg1
)->SetFamily(arg2
);
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15497 resultobj
= SWIG_Py_Void();
15504 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
= 0;
15506 wxFont
*arg1
= (wxFont
*) 0 ;
15512 PyObject
* obj0
= 0 ;
15513 PyObject
* obj1
= 0 ;
15514 char * kwnames
[] = {
15515 (char *) "self",(char *) "style", NULL
15518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15520 if (!SWIG_IsOK(res1
)) {
15521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15523 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15525 if (!SWIG_IsOK(ecode2
)) {
15526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15528 arg2
= static_cast< int >(val2
);
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 (arg1
)->SetStyle(arg2
);
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= SWIG_Py_Void();
15542 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
= 0;
15544 wxFont
*arg1
= (wxFont
*) 0 ;
15550 PyObject
* obj0
= 0 ;
15551 PyObject
* obj1
= 0 ;
15552 char * kwnames
[] = {
15553 (char *) "self",(char *) "weight", NULL
15556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15558 if (!SWIG_IsOK(res1
)) {
15559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15561 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15563 if (!SWIG_IsOK(ecode2
)) {
15564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15566 arg2
= static_cast< int >(val2
);
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 (arg1
)->SetWeight(arg2
);
15570 wxPyEndAllowThreads(__tstate
);
15571 if (PyErr_Occurred()) SWIG_fail
;
15573 resultobj
= SWIG_Py_Void();
15580 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15581 PyObject
*resultobj
= 0;
15582 wxFont
*arg1
= (wxFont
*) 0 ;
15583 wxString
*arg2
= 0 ;
15587 bool temp2
= false ;
15588 PyObject
* obj0
= 0 ;
15589 PyObject
* obj1
= 0 ;
15590 char * kwnames
[] = {
15591 (char *) "self",(char *) "faceName", NULL
15594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15596 if (!SWIG_IsOK(res1
)) {
15597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15599 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15601 arg2
= wxString_in_helper(obj1
);
15602 if (arg2
== NULL
) SWIG_fail
;
15606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15607 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15608 wxPyEndAllowThreads(__tstate
);
15609 if (PyErr_Occurred()) SWIG_fail
;
15612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15628 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
= 0;
15630 wxFont
*arg1
= (wxFont
*) 0 ;
15636 PyObject
* obj0
= 0 ;
15637 PyObject
* obj1
= 0 ;
15638 char * kwnames
[] = {
15639 (char *) "self",(char *) "underlined", NULL
15642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15644 if (!SWIG_IsOK(res1
)) {
15645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15647 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15648 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15649 if (!SWIG_IsOK(ecode2
)) {
15650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15652 arg2
= static_cast< bool >(val2
);
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 (arg1
)->SetUnderlined(arg2
);
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15659 resultobj
= SWIG_Py_Void();
15666 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
= 0;
15668 wxFont
*arg1
= (wxFont
*) 0 ;
15669 wxFontEncoding arg2
;
15674 PyObject
* obj0
= 0 ;
15675 PyObject
* obj1
= 0 ;
15676 char * kwnames
[] = {
15677 (char *) "self",(char *) "encoding", NULL
15680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15682 if (!SWIG_IsOK(res1
)) {
15683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15685 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15687 if (!SWIG_IsOK(ecode2
)) {
15688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15690 arg2
= static_cast< wxFontEncoding
>(val2
);
15692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15693 (arg1
)->SetEncoding(arg2
);
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15697 resultobj
= SWIG_Py_Void();
15704 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
= 0;
15706 wxFont
*arg1
= (wxFont
*) 0 ;
15707 wxNativeFontInfo
*arg2
= 0 ;
15712 PyObject
* obj0
= 0 ;
15713 PyObject
* obj1
= 0 ;
15714 char * kwnames
[] = {
15715 (char *) "self",(char *) "info", NULL
15718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15720 if (!SWIG_IsOK(res1
)) {
15721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15723 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15725 if (!SWIG_IsOK(res2
)) {
15726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15731 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15738 resultobj
= SWIG_Py_Void();
15745 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
= 0;
15747 wxFont
*arg1
= (wxFont
*) 0 ;
15748 wxString
*arg2
= 0 ;
15752 bool temp2
= false ;
15753 PyObject
* obj0
= 0 ;
15754 PyObject
* obj1
= 0 ;
15755 char * kwnames
[] = {
15756 (char *) "self",(char *) "info", NULL
15759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15761 if (!SWIG_IsOK(res1
)) {
15762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15764 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15766 arg2
= wxString_in_helper(obj1
);
15767 if (arg2
== NULL
) SWIG_fail
;
15771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15772 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15773 wxPyEndAllowThreads(__tstate
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15793 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
= 0;
15795 wxFont
*arg1
= (wxFont
*) 0 ;
15796 wxString
*arg2
= 0 ;
15800 bool temp2
= false ;
15801 PyObject
* obj0
= 0 ;
15802 PyObject
* obj1
= 0 ;
15803 char * kwnames
[] = {
15804 (char *) "self",(char *) "info", NULL
15807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15809 if (!SWIG_IsOK(res1
)) {
15810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15812 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15814 arg2
= wxString_in_helper(obj1
);
15815 if (arg2
== NULL
) SWIG_fail
;
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15841 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15842 PyObject
*resultobj
= 0;
15843 wxFont
*arg1
= (wxFont
*) 0 ;
15847 PyObject
*swig_obj
[1] ;
15849 if (!args
) SWIG_fail
;
15850 swig_obj
[0] = args
;
15851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15852 if (!SWIG_IsOK(res1
)) {
15853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15855 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15859 wxPyEndAllowThreads(__tstate
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15875 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15876 PyObject
*resultobj
= 0;
15877 wxFont
*arg1
= (wxFont
*) 0 ;
15881 PyObject
*swig_obj
[1] ;
15883 if (!args
) SWIG_fail
;
15884 swig_obj
[0] = args
;
15885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15886 if (!SWIG_IsOK(res1
)) {
15887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15889 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15892 result
= ((wxFont
const *)arg1
)->GetStyleString();
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15909 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15910 PyObject
*resultobj
= 0;
15911 wxFont
*arg1
= (wxFont
*) 0 ;
15915 PyObject
*swig_obj
[1] ;
15917 if (!args
) SWIG_fail
;
15918 swig_obj
[0] = args
;
15919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15920 if (!SWIG_IsOK(res1
)) {
15921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15923 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15926 result
= ((wxFont
const *)arg1
)->GetWeightString();
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15943 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
= 0;
15945 wxFont
*arg1
= (wxFont
*) 0 ;
15946 bool arg2
= (bool) true ;
15951 PyObject
* obj0
= 0 ;
15952 PyObject
* obj1
= 0 ;
15953 char * kwnames
[] = {
15954 (char *) "self",(char *) "no", NULL
15957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15959 if (!SWIG_IsOK(res1
)) {
15960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15962 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15964 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15965 if (!SWIG_IsOK(ecode2
)) {
15966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15968 arg2
= static_cast< bool >(val2
);
15971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15972 (arg1
)->SetNoAntiAliasing(arg2
);
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15976 resultobj
= SWIG_Py_Void();
15983 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15984 PyObject
*resultobj
= 0;
15985 wxFont
*arg1
= (wxFont
*) 0 ;
15989 PyObject
*swig_obj
[1] ;
15991 if (!args
) SWIG_fail
;
15992 swig_obj
[0] = args
;
15993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15994 if (!SWIG_IsOK(res1
)) {
15995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15997 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16000 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
16001 wxPyEndAllowThreads(__tstate
);
16002 if (PyErr_Occurred()) SWIG_fail
;
16005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16013 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16014 PyObject
*resultobj
= 0;
16015 wxFontEncoding result
;
16017 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
16019 if (!wxPyCheckForApp()) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16025 resultobj
= SWIG_From_int(static_cast< int >(result
));
16032 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
= 0;
16034 wxFontEncoding arg1
;
16037 PyObject
* obj0
= 0 ;
16038 char * kwnames
[] = {
16039 (char *) "encoding", NULL
16042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
16043 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16044 if (!SWIG_IsOK(ecode1
)) {
16045 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16047 arg1
= static_cast< wxFontEncoding
>(val1
);
16049 if (!wxPyCheckForApp()) SWIG_fail
;
16050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16051 wxFont::SetDefaultEncoding(arg1
);
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16055 resultobj
= SWIG_Py_Void();
16062 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16065 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
16066 return SWIG_Py_Void();
16069 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16070 return SWIG_Python_InitShadowInstance(args
);
16073 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16074 PyObject
*resultobj
= 0;
16075 wxPyFontEnumerator
*result
= 0 ;
16077 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
16079 if (!wxPyCheckForApp()) SWIG_fail
;
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
16092 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16093 PyObject
*resultobj
= 0;
16094 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16097 PyObject
*swig_obj
[1] ;
16099 if (!args
) SWIG_fail
;
16100 swig_obj
[0] = args
;
16101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
16102 if (!SWIG_IsOK(res1
)) {
16103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16105 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16113 resultobj
= SWIG_Py_Void();
16120 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
= 0;
16122 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16123 PyObject
*arg2
= (PyObject
*) 0 ;
16124 PyObject
*arg3
= (PyObject
*) 0 ;
16125 int arg4
= (int) 0 ;
16130 PyObject
* obj0
= 0 ;
16131 PyObject
* obj1
= 0 ;
16132 PyObject
* obj2
= 0 ;
16133 PyObject
* obj3
= 0 ;
16134 char * kwnames
[] = {
16135 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16140 if (!SWIG_IsOK(res1
)) {
16141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16143 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16147 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16148 if (!SWIG_IsOK(ecode4
)) {
16149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16151 arg4
= static_cast< int >(val4
);
16154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16155 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16159 resultobj
= SWIG_Py_Void();
16166 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16167 PyObject
*resultobj
= 0;
16168 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16169 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
16170 bool arg3
= (bool) false ;
16178 PyObject
* obj0
= 0 ;
16179 PyObject
* obj1
= 0 ;
16180 PyObject
* obj2
= 0 ;
16181 char * kwnames
[] = {
16182 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16187 if (!SWIG_IsOK(res1
)) {
16188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16190 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16193 if (!SWIG_IsOK(ecode2
)) {
16194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16196 arg2
= static_cast< wxFontEncoding
>(val2
);
16199 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16200 if (!SWIG_IsOK(ecode3
)) {
16201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16203 arg3
= static_cast< bool >(val3
);
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16208 wxPyEndAllowThreads(__tstate
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16220 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
= 0;
16222 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16223 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16224 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16228 bool temp2
= false ;
16229 PyObject
* obj0
= 0 ;
16230 PyObject
* obj1
= 0 ;
16231 char * kwnames
[] = {
16232 (char *) "self",(char *) "facename", NULL
16235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16237 if (!SWIG_IsOK(res1
)) {
16238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16240 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16243 arg2
= wxString_in_helper(obj1
);
16244 if (arg2
== NULL
) SWIG_fail
;
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16271 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16272 PyObject
*resultobj
= 0;
16273 PyObject
*result
= 0 ;
16275 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16282 resultobj
= result
;
16289 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16290 PyObject
*resultobj
= 0;
16291 PyObject
*result
= 0 ;
16293 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16296 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16297 wxPyEndAllowThreads(__tstate
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16300 resultobj
= result
;
16307 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16308 PyObject
*resultobj
= 0;
16309 wxString
*arg1
= 0 ;
16311 bool temp1
= false ;
16312 PyObject
* obj0
= 0 ;
16313 char * kwnames
[] = {
16314 (char *) "str", NULL
16317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16319 arg1
= wxString_in_helper(obj0
);
16320 if (arg1
== NULL
) SWIG_fail
;
16324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16326 wxPyEndAllowThreads(__tstate
);
16327 if (PyErr_Occurred()) SWIG_fail
;
16330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16346 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16348 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16349 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16350 return SWIG_Py_Void();
16353 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16354 return SWIG_Python_InitShadowInstance(args
);
16357 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16358 PyObject
*resultobj
= 0;
16359 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16365 PyObject
*swig_obj
[2] ;
16367 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16369 if (!SWIG_IsOK(res1
)) {
16370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16372 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16373 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16374 if (!SWIG_IsOK(ecode2
)) {
16375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16377 arg2
= static_cast< int >(val2
);
16378 if (arg1
) (arg1
)->Language
= arg2
;
16380 resultobj
= SWIG_Py_Void();
16387 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16388 PyObject
*resultobj
= 0;
16389 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16393 PyObject
*swig_obj
[1] ;
16395 if (!args
) SWIG_fail
;
16396 swig_obj
[0] = args
;
16397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16398 if (!SWIG_IsOK(res1
)) {
16399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16401 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16402 result
= (int) ((arg1
)->Language
);
16403 resultobj
= SWIG_From_int(static_cast< int >(result
));
16410 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16411 PyObject
*resultobj
= 0;
16412 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16413 wxString
*arg2
= (wxString
*) 0 ;
16416 bool temp2
= false ;
16417 PyObject
*swig_obj
[2] ;
16419 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16421 if (!SWIG_IsOK(res1
)) {
16422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16424 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16426 arg2
= wxString_in_helper(swig_obj
[1]);
16427 if (arg2
== NULL
) SWIG_fail
;
16430 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16432 resultobj
= SWIG_Py_Void();
16447 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16448 PyObject
*resultobj
= 0;
16449 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16450 wxString
*result
= 0 ;
16453 PyObject
*swig_obj
[1] ;
16455 if (!args
) SWIG_fail
;
16456 swig_obj
[0] = args
;
16457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16458 if (!SWIG_IsOK(res1
)) {
16459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16461 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16462 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16465 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16467 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16476 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16477 PyObject
*resultobj
= 0;
16478 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16479 wxString
*arg2
= (wxString
*) 0 ;
16482 bool temp2
= false ;
16483 PyObject
*swig_obj
[2] ;
16485 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16487 if (!SWIG_IsOK(res1
)) {
16488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16490 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16492 arg2
= wxString_in_helper(swig_obj
[1]);
16493 if (arg2
== NULL
) SWIG_fail
;
16496 if (arg1
) (arg1
)->Description
= *arg2
;
16498 resultobj
= SWIG_Py_Void();
16513 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16514 PyObject
*resultobj
= 0;
16515 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16516 wxString
*result
= 0 ;
16519 PyObject
*swig_obj
[1] ;
16521 if (!args
) SWIG_fail
;
16522 swig_obj
[0] = args
;
16523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16524 if (!SWIG_IsOK(res1
)) {
16525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16527 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16528 result
= (wxString
*)& ((arg1
)->Description
);
16531 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16533 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16542 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16545 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16546 return SWIG_Py_Void();
16549 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
= 0;
16551 int arg1
= (int) -1 ;
16552 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16553 wxLocale
*result
= 0 ;
16558 PyObject
* obj0
= 0 ;
16559 PyObject
* obj1
= 0 ;
16560 char * kwnames
[] = {
16561 (char *) "language",(char *) "flags", NULL
16564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16566 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16567 if (!SWIG_IsOK(ecode1
)) {
16568 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16570 arg1
= static_cast< int >(val1
);
16573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16574 if (!SWIG_IsOK(ecode2
)) {
16575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16577 arg2
= static_cast< int >(val2
);
16580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16581 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16582 wxPyEndAllowThreads(__tstate
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16592 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16593 PyObject
*resultobj
= 0;
16594 wxLocale
*arg1
= (wxLocale
*) 0 ;
16597 PyObject
*swig_obj
[1] ;
16599 if (!args
) SWIG_fail
;
16600 swig_obj
[0] = args
;
16601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16602 if (!SWIG_IsOK(res1
)) {
16603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16605 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16610 wxPyEndAllowThreads(__tstate
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16613 resultobj
= SWIG_Py_Void();
16620 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16621 PyObject
*resultobj
= 0;
16622 wxLocale
*arg1
= (wxLocale
*) 0 ;
16623 wxString
*arg2
= 0 ;
16624 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16625 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16626 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16627 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16628 bool arg5
= (bool) true ;
16629 bool arg6
= (bool) false ;
16633 bool temp2
= false ;
16634 bool temp3
= false ;
16635 bool temp4
= false ;
16640 PyObject
* obj0
= 0 ;
16641 PyObject
* obj1
= 0 ;
16642 PyObject
* obj2
= 0 ;
16643 PyObject
* obj3
= 0 ;
16644 PyObject
* obj4
= 0 ;
16645 PyObject
* obj5
= 0 ;
16646 char * kwnames
[] = {
16647 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16652 if (!SWIG_IsOK(res1
)) {
16653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16655 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16657 arg2
= wxString_in_helper(obj1
);
16658 if (arg2
== NULL
) SWIG_fail
;
16663 arg3
= wxString_in_helper(obj2
);
16664 if (arg3
== NULL
) SWIG_fail
;
16670 arg4
= wxString_in_helper(obj3
);
16671 if (arg4
== NULL
) SWIG_fail
;
16676 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16677 if (!SWIG_IsOK(ecode5
)) {
16678 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16680 arg5
= static_cast< bool >(val5
);
16683 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16684 if (!SWIG_IsOK(ecode6
)) {
16685 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16687 arg6
= static_cast< bool >(val6
);
16690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16691 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16692 wxPyEndAllowThreads(__tstate
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16728 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
= 0;
16730 wxLocale
*arg1
= (wxLocale
*) 0 ;
16731 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16732 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16740 PyObject
* obj0
= 0 ;
16741 PyObject
* obj1
= 0 ;
16742 PyObject
* obj2
= 0 ;
16743 char * kwnames
[] = {
16744 (char *) "self",(char *) "language",(char *) "flags", NULL
16747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16749 if (!SWIG_IsOK(res1
)) {
16750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16752 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16755 if (!SWIG_IsOK(ecode2
)) {
16756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16758 arg2
= static_cast< int >(val2
);
16761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16762 if (!SWIG_IsOK(ecode3
)) {
16763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16765 arg3
= static_cast< int >(val3
);
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16782 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16783 PyObject
*resultobj
= 0;
16786 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 result
= (int)wxLocale::GetSystemLanguage();
16790 wxPyEndAllowThreads(__tstate
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16793 resultobj
= SWIG_From_int(static_cast< int >(result
));
16800 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16801 PyObject
*resultobj
= 0;
16802 wxFontEncoding result
;
16804 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16811 resultobj
= SWIG_From_int(static_cast< int >(result
));
16818 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16819 PyObject
*resultobj
= 0;
16822 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= wxLocale::GetSystemEncodingName();
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16842 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16843 PyObject
*resultobj
= 0;
16844 wxLocale
*arg1
= (wxLocale
*) 0 ;
16848 PyObject
*swig_obj
[1] ;
16850 if (!args
) SWIG_fail
;
16851 swig_obj
[0] = args
;
16852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16853 if (!SWIG_IsOK(res1
)) {
16854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16856 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16872 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16873 PyObject
*resultobj
= 0;
16874 wxLocale
*arg1
= (wxLocale
*) 0 ;
16878 PyObject
*swig_obj
[1] ;
16880 if (!args
) SWIG_fail
;
16881 swig_obj
[0] = args
;
16882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16883 if (!SWIG_IsOK(res1
)) {
16884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16886 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 result
= ((wxLocale
const *)arg1
)->GetLocale();
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16895 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16897 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16906 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16907 PyObject
*resultobj
= 0;
16908 wxLocale
*arg1
= (wxLocale
*) 0 ;
16912 PyObject
*swig_obj
[1] ;
16914 if (!args
) SWIG_fail
;
16915 swig_obj
[0] = args
;
16916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16917 if (!SWIG_IsOK(res1
)) {
16918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16920 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= SWIG_From_int(static_cast< int >(result
));
16934 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16935 PyObject
*resultobj
= 0;
16936 wxLocale
*arg1
= (wxLocale
*) 0 ;
16940 PyObject
*swig_obj
[1] ;
16942 if (!args
) SWIG_fail
;
16943 swig_obj
[0] = args
;
16944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16945 if (!SWIG_IsOK(res1
)) {
16946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16948 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16951 result
= ((wxLocale
const *)arg1
)->GetSysName();
16952 wxPyEndAllowThreads(__tstate
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16957 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16959 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16968 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16969 PyObject
*resultobj
= 0;
16970 wxLocale
*arg1
= (wxLocale
*) 0 ;
16974 PyObject
*swig_obj
[1] ;
16976 if (!args
) SWIG_fail
;
16977 swig_obj
[0] = args
;
16978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16979 if (!SWIG_IsOK(res1
)) {
16980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16982 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17002 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
= 0;
17004 wxString
*arg1
= 0 ;
17005 bool temp1
= false ;
17006 PyObject
* obj0
= 0 ;
17007 char * kwnames
[] = {
17008 (char *) "prefix", NULL
17011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
17013 arg1
= wxString_in_helper(obj0
);
17014 if (arg1
== NULL
) SWIG_fail
;
17018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17019 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17023 resultobj
= SWIG_Py_Void();
17038 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
= 0;
17040 wxLocale
*arg1
= (wxLocale
*) 0 ;
17041 wxString
*arg2
= 0 ;
17045 bool temp2
= false ;
17046 PyObject
* obj0
= 0 ;
17047 PyObject
* obj1
= 0 ;
17048 char * kwnames
[] = {
17049 (char *) "self",(char *) "szDomain", NULL
17052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17054 if (!SWIG_IsOK(res1
)) {
17055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
17057 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17059 arg2
= wxString_in_helper(obj1
);
17060 if (arg2
== NULL
) SWIG_fail
;
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17086 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
= 0;
17092 PyObject
* obj0
= 0 ;
17093 char * kwnames
[] = {
17094 (char *) "lang", NULL
17097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
17098 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17099 if (!SWIG_IsOK(ecode1
)) {
17100 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
17102 arg1
= static_cast< int >(val1
);
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 result
= (bool)wxLocale::IsAvailable(arg1
);
17106 wxPyEndAllowThreads(__tstate
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17118 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17119 PyObject
*resultobj
= 0;
17120 wxLocale
*arg1
= (wxLocale
*) 0 ;
17121 wxString
*arg2
= 0 ;
17125 bool temp2
= false ;
17126 PyObject
* obj0
= 0 ;
17127 PyObject
* obj1
= 0 ;
17128 char * kwnames
[] = {
17129 (char *) "self",(char *) "szDomain", NULL
17132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17134 if (!SWIG_IsOK(res1
)) {
17135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
17137 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17139 arg2
= wxString_in_helper(obj1
);
17140 if (arg2
== NULL
) SWIG_fail
;
17144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17145 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17166 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17167 PyObject
*resultobj
= 0;
17169 wxLanguageInfo
*result
= 0 ;
17172 PyObject
* obj0
= 0 ;
17173 char * kwnames
[] = {
17174 (char *) "lang", NULL
17177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17178 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17179 if (!SWIG_IsOK(ecode1
)) {
17180 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17182 arg1
= static_cast< int >(val1
);
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17185 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17186 wxPyEndAllowThreads(__tstate
);
17187 if (PyErr_Occurred()) SWIG_fail
;
17189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17196 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17197 PyObject
*resultobj
= 0;
17202 PyObject
* obj0
= 0 ;
17203 char * kwnames
[] = {
17204 (char *) "lang", NULL
17207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17208 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17209 if (!SWIG_IsOK(ecode1
)) {
17210 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17212 arg1
= static_cast< int >(val1
);
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= wxLocale::GetLanguageName(arg1
);
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17232 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
= 0;
17234 wxString
*arg1
= 0 ;
17235 wxLanguageInfo
*result
= 0 ;
17236 bool temp1
= false ;
17237 PyObject
* obj0
= 0 ;
17238 char * kwnames
[] = {
17239 (char *) "locale", NULL
17242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17244 arg1
= wxString_in_helper(obj0
);
17245 if (arg1
== NULL
) SWIG_fail
;
17249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17250 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17251 wxPyEndAllowThreads(__tstate
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17269 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17270 PyObject
*resultobj
= 0;
17271 wxLanguageInfo
*arg1
= 0 ;
17274 PyObject
* obj0
= 0 ;
17275 char * kwnames
[] = {
17276 (char *) "info", NULL
17279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17280 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17281 if (!SWIG_IsOK(res1
)) {
17282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17287 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17290 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17294 resultobj
= SWIG_Py_Void();
17301 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17302 PyObject
*resultobj
= 0;
17303 wxLocale
*arg1
= (wxLocale
*) 0 ;
17304 wxString
*arg2
= 0 ;
17305 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17306 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17310 bool temp2
= false ;
17311 bool temp3
= false ;
17312 PyObject
* obj0
= 0 ;
17313 PyObject
* obj1
= 0 ;
17314 PyObject
* obj2
= 0 ;
17315 char * kwnames
[] = {
17316 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17321 if (!SWIG_IsOK(res1
)) {
17322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17324 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17326 arg2
= wxString_in_helper(obj1
);
17327 if (arg2
== NULL
) SWIG_fail
;
17332 arg3
= wxString_in_helper(obj2
);
17333 if (arg3
== NULL
) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17372 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17373 PyObject
*resultobj
= 0;
17374 wxLocale
*arg1
= (wxLocale
*) 0 ;
17375 wxString
*result
= 0 ;
17378 PyObject
*swig_obj
[1] ;
17380 if (!args
) SWIG_fail
;
17381 swig_obj
[0] = args
;
17382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17383 if (!SWIG_IsOK(res1
)) {
17384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17386 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17391 result
= (wxString
*) &_result_ref
;
17393 wxPyEndAllowThreads(__tstate
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17398 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17400 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17409 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17412 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17413 return SWIG_Py_Void();
17416 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17417 return SWIG_Python_InitShadowInstance(args
);
17420 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17421 PyObject
*resultobj
= 0;
17422 int arg1
= (int) -1 ;
17423 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17424 wxPyLocale
*result
= 0 ;
17429 PyObject
* obj0
= 0 ;
17430 PyObject
* obj1
= 0 ;
17431 char * kwnames
[] = {
17432 (char *) "language",(char *) "flags", NULL
17435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17437 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17438 if (!SWIG_IsOK(ecode1
)) {
17439 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17441 arg1
= static_cast< int >(val1
);
17444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17445 if (!SWIG_IsOK(ecode2
)) {
17446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17448 arg2
= static_cast< int >(val2
);
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17453 wxPyEndAllowThreads(__tstate
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17463 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17464 PyObject
*resultobj
= 0;
17465 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17468 PyObject
*swig_obj
[1] ;
17470 if (!args
) SWIG_fail
;
17471 swig_obj
[0] = args
;
17472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17473 if (!SWIG_IsOK(res1
)) {
17474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17476 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17484 resultobj
= SWIG_Py_Void();
17491 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
= 0;
17493 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17494 PyObject
*arg2
= (PyObject
*) 0 ;
17495 PyObject
*arg3
= (PyObject
*) 0 ;
17498 PyObject
* obj0
= 0 ;
17499 PyObject
* obj1
= 0 ;
17500 PyObject
* obj2
= 0 ;
17501 char * kwnames
[] = {
17502 (char *) "self",(char *) "self",(char *) "_class", NULL
17505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17507 if (!SWIG_IsOK(res1
)) {
17508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17510 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17519 resultobj
= SWIG_Py_Void();
17526 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17527 PyObject
*resultobj
= 0;
17528 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17529 wxChar
*arg2
= (wxChar
*) 0 ;
17530 wxChar
*arg3
= (wxChar
*) NULL
;
17531 wxChar
*result
= 0 ;
17538 PyObject
* obj0
= 0 ;
17539 PyObject
* obj1
= 0 ;
17540 PyObject
* obj2
= 0 ;
17541 char * kwnames
[] = {
17542 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17547 if (!SWIG_IsOK(res1
)) {
17548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17550 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17551 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17552 if (!SWIG_IsOK(res2
)) {
17553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17555 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17557 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17558 if (!SWIG_IsOK(res3
)) {
17559 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17561 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17576 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17577 PyObject
*resultobj
= 0;
17578 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17579 wxChar
*arg2
= (wxChar
*) 0 ;
17580 wxChar
*arg3
= (wxChar
*) 0 ;
17582 wxChar
*arg5
= (wxChar
*) NULL
;
17583 wxChar
*result
= 0 ;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 PyObject
* obj2
= 0 ;
17597 PyObject
* obj3
= 0 ;
17598 PyObject
* obj4
= 0 ;
17599 char * kwnames
[] = {
17600 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17605 if (!SWIG_IsOK(res1
)) {
17606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17608 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17609 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17610 if (!SWIG_IsOK(res2
)) {
17611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17613 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17614 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17615 if (!SWIG_IsOK(res3
)) {
17616 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17618 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17619 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17620 if (!SWIG_IsOK(ecode4
)) {
17621 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17623 arg4
= static_cast< size_t >(val4
);
17625 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17626 if (!SWIG_IsOK(res5
)) {
17627 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17629 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17644 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17646 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17647 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17648 return SWIG_Py_Void();
17651 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17652 return SWIG_Python_InitShadowInstance(args
);
17655 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17656 PyObject
*resultobj
= 0;
17657 wxLocale
*result
= 0 ;
17659 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17662 result
= (wxLocale
*)wxGetLocale();
17663 wxPyEndAllowThreads(__tstate
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17673 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17674 PyObject
*resultobj
= 0;
17675 wxString
*arg1
= 0 ;
17677 bool temp1
= false ;
17679 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17681 arg1
= wxString_in_helper(swig_obj
[0]);
17682 if (arg1
== NULL
) SWIG_fail
;
17686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 result
= wxGetTranslation((wxString
const &)*arg1
);
17688 wxPyEndAllowThreads(__tstate
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17712 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17713 PyObject
*resultobj
= 0;
17714 wxString
*arg1
= 0 ;
17715 wxString
*arg2
= 0 ;
17717 bool temp1
= false ;
17718 bool temp2
= false ;
17720 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17722 arg1
= wxString_in_helper(swig_obj
[0]);
17723 if (arg1
== NULL
) SWIG_fail
;
17727 arg2
= wxString_in_helper(swig_obj
[1]);
17728 if (arg2
== NULL
) SWIG_fail
;
17732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17733 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17766 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17767 PyObject
*resultobj
= 0;
17768 wxString
*arg1
= 0 ;
17769 wxString
*arg2
= 0 ;
17772 bool temp1
= false ;
17773 bool temp2
= false ;
17777 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17779 arg1
= wxString_in_helper(swig_obj
[0]);
17780 if (arg1
== NULL
) SWIG_fail
;
17784 arg2
= wxString_in_helper(swig_obj
[1]);
17785 if (arg2
== NULL
) SWIG_fail
;
17788 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17789 if (!SWIG_IsOK(ecode3
)) {
17790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17792 arg3
= static_cast< size_t >(val3
);
17794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17795 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17796 wxPyEndAllowThreads(__tstate
);
17797 if (PyErr_Occurred()) SWIG_fail
;
17801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17828 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17829 PyObject
*resultobj
= 0;
17830 wxString
*arg1
= 0 ;
17831 wxString
*arg2
= 0 ;
17833 wxString
*arg4
= 0 ;
17835 bool temp1
= false ;
17836 bool temp2
= false ;
17839 bool temp4
= false ;
17841 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17843 arg1
= wxString_in_helper(swig_obj
[0]);
17844 if (arg1
== NULL
) SWIG_fail
;
17848 arg2
= wxString_in_helper(swig_obj
[1]);
17849 if (arg2
== NULL
) SWIG_fail
;
17852 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17853 if (!SWIG_IsOK(ecode3
)) {
17854 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17856 arg3
= static_cast< size_t >(val3
);
17858 arg4
= wxString_in_helper(swig_obj
[3]);
17859 if (arg4
== NULL
) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17905 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17909 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17912 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17915 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17918 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17921 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17925 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17930 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17931 PyObject
*resultobj
= 0;
17932 wxEncodingConverter
*result
= 0 ;
17934 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17938 wxPyEndAllowThreads(__tstate
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17948 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17949 PyObject
*resultobj
= 0;
17950 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17953 PyObject
*swig_obj
[1] ;
17955 if (!args
) SWIG_fail
;
17956 swig_obj
[0] = args
;
17957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17958 if (!SWIG_IsOK(res1
)) {
17959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17961 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 resultobj
= SWIG_Py_Void();
17976 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17977 PyObject
*resultobj
= 0;
17978 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17979 wxFontEncoding arg2
;
17980 wxFontEncoding arg3
;
17981 int arg4
= (int) wxCONVERT_STRICT
;
17991 PyObject
* obj0
= 0 ;
17992 PyObject
* obj1
= 0 ;
17993 PyObject
* obj2
= 0 ;
17994 PyObject
* obj3
= 0 ;
17995 char * kwnames
[] = {
17996 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18001 if (!SWIG_IsOK(res1
)) {
18002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18004 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18006 if (!SWIG_IsOK(ecode2
)) {
18007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18009 arg2
= static_cast< wxFontEncoding
>(val2
);
18010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18011 if (!SWIG_IsOK(ecode3
)) {
18012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
18014 arg3
= static_cast< wxFontEncoding
>(val3
);
18016 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18017 if (!SWIG_IsOK(ecode4
)) {
18018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
18020 arg4
= static_cast< int >(val4
);
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18037 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18038 PyObject
*resultobj
= 0;
18039 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
18040 wxString
*arg2
= 0 ;
18044 bool temp2
= false ;
18045 PyObject
* obj0
= 0 ;
18046 PyObject
* obj1
= 0 ;
18047 char * kwnames
[] = {
18048 (char *) "self",(char *) "input", NULL
18051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
18053 if (!SWIG_IsOK(res1
)) {
18054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
18056 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
18058 arg2
= wxString_in_helper(obj1
);
18059 if (arg2
== NULL
) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 result
= (arg1
)->Convert((wxString
const &)*arg2
);
18065 wxPyEndAllowThreads(__tstate
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18089 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
= 0;
18091 wxFontEncoding arg1
;
18092 int arg2
= (int) wxPLATFORM_CURRENT
;
18093 wxFontEncodingArray result
;
18098 PyObject
* obj0
= 0 ;
18099 PyObject
* obj1
= 0 ;
18100 char * kwnames
[] = {
18101 (char *) "enc",(char *) "platform", NULL
18104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18105 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18106 if (!SWIG_IsOK(ecode1
)) {
18107 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18109 arg1
= static_cast< wxFontEncoding
>(val1
);
18111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18112 if (!SWIG_IsOK(ecode2
)) {
18113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
18115 arg2
= static_cast< int >(val2
);
18118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18124 resultobj
= PyList_New(0);
18125 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18126 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18127 PyList_Append(resultobj
, number
);
18137 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
= 0;
18139 wxFontEncoding arg1
;
18140 wxFontEncodingArray result
;
18143 PyObject
* obj0
= 0 ;
18144 char * kwnames
[] = {
18145 (char *) "enc", NULL
18148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
18149 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18150 if (!SWIG_IsOK(ecode1
)) {
18151 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18153 arg1
= static_cast< wxFontEncoding
>(val1
);
18155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18156 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
18157 wxPyEndAllowThreads(__tstate
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18161 resultobj
= PyList_New(0);
18162 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
18163 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
18164 PyList_Append(resultobj
, number
);
18174 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
= 0;
18176 wxFontEncoding arg1
;
18177 wxFontEncoding arg2
;
18183 PyObject
* obj0
= 0 ;
18184 PyObject
* obj1
= 0 ;
18185 char * kwnames
[] = {
18186 (char *) "encIn",(char *) "encOut", NULL
18189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18190 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18191 if (!SWIG_IsOK(ecode1
)) {
18192 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18194 arg1
= static_cast< wxFontEncoding
>(val1
);
18195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18196 if (!SWIG_IsOK(ecode2
)) {
18197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18199 arg2
= static_cast< wxFontEncoding
>(val2
);
18201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18215 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18217 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18218 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18219 return SWIG_Py_Void();
18222 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18223 return SWIG_Python_InitShadowInstance(args
);
18226 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18227 PyObject
*resultobj
= 0;
18228 wxDC
*arg1
= (wxDC
*) 0 ;
18231 PyObject
*swig_obj
[1] ;
18233 if (!args
) SWIG_fail
;
18234 swig_obj
[0] = args
;
18235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18236 if (!SWIG_IsOK(res1
)) {
18237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18239 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 resultobj
= SWIG_Py_Void();
18254 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
= 0;
18256 wxDC
*arg1
= (wxDC
*) 0 ;
18259 wxColour
*arg4
= 0 ;
18260 int arg5
= (int) wxFLOOD_SURFACE
;
18271 PyObject
* obj0
= 0 ;
18272 PyObject
* obj1
= 0 ;
18273 PyObject
* obj2
= 0 ;
18274 PyObject
* obj3
= 0 ;
18275 PyObject
* obj4
= 0 ;
18276 char * kwnames
[] = {
18277 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18282 if (!SWIG_IsOK(res1
)) {
18283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18285 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18287 if (!SWIG_IsOK(ecode2
)) {
18288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18290 arg2
= static_cast< int >(val2
);
18291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18292 if (!SWIG_IsOK(ecode3
)) {
18293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18295 arg3
= static_cast< int >(val3
);
18298 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18301 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18302 if (!SWIG_IsOK(ecode5
)) {
18303 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18305 arg5
= static_cast< int >(val5
);
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18322 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
= 0;
18324 wxDC
*arg1
= (wxDC
*) 0 ;
18325 wxPoint
*arg2
= 0 ;
18326 wxColour
*arg3
= 0 ;
18327 int arg4
= (int) wxFLOOD_SURFACE
;
18335 PyObject
* obj0
= 0 ;
18336 PyObject
* obj1
= 0 ;
18337 PyObject
* obj2
= 0 ;
18338 PyObject
* obj3
= 0 ;
18339 char * kwnames
[] = {
18340 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18345 if (!SWIG_IsOK(res1
)) {
18346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18348 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18351 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18355 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18358 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18359 if (!SWIG_IsOK(ecode4
)) {
18360 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18362 arg4
= static_cast< int >(val4
);
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18379 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18380 PyObject
*resultobj
= 0;
18381 wxDC
*arg1
= (wxDC
*) 0 ;
18383 wxColour
*arg3
= 0 ;
18384 wxColour
*arg4
= 0 ;
18385 wxPoint
*arg5
= 0 ;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 PyObject
* obj2
= 0 ;
18395 PyObject
* obj3
= 0 ;
18396 PyObject
* obj4
= 0 ;
18397 char * kwnames
[] = {
18398 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18403 if (!SWIG_IsOK(res1
)) {
18404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18406 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18409 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18413 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18417 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18421 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18426 wxPyEndAllowThreads(__tstate
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 resultobj
= SWIG_Py_Void();
18436 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
= 0;
18438 wxDC
*arg1
= (wxDC
*) 0 ;
18440 wxColour
*arg3
= 0 ;
18441 wxColour
*arg4
= 0 ;
18442 wxDirection arg5
= (wxDirection
) wxEAST
;
18450 PyObject
* obj0
= 0 ;
18451 PyObject
* obj1
= 0 ;
18452 PyObject
* obj2
= 0 ;
18453 PyObject
* obj3
= 0 ;
18454 PyObject
* obj4
= 0 ;
18455 char * kwnames
[] = {
18456 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18461 if (!SWIG_IsOK(res1
)) {
18462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18464 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18467 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18471 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18475 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18478 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18479 if (!SWIG_IsOK(ecode5
)) {
18480 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18482 arg5
= static_cast< wxDirection
>(val5
);
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 resultobj
= SWIG_Py_Void();
18497 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18498 PyObject
*resultobj
= 0;
18499 wxDC
*arg1
= (wxDC
*) 0 ;
18509 PyObject
* obj0
= 0 ;
18510 PyObject
* obj1
= 0 ;
18511 PyObject
* obj2
= 0 ;
18512 char * kwnames
[] = {
18513 (char *) "self",(char *) "x",(char *) "y", NULL
18516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18518 if (!SWIG_IsOK(res1
)) {
18519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18521 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18523 if (!SWIG_IsOK(ecode2
)) {
18524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18526 arg2
= static_cast< int >(val2
);
18527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18528 if (!SWIG_IsOK(ecode3
)) {
18529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18531 arg3
= static_cast< int >(val3
);
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18545 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
= 0;
18547 wxDC
*arg1
= (wxDC
*) 0 ;
18548 wxPoint
*arg2
= 0 ;
18553 PyObject
* obj0
= 0 ;
18554 PyObject
* obj1
= 0 ;
18555 char * kwnames
[] = {
18556 (char *) "self",(char *) "pt", NULL
18559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18561 if (!SWIG_IsOK(res1
)) {
18562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18564 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18567 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18582 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
= 0;
18584 wxDC
*arg1
= (wxDC
*) 0 ;
18599 PyObject
* obj0
= 0 ;
18600 PyObject
* obj1
= 0 ;
18601 PyObject
* obj2
= 0 ;
18602 PyObject
* obj3
= 0 ;
18603 PyObject
* obj4
= 0 ;
18604 char * kwnames
[] = {
18605 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18610 if (!SWIG_IsOK(res1
)) {
18611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18613 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18615 if (!SWIG_IsOK(ecode2
)) {
18616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18618 arg2
= static_cast< int >(val2
);
18619 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18620 if (!SWIG_IsOK(ecode3
)) {
18621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18623 arg3
= static_cast< int >(val3
);
18624 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18625 if (!SWIG_IsOK(ecode4
)) {
18626 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18628 arg4
= static_cast< int >(val4
);
18629 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18630 if (!SWIG_IsOK(ecode5
)) {
18631 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18633 arg5
= static_cast< int >(val5
);
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= SWIG_Py_Void();
18647 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
= 0;
18649 wxDC
*arg1
= (wxDC
*) 0 ;
18650 wxPoint
*arg2
= 0 ;
18651 wxPoint
*arg3
= 0 ;
18656 PyObject
* obj0
= 0 ;
18657 PyObject
* obj1
= 0 ;
18658 PyObject
* obj2
= 0 ;
18659 char * kwnames
[] = {
18660 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18665 if (!SWIG_IsOK(res1
)) {
18666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18668 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18671 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18675 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 resultobj
= SWIG_Py_Void();
18690 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
= 0;
18692 wxDC
*arg1
= (wxDC
*) 0 ;
18701 PyObject
* obj0
= 0 ;
18702 PyObject
* obj1
= 0 ;
18703 PyObject
* obj2
= 0 ;
18704 char * kwnames
[] = {
18705 (char *) "self",(char *) "x",(char *) "y", NULL
18708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18710 if (!SWIG_IsOK(res1
)) {
18711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18713 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18715 if (!SWIG_IsOK(ecode2
)) {
18716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18718 arg2
= static_cast< int >(val2
);
18719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18720 if (!SWIG_IsOK(ecode3
)) {
18721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18723 arg3
= static_cast< int >(val3
);
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 (arg1
)->CrossHair(arg2
,arg3
);
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 resultobj
= SWIG_Py_Void();
18737 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
= 0;
18739 wxDC
*arg1
= (wxDC
*) 0 ;
18740 wxPoint
*arg2
= 0 ;
18744 PyObject
* obj0
= 0 ;
18745 PyObject
* obj1
= 0 ;
18746 char * kwnames
[] = {
18747 (char *) "self",(char *) "pt", NULL
18750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18752 if (!SWIG_IsOK(res1
)) {
18753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18755 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18758 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18763 wxPyEndAllowThreads(__tstate
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18766 resultobj
= SWIG_Py_Void();
18773 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
= 0;
18775 wxDC
*arg1
= (wxDC
*) 0 ;
18796 PyObject
* obj0
= 0 ;
18797 PyObject
* obj1
= 0 ;
18798 PyObject
* obj2
= 0 ;
18799 PyObject
* obj3
= 0 ;
18800 PyObject
* obj4
= 0 ;
18801 PyObject
* obj5
= 0 ;
18802 PyObject
* obj6
= 0 ;
18803 char * kwnames
[] = {
18804 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18809 if (!SWIG_IsOK(res1
)) {
18810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18814 if (!SWIG_IsOK(ecode2
)) {
18815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18817 arg2
= static_cast< int >(val2
);
18818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18819 if (!SWIG_IsOK(ecode3
)) {
18820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18822 arg3
= static_cast< int >(val3
);
18823 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18824 if (!SWIG_IsOK(ecode4
)) {
18825 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18827 arg4
= static_cast< int >(val4
);
18828 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18829 if (!SWIG_IsOK(ecode5
)) {
18830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18832 arg5
= static_cast< int >(val5
);
18833 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18834 if (!SWIG_IsOK(ecode6
)) {
18835 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18837 arg6
= static_cast< int >(val6
);
18838 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18839 if (!SWIG_IsOK(ecode7
)) {
18840 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18842 arg7
= static_cast< int >(val7
);
18844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18845 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18846 wxPyEndAllowThreads(__tstate
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18849 resultobj
= SWIG_Py_Void();
18856 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18857 PyObject
*resultobj
= 0;
18858 wxDC
*arg1
= (wxDC
*) 0 ;
18859 wxPoint
*arg2
= 0 ;
18860 wxPoint
*arg3
= 0 ;
18861 wxPoint
*arg4
= 0 ;
18867 PyObject
* obj0
= 0 ;
18868 PyObject
* obj1
= 0 ;
18869 PyObject
* obj2
= 0 ;
18870 PyObject
* obj3
= 0 ;
18871 char * kwnames
[] = {
18872 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18877 if (!SWIG_IsOK(res1
)) {
18878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18880 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18883 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18887 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18891 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18899 resultobj
= SWIG_Py_Void();
18906 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18907 PyObject
*resultobj
= 0;
18908 wxDC
*arg1
= (wxDC
*) 0 ;
18923 PyObject
* obj0
= 0 ;
18924 PyObject
* obj1
= 0 ;
18925 PyObject
* obj2
= 0 ;
18926 PyObject
* obj3
= 0 ;
18927 PyObject
* obj4
= 0 ;
18928 char * kwnames
[] = {
18929 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18934 if (!SWIG_IsOK(res1
)) {
18935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18939 if (!SWIG_IsOK(ecode2
)) {
18940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18942 arg2
= static_cast< int >(val2
);
18943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18944 if (!SWIG_IsOK(ecode3
)) {
18945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18947 arg3
= static_cast< int >(val3
);
18948 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18949 if (!SWIG_IsOK(ecode4
)) {
18950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18952 arg4
= static_cast< int >(val4
);
18953 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18954 if (!SWIG_IsOK(ecode5
)) {
18955 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18957 arg5
= static_cast< int >(val5
);
18959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18960 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18961 wxPyEndAllowThreads(__tstate
);
18962 if (PyErr_Occurred()) SWIG_fail
;
18964 resultobj
= SWIG_Py_Void();
18971 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
= 0;
18973 wxDC
*arg1
= (wxDC
*) 0 ;
18978 PyObject
* obj0
= 0 ;
18979 PyObject
* obj1
= 0 ;
18980 char * kwnames
[] = {
18981 (char *) "self",(char *) "rect", NULL
18984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18986 if (!SWIG_IsOK(res1
)) {
18987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18989 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18992 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= SWIG_Py_Void();
19007 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19008 PyObject
*resultobj
= 0;
19009 wxDC
*arg1
= (wxDC
*) 0 ;
19030 PyObject
* obj0
= 0 ;
19031 PyObject
* obj1
= 0 ;
19032 PyObject
* obj2
= 0 ;
19033 PyObject
* obj3
= 0 ;
19034 PyObject
* obj4
= 0 ;
19035 PyObject
* obj5
= 0 ;
19036 PyObject
* obj6
= 0 ;
19037 char * kwnames
[] = {
19038 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
19041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
19042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19043 if (!SWIG_IsOK(res1
)) {
19044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
19046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19048 if (!SWIG_IsOK(ecode2
)) {
19049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
19051 arg2
= static_cast< int >(val2
);
19052 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19053 if (!SWIG_IsOK(ecode3
)) {
19054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
19056 arg3
= static_cast< int >(val3
);
19057 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19058 if (!SWIG_IsOK(ecode4
)) {
19059 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
19061 arg4
= static_cast< int >(val4
);
19062 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19063 if (!SWIG_IsOK(ecode5
)) {
19064 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
19066 arg5
= static_cast< int >(val5
);
19067 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19068 if (!SWIG_IsOK(ecode6
)) {
19069 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
19071 arg6
= static_cast< double >(val6
);
19072 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
19073 if (!SWIG_IsOK(ecode7
)) {
19074 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
19076 arg7
= static_cast< double >(val7
);
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19083 resultobj
= SWIG_Py_Void();
19090 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19091 PyObject
*resultobj
= 0;
19092 wxDC
*arg1
= (wxDC
*) 0 ;
19093 wxPoint
*arg2
= 0 ;
19105 PyObject
* obj0
= 0 ;
19106 PyObject
* obj1
= 0 ;
19107 PyObject
* obj2
= 0 ;
19108 PyObject
* obj3
= 0 ;
19109 PyObject
* obj4
= 0 ;
19110 char * kwnames
[] = {
19111 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
19114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19116 if (!SWIG_IsOK(res1
)) {
19117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19119 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19122 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19126 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19128 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19129 if (!SWIG_IsOK(ecode4
)) {
19130 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
19132 arg4
= static_cast< double >(val4
);
19133 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19134 if (!SWIG_IsOK(ecode5
)) {
19135 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
19137 arg5
= static_cast< double >(val5
);
19139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19140 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 resultobj
= SWIG_Py_Void();
19151 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19152 PyObject
*resultobj
= 0;
19153 wxDC
*arg1
= (wxDC
*) 0 ;
19162 PyObject
* obj0
= 0 ;
19163 PyObject
* obj1
= 0 ;
19164 PyObject
* obj2
= 0 ;
19165 char * kwnames
[] = {
19166 (char *) "self",(char *) "x",(char *) "y", NULL
19169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19171 if (!SWIG_IsOK(res1
)) {
19172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19176 if (!SWIG_IsOK(ecode2
)) {
19177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19179 arg2
= static_cast< int >(val2
);
19180 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19181 if (!SWIG_IsOK(ecode3
)) {
19182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19184 arg3
= static_cast< int >(val3
);
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 (arg1
)->DrawPoint(arg2
,arg3
);
19188 wxPyEndAllowThreads(__tstate
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19191 resultobj
= SWIG_Py_Void();
19198 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
= 0;
19200 wxDC
*arg1
= (wxDC
*) 0 ;
19201 wxPoint
*arg2
= 0 ;
19205 PyObject
* obj0
= 0 ;
19206 PyObject
* obj1
= 0 ;
19207 char * kwnames
[] = {
19208 (char *) "self",(char *) "pt", NULL
19211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19213 if (!SWIG_IsOK(res1
)) {
19214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19219 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19223 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 resultobj
= SWIG_Py_Void();
19234 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
= 0;
19236 wxDC
*arg1
= (wxDC
*) 0 ;
19251 PyObject
* obj0
= 0 ;
19252 PyObject
* obj1
= 0 ;
19253 PyObject
* obj2
= 0 ;
19254 PyObject
* obj3
= 0 ;
19255 PyObject
* obj4
= 0 ;
19256 char * kwnames
[] = {
19257 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19262 if (!SWIG_IsOK(res1
)) {
19263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19265 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19267 if (!SWIG_IsOK(ecode2
)) {
19268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19270 arg2
= static_cast< int >(val2
);
19271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19272 if (!SWIG_IsOK(ecode3
)) {
19273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19275 arg3
= static_cast< int >(val3
);
19276 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19277 if (!SWIG_IsOK(ecode4
)) {
19278 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19280 arg4
= static_cast< int >(val4
);
19281 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19282 if (!SWIG_IsOK(ecode5
)) {
19283 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19285 arg5
= static_cast< int >(val5
);
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19289 wxPyEndAllowThreads(__tstate
);
19290 if (PyErr_Occurred()) SWIG_fail
;
19292 resultobj
= SWIG_Py_Void();
19299 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19300 PyObject
*resultobj
= 0;
19301 wxDC
*arg1
= (wxDC
*) 0 ;
19306 PyObject
* obj0
= 0 ;
19307 PyObject
* obj1
= 0 ;
19308 char * kwnames
[] = {
19309 (char *) "self",(char *) "rect", NULL
19312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19314 if (!SWIG_IsOK(res1
)) {
19315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19317 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19320 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 resultobj
= SWIG_Py_Void();
19335 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
= 0;
19337 wxDC
*arg1
= (wxDC
*) 0 ;
19338 wxPoint
*arg2
= 0 ;
19344 PyObject
* obj0
= 0 ;
19345 PyObject
* obj1
= 0 ;
19346 PyObject
* obj2
= 0 ;
19347 char * kwnames
[] = {
19348 (char *) "self",(char *) "pt",(char *) "sz", NULL
19351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19353 if (!SWIG_IsOK(res1
)) {
19354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19356 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19359 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19363 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= SWIG_Py_Void();
19378 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
= 0;
19380 wxDC
*arg1
= (wxDC
*) 0 ;
19398 PyObject
* obj0
= 0 ;
19399 PyObject
* obj1
= 0 ;
19400 PyObject
* obj2
= 0 ;
19401 PyObject
* obj3
= 0 ;
19402 PyObject
* obj4
= 0 ;
19403 PyObject
* obj5
= 0 ;
19404 char * kwnames
[] = {
19405 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19410 if (!SWIG_IsOK(res1
)) {
19411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19413 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19415 if (!SWIG_IsOK(ecode2
)) {
19416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19418 arg2
= static_cast< int >(val2
);
19419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19420 if (!SWIG_IsOK(ecode3
)) {
19421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19423 arg3
= static_cast< int >(val3
);
19424 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19425 if (!SWIG_IsOK(ecode4
)) {
19426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19428 arg4
= static_cast< int >(val4
);
19429 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19430 if (!SWIG_IsOK(ecode5
)) {
19431 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19433 arg5
= static_cast< int >(val5
);
19434 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19435 if (!SWIG_IsOK(ecode6
)) {
19436 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19438 arg6
= static_cast< double >(val6
);
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19445 resultobj
= SWIG_Py_Void();
19452 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
= 0;
19454 wxDC
*arg1
= (wxDC
*) 0 ;
19462 PyObject
* obj0
= 0 ;
19463 PyObject
* obj1
= 0 ;
19464 PyObject
* obj2
= 0 ;
19465 char * kwnames
[] = {
19466 (char *) "self",(char *) "r",(char *) "radius", NULL
19469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19471 if (!SWIG_IsOK(res1
)) {
19472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19474 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19477 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19479 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19480 if (!SWIG_IsOK(ecode3
)) {
19481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19483 arg3
= static_cast< double >(val3
);
19485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19486 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 resultobj
= SWIG_Py_Void();
19497 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
= 0;
19499 wxDC
*arg1
= (wxDC
*) 0 ;
19500 wxPoint
*arg2
= 0 ;
19509 PyObject
* obj0
= 0 ;
19510 PyObject
* obj1
= 0 ;
19511 PyObject
* obj2
= 0 ;
19512 PyObject
* obj3
= 0 ;
19513 char * kwnames
[] = {
19514 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19519 if (!SWIG_IsOK(res1
)) {
19520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19525 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19529 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19531 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19532 if (!SWIG_IsOK(ecode4
)) {
19533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19535 arg4
= static_cast< double >(val4
);
19537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19538 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19539 wxPyEndAllowThreads(__tstate
);
19540 if (PyErr_Occurred()) SWIG_fail
;
19542 resultobj
= SWIG_Py_Void();
19549 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
= 0;
19551 wxDC
*arg1
= (wxDC
*) 0 ;
19563 PyObject
* obj0
= 0 ;
19564 PyObject
* obj1
= 0 ;
19565 PyObject
* obj2
= 0 ;
19566 PyObject
* obj3
= 0 ;
19567 char * kwnames
[] = {
19568 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19573 if (!SWIG_IsOK(res1
)) {
19574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19578 if (!SWIG_IsOK(ecode2
)) {
19579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19581 arg2
= static_cast< int >(val2
);
19582 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19583 if (!SWIG_IsOK(ecode3
)) {
19584 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19586 arg3
= static_cast< int >(val3
);
19587 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19588 if (!SWIG_IsOK(ecode4
)) {
19589 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19591 arg4
= static_cast< int >(val4
);
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19594 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 resultobj
= SWIG_Py_Void();
19605 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19606 PyObject
*resultobj
= 0;
19607 wxDC
*arg1
= (wxDC
*) 0 ;
19608 wxPoint
*arg2
= 0 ;
19615 PyObject
* obj0
= 0 ;
19616 PyObject
* obj1
= 0 ;
19617 PyObject
* obj2
= 0 ;
19618 char * kwnames
[] = {
19619 (char *) "self",(char *) "pt",(char *) "radius", NULL
19622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19624 if (!SWIG_IsOK(res1
)) {
19625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19633 if (!SWIG_IsOK(ecode3
)) {
19634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19636 arg3
= static_cast< int >(val3
);
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19643 resultobj
= SWIG_Py_Void();
19650 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19651 PyObject
*resultobj
= 0;
19652 wxDC
*arg1
= (wxDC
*) 0 ;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19669 PyObject
* obj2
= 0 ;
19670 PyObject
* obj3
= 0 ;
19671 PyObject
* obj4
= 0 ;
19672 char * kwnames
[] = {
19673 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19678 if (!SWIG_IsOK(res1
)) {
19679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19681 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19683 if (!SWIG_IsOK(ecode2
)) {
19684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19686 arg2
= static_cast< int >(val2
);
19687 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19688 if (!SWIG_IsOK(ecode3
)) {
19689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19691 arg3
= static_cast< int >(val3
);
19692 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19693 if (!SWIG_IsOK(ecode4
)) {
19694 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19696 arg4
= static_cast< int >(val4
);
19697 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19698 if (!SWIG_IsOK(ecode5
)) {
19699 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19701 arg5
= static_cast< int >(val5
);
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= SWIG_Py_Void();
19715 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
= 0;
19717 wxDC
*arg1
= (wxDC
*) 0 ;
19722 PyObject
* obj0
= 0 ;
19723 PyObject
* obj1
= 0 ;
19724 char * kwnames
[] = {
19725 (char *) "self",(char *) "rect", NULL
19728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19730 if (!SWIG_IsOK(res1
)) {
19731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19736 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 resultobj
= SWIG_Py_Void();
19751 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
= 0;
19753 wxDC
*arg1
= (wxDC
*) 0 ;
19754 wxPoint
*arg2
= 0 ;
19760 PyObject
* obj0
= 0 ;
19761 PyObject
* obj1
= 0 ;
19762 PyObject
* obj2
= 0 ;
19763 char * kwnames
[] = {
19764 (char *) "self",(char *) "pt",(char *) "sz", NULL
19767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19769 if (!SWIG_IsOK(res1
)) {
19770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19775 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19779 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19783 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 resultobj
= SWIG_Py_Void();
19794 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
= 0;
19796 wxDC
*arg1
= (wxDC
*) 0 ;
19808 PyObject
* obj0
= 0 ;
19809 PyObject
* obj1
= 0 ;
19810 PyObject
* obj2
= 0 ;
19811 PyObject
* obj3
= 0 ;
19812 char * kwnames
[] = {
19813 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19818 if (!SWIG_IsOK(res1
)) {
19819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19821 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19822 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19823 if (!SWIG_IsOK(res2
)) {
19824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19829 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19831 if (!SWIG_IsOK(ecode3
)) {
19832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19834 arg3
= static_cast< int >(val3
);
19835 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19836 if (!SWIG_IsOK(ecode4
)) {
19837 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19839 arg4
= static_cast< int >(val4
);
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= SWIG_Py_Void();
19853 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
= 0;
19855 wxDC
*arg1
= (wxDC
*) 0 ;
19857 wxPoint
*arg3
= 0 ;
19863 PyObject
* obj0
= 0 ;
19864 PyObject
* obj1
= 0 ;
19865 PyObject
* obj2
= 0 ;
19866 char * kwnames
[] = {
19867 (char *) "self",(char *) "icon",(char *) "pt", NULL
19870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19872 if (!SWIG_IsOK(res1
)) {
19873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19875 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19877 if (!SWIG_IsOK(res2
)) {
19878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19883 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19886 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19891 wxPyEndAllowThreads(__tstate
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19894 resultobj
= SWIG_Py_Void();
19901 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19902 PyObject
*resultobj
= 0;
19903 wxDC
*arg1
= (wxDC
*) 0 ;
19904 wxBitmap
*arg2
= 0 ;
19907 bool arg5
= (bool) false ;
19918 PyObject
* obj0
= 0 ;
19919 PyObject
* obj1
= 0 ;
19920 PyObject
* obj2
= 0 ;
19921 PyObject
* obj3
= 0 ;
19922 PyObject
* obj4
= 0 ;
19923 char * kwnames
[] = {
19924 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19929 if (!SWIG_IsOK(res1
)) {
19930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19932 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19934 if (!SWIG_IsOK(res2
)) {
19935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19940 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19942 if (!SWIG_IsOK(ecode3
)) {
19943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19945 arg3
= static_cast< int >(val3
);
19946 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19947 if (!SWIG_IsOK(ecode4
)) {
19948 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19950 arg4
= static_cast< int >(val4
);
19952 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19953 if (!SWIG_IsOK(ecode5
)) {
19954 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19956 arg5
= static_cast< bool >(val5
);
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19964 resultobj
= SWIG_Py_Void();
19971 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19972 PyObject
*resultobj
= 0;
19973 wxDC
*arg1
= (wxDC
*) 0 ;
19974 wxBitmap
*arg2
= 0 ;
19975 wxPoint
*arg3
= 0 ;
19976 bool arg4
= (bool) false ;
19984 PyObject
* obj0
= 0 ;
19985 PyObject
* obj1
= 0 ;
19986 PyObject
* obj2
= 0 ;
19987 PyObject
* obj3
= 0 ;
19988 char * kwnames
[] = {
19989 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19994 if (!SWIG_IsOK(res1
)) {
19995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19997 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19998 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19999 if (!SWIG_IsOK(res2
)) {
20000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
20005 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
20008 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20011 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20012 if (!SWIG_IsOK(ecode4
)) {
20013 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
20015 arg4
= static_cast< bool >(val4
);
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20023 resultobj
= SWIG_Py_Void();
20030 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
= 0;
20032 wxDC
*arg1
= (wxDC
*) 0 ;
20033 wxString
*arg2
= 0 ;
20038 bool temp2
= false ;
20043 PyObject
* obj0
= 0 ;
20044 PyObject
* obj1
= 0 ;
20045 PyObject
* obj2
= 0 ;
20046 PyObject
* obj3
= 0 ;
20047 char * kwnames
[] = {
20048 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
20051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20053 if (!SWIG_IsOK(res1
)) {
20054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
20056 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20058 arg2
= wxString_in_helper(obj1
);
20059 if (arg2
== NULL
) SWIG_fail
;
20062 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20063 if (!SWIG_IsOK(ecode3
)) {
20064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
20066 arg3
= static_cast< int >(val3
);
20067 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20068 if (!SWIG_IsOK(ecode4
)) {
20069 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
20071 arg4
= static_cast< int >(val4
);
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
20075 wxPyEndAllowThreads(__tstate
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20078 resultobj
= SWIG_Py_Void();
20093 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20094 PyObject
*resultobj
= 0;
20095 wxDC
*arg1
= (wxDC
*) 0 ;
20096 wxString
*arg2
= 0 ;
20097 wxPoint
*arg3
= 0 ;
20100 bool temp2
= false ;
20102 PyObject
* obj0
= 0 ;
20103 PyObject
* obj1
= 0 ;
20104 PyObject
* obj2
= 0 ;
20105 char * kwnames
[] = {
20106 (char *) "self",(char *) "text",(char *) "pt", NULL
20109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20111 if (!SWIG_IsOK(res1
)) {
20112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20114 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20116 arg2
= wxString_in_helper(obj1
);
20117 if (arg2
== NULL
) SWIG_fail
;
20122 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20126 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 resultobj
= SWIG_Py_Void();
20145 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
= 0;
20147 wxDC
*arg1
= (wxDC
*) 0 ;
20148 wxString
*arg2
= 0 ;
20154 bool temp2
= false ;
20161 PyObject
* obj0
= 0 ;
20162 PyObject
* obj1
= 0 ;
20163 PyObject
* obj2
= 0 ;
20164 PyObject
* obj3
= 0 ;
20165 PyObject
* obj4
= 0 ;
20166 char * kwnames
[] = {
20167 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
20170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20172 if (!SWIG_IsOK(res1
)) {
20173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20177 arg2
= wxString_in_helper(obj1
);
20178 if (arg2
== NULL
) SWIG_fail
;
20181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20182 if (!SWIG_IsOK(ecode3
)) {
20183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20185 arg3
= static_cast< int >(val3
);
20186 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20187 if (!SWIG_IsOK(ecode4
)) {
20188 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20190 arg4
= static_cast< int >(val4
);
20191 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20192 if (!SWIG_IsOK(ecode5
)) {
20193 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20195 arg5
= static_cast< double >(val5
);
20197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20198 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20199 wxPyEndAllowThreads(__tstate
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20202 resultobj
= SWIG_Py_Void();
20217 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
= 0;
20219 wxDC
*arg1
= (wxDC
*) 0 ;
20220 wxString
*arg2
= 0 ;
20221 wxPoint
*arg3
= 0 ;
20225 bool temp2
= false ;
20229 PyObject
* obj0
= 0 ;
20230 PyObject
* obj1
= 0 ;
20231 PyObject
* obj2
= 0 ;
20232 PyObject
* obj3
= 0 ;
20233 char * kwnames
[] = {
20234 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20239 if (!SWIG_IsOK(res1
)) {
20240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20244 arg2
= wxString_in_helper(obj1
);
20245 if (arg2
== NULL
) SWIG_fail
;
20250 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20252 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20253 if (!SWIG_IsOK(ecode4
)) {
20254 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20256 arg4
= static_cast< double >(val4
);
20258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 resultobj
= SWIG_Py_Void();
20278 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20279 PyObject
*resultobj
= 0;
20280 wxDC
*arg1
= (wxDC
*) 0 ;
20285 wxDC
*arg6
= (wxDC
*) 0 ;
20288 int arg9
= (int) wxCOPY
;
20289 bool arg10
= (bool) false ;
20290 int arg11
= (int) -1 ;
20291 int arg12
= (int) -1 ;
20317 PyObject
* obj0
= 0 ;
20318 PyObject
* obj1
= 0 ;
20319 PyObject
* obj2
= 0 ;
20320 PyObject
* obj3
= 0 ;
20321 PyObject
* obj4
= 0 ;
20322 PyObject
* obj5
= 0 ;
20323 PyObject
* obj6
= 0 ;
20324 PyObject
* obj7
= 0 ;
20325 PyObject
* obj8
= 0 ;
20326 PyObject
* obj9
= 0 ;
20327 PyObject
* obj10
= 0 ;
20328 PyObject
* obj11
= 0 ;
20329 char * kwnames
[] = {
20330 (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
20333 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
;
20334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20335 if (!SWIG_IsOK(res1
)) {
20336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20340 if (!SWIG_IsOK(ecode2
)) {
20341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20343 arg2
= static_cast< int >(val2
);
20344 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20345 if (!SWIG_IsOK(ecode3
)) {
20346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20348 arg3
= static_cast< int >(val3
);
20349 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20350 if (!SWIG_IsOK(ecode4
)) {
20351 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20353 arg4
= static_cast< int >(val4
);
20354 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20355 if (!SWIG_IsOK(ecode5
)) {
20356 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20358 arg5
= static_cast< int >(val5
);
20359 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20360 if (!SWIG_IsOK(res6
)) {
20361 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20363 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20364 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20365 if (!SWIG_IsOK(ecode7
)) {
20366 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20368 arg7
= static_cast< int >(val7
);
20369 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20370 if (!SWIG_IsOK(ecode8
)) {
20371 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20373 arg8
= static_cast< int >(val8
);
20375 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20376 if (!SWIG_IsOK(ecode9
)) {
20377 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20379 arg9
= static_cast< int >(val9
);
20382 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20383 if (!SWIG_IsOK(ecode10
)) {
20384 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20386 arg10
= static_cast< bool >(val10
);
20389 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20390 if (!SWIG_IsOK(ecode11
)) {
20391 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20393 arg11
= static_cast< int >(val11
);
20396 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20397 if (!SWIG_IsOK(ecode12
)) {
20398 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20400 arg12
= static_cast< int >(val12
);
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20405 wxPyEndAllowThreads(__tstate
);
20406 if (PyErr_Occurred()) SWIG_fail
;
20409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20417 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20418 PyObject
*resultobj
= 0;
20419 wxDC
*arg1
= (wxDC
*) 0 ;
20420 wxPoint
*arg2
= 0 ;
20422 wxDC
*arg4
= (wxDC
*) 0 ;
20423 wxPoint
*arg5
= 0 ;
20424 int arg6
= (int) wxCOPY
;
20425 bool arg7
= (bool) false ;
20426 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20427 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20441 PyObject
* obj0
= 0 ;
20442 PyObject
* obj1
= 0 ;
20443 PyObject
* obj2
= 0 ;
20444 PyObject
* obj3
= 0 ;
20445 PyObject
* obj4
= 0 ;
20446 PyObject
* obj5
= 0 ;
20447 PyObject
* obj6
= 0 ;
20448 PyObject
* obj7
= 0 ;
20449 char * kwnames
[] = {
20450 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20455 if (!SWIG_IsOK(res1
)) {
20456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20461 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20465 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20467 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20468 if (!SWIG_IsOK(res4
)) {
20469 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20471 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20474 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20477 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20478 if (!SWIG_IsOK(ecode6
)) {
20479 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20481 arg6
= static_cast< int >(val6
);
20484 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20485 if (!SWIG_IsOK(ecode7
)) {
20486 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20488 arg7
= static_cast< bool >(val7
);
20493 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20511 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
= 0;
20513 wxDC
*arg1
= (wxDC
*) 0 ;
20514 wxRect
*arg2
= (wxRect
*) NULL
;
20515 SwigValueWrapper
<wxBitmap
> result
;
20520 PyObject
* obj0
= 0 ;
20521 PyObject
* obj1
= 0 ;
20522 char * kwnames
[] = {
20523 (char *) "self",(char *) "subrect", NULL
20526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20528 if (!SWIG_IsOK(res1
)) {
20529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20531 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20533 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20534 if (!SWIG_IsOK(res2
)) {
20535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20537 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20545 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20552 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20553 PyObject
*resultobj
= 0;
20554 wxDC
*arg1
= (wxDC
*) 0 ;
20569 PyObject
* obj0
= 0 ;
20570 PyObject
* obj1
= 0 ;
20571 PyObject
* obj2
= 0 ;
20572 PyObject
* obj3
= 0 ;
20573 PyObject
* obj4
= 0 ;
20574 char * kwnames
[] = {
20575 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20580 if (!SWIG_IsOK(res1
)) {
20581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20583 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20585 if (!SWIG_IsOK(ecode2
)) {
20586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20588 arg2
= static_cast< int >(val2
);
20589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20590 if (!SWIG_IsOK(ecode3
)) {
20591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20593 arg3
= static_cast< int >(val3
);
20594 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20595 if (!SWIG_IsOK(ecode4
)) {
20596 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20598 arg4
= static_cast< int >(val4
);
20599 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20600 if (!SWIG_IsOK(ecode5
)) {
20601 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20603 arg5
= static_cast< int >(val5
);
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20610 resultobj
= SWIG_Py_Void();
20617 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20618 PyObject
*resultobj
= 0;
20619 wxDC
*arg1
= (wxDC
*) 0 ;
20620 wxPoint
*arg2
= 0 ;
20626 PyObject
* obj0
= 0 ;
20627 PyObject
* obj1
= 0 ;
20628 PyObject
* obj2
= 0 ;
20629 char * kwnames
[] = {
20630 (char *) "self",(char *) "pt",(char *) "sz", NULL
20633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20635 if (!SWIG_IsOK(res1
)) {
20636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20638 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20641 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20645 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20650 wxPyEndAllowThreads(__tstate
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20653 resultobj
= SWIG_Py_Void();
20660 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20661 PyObject
*resultobj
= 0;
20662 wxDC
*arg1
= (wxDC
*) 0 ;
20663 wxRegion
*arg2
= 0 ;
20668 PyObject
* obj0
= 0 ;
20669 PyObject
* obj1
= 0 ;
20670 char * kwnames
[] = {
20671 (char *) "self",(char *) "region", NULL
20674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20676 if (!SWIG_IsOK(res1
)) {
20677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20679 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20680 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20681 if (!SWIG_IsOK(res2
)) {
20682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20687 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20694 resultobj
= SWIG_Py_Void();
20701 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20702 PyObject
*resultobj
= 0;
20703 wxDC
*arg1
= (wxDC
*) 0 ;
20708 PyObject
* obj0
= 0 ;
20709 PyObject
* obj1
= 0 ;
20710 char * kwnames
[] = {
20711 (char *) "self",(char *) "rect", NULL
20714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20716 if (!SWIG_IsOK(res1
)) {
20717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20719 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20722 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20726 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20727 wxPyEndAllowThreads(__tstate
);
20728 if (PyErr_Occurred()) SWIG_fail
;
20730 resultobj
= SWIG_Py_Void();
20737 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20738 PyObject
*resultobj
= 0;
20739 wxDC
*arg1
= (wxDC
*) 0 ;
20741 wxPoint
*arg3
= (wxPoint
*) 0 ;
20742 int arg4
= (int) 0 ;
20743 int arg5
= (int) 0 ;
20750 PyObject
* obj0
= 0 ;
20751 PyObject
* obj1
= 0 ;
20752 PyObject
* obj2
= 0 ;
20753 PyObject
* obj3
= 0 ;
20754 char * kwnames
[] = {
20755 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20760 if (!SWIG_IsOK(res1
)) {
20761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20763 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20765 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20766 if (arg3
== NULL
) SWIG_fail
;
20769 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20770 if (!SWIG_IsOK(ecode4
)) {
20771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20773 arg4
= static_cast< int >(val4
);
20776 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20777 if (!SWIG_IsOK(ecode5
)) {
20778 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20780 arg5
= static_cast< int >(val5
);
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20785 wxPyEndAllowThreads(__tstate
);
20786 if (PyErr_Occurred()) SWIG_fail
;
20788 resultobj
= SWIG_Py_Void();
20790 if (arg3
) delete [] arg3
;
20795 if (arg3
) delete [] arg3
;
20801 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20802 PyObject
*resultobj
= 0;
20803 wxDC
*arg1
= (wxDC
*) 0 ;
20805 wxPoint
*arg3
= (wxPoint
*) 0 ;
20806 int arg4
= (int) 0 ;
20807 int arg5
= (int) 0 ;
20808 int arg6
= (int) wxODDEVEN_RULE
;
20817 PyObject
* obj0
= 0 ;
20818 PyObject
* obj1
= 0 ;
20819 PyObject
* obj2
= 0 ;
20820 PyObject
* obj3
= 0 ;
20821 PyObject
* obj4
= 0 ;
20822 char * kwnames
[] = {
20823 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20828 if (!SWIG_IsOK(res1
)) {
20829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20831 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20833 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20834 if (arg3
== NULL
) SWIG_fail
;
20837 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20838 if (!SWIG_IsOK(ecode4
)) {
20839 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20841 arg4
= static_cast< int >(val4
);
20844 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20845 if (!SWIG_IsOK(ecode5
)) {
20846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20848 arg5
= static_cast< int >(val5
);
20851 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20852 if (!SWIG_IsOK(ecode6
)) {
20853 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20855 arg6
= static_cast< int >(val6
);
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20860 wxPyEndAllowThreads(__tstate
);
20861 if (PyErr_Occurred()) SWIG_fail
;
20863 resultobj
= SWIG_Py_Void();
20865 if (arg3
) delete [] arg3
;
20870 if (arg3
) delete [] arg3
;
20876 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20877 PyObject
*resultobj
= 0;
20878 wxDC
*arg1
= (wxDC
*) 0 ;
20879 wxString
*arg2
= 0 ;
20881 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20882 int arg5
= (int) -1 ;
20885 bool temp2
= false ;
20891 PyObject
* obj0
= 0 ;
20892 PyObject
* obj1
= 0 ;
20893 PyObject
* obj2
= 0 ;
20894 PyObject
* obj3
= 0 ;
20895 PyObject
* obj4
= 0 ;
20896 char * kwnames
[] = {
20897 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20902 if (!SWIG_IsOK(res1
)) {
20903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20905 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20907 arg2
= wxString_in_helper(obj1
);
20908 if (arg2
== NULL
) SWIG_fail
;
20913 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20916 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20917 if (!SWIG_IsOK(ecode4
)) {
20918 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20920 arg4
= static_cast< int >(val4
);
20923 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20924 if (!SWIG_IsOK(ecode5
)) {
20925 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20927 arg5
= static_cast< int >(val5
);
20930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20931 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20935 resultobj
= SWIG_Py_Void();
20950 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
= 0;
20952 wxDC
*arg1
= (wxDC
*) 0 ;
20953 wxString
*arg2
= 0 ;
20954 wxBitmap
*arg3
= 0 ;
20956 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20957 int arg6
= (int) -1 ;
20961 bool temp2
= false ;
20969 PyObject
* obj0
= 0 ;
20970 PyObject
* obj1
= 0 ;
20971 PyObject
* obj2
= 0 ;
20972 PyObject
* obj3
= 0 ;
20973 PyObject
* obj4
= 0 ;
20974 PyObject
* obj5
= 0 ;
20975 char * kwnames
[] = {
20976 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20981 if (!SWIG_IsOK(res1
)) {
20982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20984 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20986 arg2
= wxString_in_helper(obj1
);
20987 if (arg2
== NULL
) SWIG_fail
;
20990 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20991 if (!SWIG_IsOK(res3
)) {
20992 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20997 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
21000 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
21003 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21004 if (!SWIG_IsOK(ecode5
)) {
21005 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
21007 arg5
= static_cast< int >(val5
);
21010 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21011 if (!SWIG_IsOK(ecode6
)) {
21012 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
21014 arg6
= static_cast< int >(val6
);
21017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21018 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21022 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21037 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
= 0;
21039 wxDC
*arg1
= (wxDC
*) 0 ;
21041 wxPoint
*arg3
= (wxPoint
*) 0 ;
21044 PyObject
* obj0
= 0 ;
21045 PyObject
* obj1
= 0 ;
21046 char * kwnames
[] = {
21047 (char *) "self",(char *) "points", NULL
21050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21052 if (!SWIG_IsOK(res1
)) {
21053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
21055 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21057 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
21058 if (arg3
== NULL
) SWIG_fail
;
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 (arg1
)->DrawSpline(arg2
,arg3
);
21063 wxPyEndAllowThreads(__tstate
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21066 resultobj
= SWIG_Py_Void();
21068 if (arg3
) delete [] arg3
;
21073 if (arg3
) delete [] arg3
;
21079 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21080 PyObject
*resultobj
= 0;
21081 wxDC
*arg1
= (wxDC
*) 0 ;
21084 PyObject
*swig_obj
[1] ;
21086 if (!args
) SWIG_fail
;
21087 swig_obj
[0] = args
;
21088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21089 if (!SWIG_IsOK(res1
)) {
21090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
21092 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_Py_Void();
21106 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
= 0;
21108 wxDC
*arg1
= (wxDC
*) 0 ;
21109 wxString
*arg2
= 0 ;
21113 bool temp2
= false ;
21114 PyObject
* obj0
= 0 ;
21115 PyObject
* obj1
= 0 ;
21116 char * kwnames
[] = {
21117 (char *) "self",(char *) "message", NULL
21120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21122 if (!SWIG_IsOK(res1
)) {
21123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21125 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21127 arg2
= wxString_in_helper(obj1
);
21128 if (arg2
== NULL
) SWIG_fail
;
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
21134 wxPyEndAllowThreads(__tstate
);
21135 if (PyErr_Occurred()) SWIG_fail
;
21138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21154 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21155 PyObject
*resultobj
= 0;
21156 wxDC
*arg1
= (wxDC
*) 0 ;
21159 PyObject
*swig_obj
[1] ;
21161 if (!args
) SWIG_fail
;
21162 swig_obj
[0] = args
;
21163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21164 if (!SWIG_IsOK(res1
)) {
21165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
21167 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21174 resultobj
= SWIG_Py_Void();
21181 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21182 PyObject
*resultobj
= 0;
21183 wxDC
*arg1
= (wxDC
*) 0 ;
21186 PyObject
*swig_obj
[1] ;
21188 if (!args
) SWIG_fail
;
21189 swig_obj
[0] = args
;
21190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21191 if (!SWIG_IsOK(res1
)) {
21192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
21194 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21197 (arg1
)->StartPage();
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21201 resultobj
= SWIG_Py_Void();
21208 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21209 PyObject
*resultobj
= 0;
21210 wxDC
*arg1
= (wxDC
*) 0 ;
21213 PyObject
*swig_obj
[1] ;
21215 if (!args
) SWIG_fail
;
21216 swig_obj
[0] = args
;
21217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21218 if (!SWIG_IsOK(res1
)) {
21219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21228 resultobj
= SWIG_Py_Void();
21235 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21236 PyObject
*resultobj
= 0;
21237 wxDC
*arg1
= (wxDC
*) 0 ;
21243 PyObject
* obj0
= 0 ;
21244 PyObject
* obj1
= 0 ;
21245 char * kwnames
[] = {
21246 (char *) "self",(char *) "font", NULL
21249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21251 if (!SWIG_IsOK(res1
)) {
21252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21256 if (!SWIG_IsOK(res2
)) {
21257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21262 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 (arg1
)->SetFont((wxFont
const &)*arg2
);
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21269 resultobj
= SWIG_Py_Void();
21276 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
= 0;
21278 wxDC
*arg1
= (wxDC
*) 0 ;
21284 PyObject
* obj0
= 0 ;
21285 PyObject
* obj1
= 0 ;
21286 char * kwnames
[] = {
21287 (char *) "self",(char *) "pen", NULL
21290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21292 if (!SWIG_IsOK(res1
)) {
21293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21295 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21297 if (!SWIG_IsOK(res2
)) {
21298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21303 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 (arg1
)->SetPen((wxPen
const &)*arg2
);
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21310 resultobj
= SWIG_Py_Void();
21317 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
= 0;
21319 wxDC
*arg1
= (wxDC
*) 0 ;
21320 wxBrush
*arg2
= 0 ;
21325 PyObject
* obj0
= 0 ;
21326 PyObject
* obj1
= 0 ;
21327 char * kwnames
[] = {
21328 (char *) "self",(char *) "brush", NULL
21331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21333 if (!SWIG_IsOK(res1
)) {
21334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21336 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21337 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21338 if (!SWIG_IsOK(res2
)) {
21339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21344 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21351 resultobj
= SWIG_Py_Void();
21358 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21359 PyObject
*resultobj
= 0;
21360 wxDC
*arg1
= (wxDC
*) 0 ;
21361 wxBrush
*arg2
= 0 ;
21366 PyObject
* obj0
= 0 ;
21367 PyObject
* obj1
= 0 ;
21368 char * kwnames
[] = {
21369 (char *) "self",(char *) "brush", NULL
21372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21374 if (!SWIG_IsOK(res1
)) {
21375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21379 if (!SWIG_IsOK(res2
)) {
21380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21385 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21388 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21389 wxPyEndAllowThreads(__tstate
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21392 resultobj
= SWIG_Py_Void();
21399 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
= 0;
21401 wxDC
*arg1
= (wxDC
*) 0 ;
21407 PyObject
* obj0
= 0 ;
21408 PyObject
* obj1
= 0 ;
21409 char * kwnames
[] = {
21410 (char *) "self",(char *) "mode", NULL
21413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21415 if (!SWIG_IsOK(res1
)) {
21416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21419 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21420 if (!SWIG_IsOK(ecode2
)) {
21421 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21423 arg2
= static_cast< int >(val2
);
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 (arg1
)->SetBackgroundMode(arg2
);
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= SWIG_Py_Void();
21437 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
= 0;
21439 wxDC
*arg1
= (wxDC
*) 0 ;
21440 wxPalette
*arg2
= 0 ;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 char * kwnames
[] = {
21448 (char *) "self",(char *) "palette", NULL
21451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21453 if (!SWIG_IsOK(res1
)) {
21454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21457 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21458 if (!SWIG_IsOK(res2
)) {
21459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21464 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= SWIG_Py_Void();
21478 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21479 PyObject
*resultobj
= 0;
21480 wxDC
*arg1
= (wxDC
*) 0 ;
21483 PyObject
*swig_obj
[1] ;
21485 if (!args
) SWIG_fail
;
21486 swig_obj
[0] = args
;
21487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21488 if (!SWIG_IsOK(res1
)) {
21489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21491 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21494 (arg1
)->DestroyClippingRegion();
21495 wxPyEndAllowThreads(__tstate
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21498 resultobj
= SWIG_Py_Void();
21505 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21506 PyObject
*resultobj
= 0;
21507 wxDC
*arg1
= (wxDC
*) 0 ;
21508 int *arg2
= (int *) 0 ;
21509 int *arg3
= (int *) 0 ;
21510 int *arg4
= (int *) 0 ;
21511 int *arg5
= (int *) 0 ;
21515 int res2
= SWIG_TMPOBJ
;
21517 int res3
= SWIG_TMPOBJ
;
21519 int res4
= SWIG_TMPOBJ
;
21521 int res5
= SWIG_TMPOBJ
;
21522 PyObject
*swig_obj
[1] ;
21528 if (!args
) SWIG_fail
;
21529 swig_obj
[0] = args
;
21530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21531 if (!SWIG_IsOK(res1
)) {
21532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21534 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21541 resultobj
= SWIG_Py_Void();
21542 if (SWIG_IsTmpObj(res2
)) {
21543 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21545 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21548 if (SWIG_IsTmpObj(res3
)) {
21549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21551 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21554 if (SWIG_IsTmpObj(res4
)) {
21555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21557 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21560 if (SWIG_IsTmpObj(res5
)) {
21561 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21563 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21572 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21573 PyObject
*resultobj
= 0;
21574 wxDC
*arg1
= (wxDC
*) 0 ;
21578 PyObject
*swig_obj
[1] ;
21580 if (!args
) SWIG_fail
;
21581 swig_obj
[0] = args
;
21582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21583 if (!SWIG_IsOK(res1
)) {
21584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21586 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 result
= wxDC_GetClippingRect(arg1
);
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21593 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21600 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21601 PyObject
*resultobj
= 0;
21602 wxDC
*arg1
= (wxDC
*) 0 ;
21606 PyObject
*swig_obj
[1] ;
21608 if (!args
) SWIG_fail
;
21609 swig_obj
[0] = args
;
21610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21611 if (!SWIG_IsOK(res1
)) {
21612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21614 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21621 resultobj
= SWIG_From_int(static_cast< int >(result
));
21628 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21629 PyObject
*resultobj
= 0;
21630 wxDC
*arg1
= (wxDC
*) 0 ;
21634 PyObject
*swig_obj
[1] ;
21636 if (!args
) SWIG_fail
;
21637 swig_obj
[0] = args
;
21638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21639 if (!SWIG_IsOK(res1
)) {
21640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21642 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 resultobj
= SWIG_From_int(static_cast< int >(result
));
21656 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
= 0;
21658 wxDC
*arg1
= (wxDC
*) 0 ;
21659 wxString
*arg2
= 0 ;
21660 int *arg3
= (int *) 0 ;
21661 int *arg4
= (int *) 0 ;
21664 bool temp2
= false ;
21666 int res3
= SWIG_TMPOBJ
;
21668 int res4
= SWIG_TMPOBJ
;
21669 PyObject
* obj0
= 0 ;
21670 PyObject
* obj1
= 0 ;
21671 char * kwnames
[] = {
21672 (char *) "self",(char *) "string", NULL
21677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21679 if (!SWIG_IsOK(res1
)) {
21680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21682 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21684 arg2
= wxString_in_helper(obj1
);
21685 if (arg2
== NULL
) SWIG_fail
;
21689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21690 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21691 wxPyEndAllowThreads(__tstate
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21694 resultobj
= SWIG_Py_Void();
21695 if (SWIG_IsTmpObj(res3
)) {
21696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21698 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21699 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21701 if (SWIG_IsTmpObj(res4
)) {
21702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21704 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21721 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
= 0;
21723 wxDC
*arg1
= (wxDC
*) 0 ;
21724 wxString
*arg2
= 0 ;
21725 int *arg3
= (int *) 0 ;
21726 int *arg4
= (int *) 0 ;
21727 int *arg5
= (int *) 0 ;
21728 int *arg6
= (int *) 0 ;
21729 wxFont
*arg7
= (wxFont
*) NULL
;
21732 bool temp2
= false ;
21734 int res3
= SWIG_TMPOBJ
;
21736 int res4
= SWIG_TMPOBJ
;
21738 int res5
= SWIG_TMPOBJ
;
21740 int res6
= SWIG_TMPOBJ
;
21743 PyObject
* obj0
= 0 ;
21744 PyObject
* obj1
= 0 ;
21745 PyObject
* obj2
= 0 ;
21746 char * kwnames
[] = {
21747 (char *) "self",(char *) "string",(char *) "font", NULL
21754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21756 if (!SWIG_IsOK(res1
)) {
21757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21759 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21761 arg2
= wxString_in_helper(obj1
);
21762 if (arg2
== NULL
) SWIG_fail
;
21766 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21767 if (!SWIG_IsOK(res7
)) {
21768 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21770 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21774 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21775 wxPyEndAllowThreads(__tstate
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21778 resultobj
= SWIG_Py_Void();
21779 if (SWIG_IsTmpObj(res3
)) {
21780 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21782 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21783 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21785 if (SWIG_IsTmpObj(res4
)) {
21786 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21788 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21789 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21791 if (SWIG_IsTmpObj(res5
)) {
21792 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21794 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21795 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21797 if (SWIG_IsTmpObj(res6
)) {
21798 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21800 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21817 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21818 PyObject
*resultobj
= 0;
21819 wxDC
*arg1
= (wxDC
*) 0 ;
21820 wxString
*arg2
= 0 ;
21821 int *arg3
= (int *) 0 ;
21822 int *arg4
= (int *) 0 ;
21823 int *arg5
= (int *) 0 ;
21824 wxFont
*arg6
= (wxFont
*) NULL
;
21827 bool temp2
= false ;
21829 int res3
= SWIG_TMPOBJ
;
21831 int res4
= SWIG_TMPOBJ
;
21833 int res5
= SWIG_TMPOBJ
;
21836 PyObject
* obj0
= 0 ;
21837 PyObject
* obj1
= 0 ;
21838 PyObject
* obj2
= 0 ;
21839 char * kwnames
[] = {
21840 (char *) "self",(char *) "text",(char *) "font", NULL
21846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21848 if (!SWIG_IsOK(res1
)) {
21849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21851 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21853 arg2
= wxString_in_helper(obj1
);
21854 if (arg2
== NULL
) SWIG_fail
;
21858 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21859 if (!SWIG_IsOK(res6
)) {
21860 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21862 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21866 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 resultobj
= SWIG_Py_Void();
21871 if (SWIG_IsTmpObj(res3
)) {
21872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21874 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21877 if (SWIG_IsTmpObj(res4
)) {
21878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21880 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21883 if (SWIG_IsTmpObj(res5
)) {
21884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21886 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21903 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
= 0;
21905 wxDC
*arg1
= (wxDC
*) 0 ;
21906 wxString
*arg2
= 0 ;
21910 bool temp2
= false ;
21911 PyObject
* obj0
= 0 ;
21912 PyObject
* obj1
= 0 ;
21913 char * kwnames
[] = {
21914 (char *) "self",(char *) "text", NULL
21917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21919 if (!SWIG_IsOK(res1
)) {
21920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21922 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21924 arg2
= wxString_in_helper(obj1
);
21925 if (arg2
== NULL
) SWIG_fail
;
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21935 resultobj
= wxArrayInt2PyList_helper(result
);
21951 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21952 PyObject
*resultobj
= 0;
21953 wxDC
*arg1
= (wxDC
*) 0 ;
21957 PyObject
*swig_obj
[1] ;
21959 if (!args
) SWIG_fail
;
21960 swig_obj
[0] = args
;
21961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21962 if (!SWIG_IsOK(res1
)) {
21963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21965 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21968 result
= (arg1
)->GetSize();
21969 wxPyEndAllowThreads(__tstate
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21972 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21979 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21980 PyObject
*resultobj
= 0;
21981 wxDC
*arg1
= (wxDC
*) 0 ;
21982 int *arg2
= (int *) 0 ;
21983 int *arg3
= (int *) 0 ;
21987 int res2
= SWIG_TMPOBJ
;
21989 int res3
= SWIG_TMPOBJ
;
21990 PyObject
*swig_obj
[1] ;
21994 if (!args
) SWIG_fail
;
21995 swig_obj
[0] = args
;
21996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21997 if (!SWIG_IsOK(res1
)) {
21998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
22000 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 (arg1
)->GetSize(arg2
,arg3
);
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 resultobj
= SWIG_Py_Void();
22008 if (SWIG_IsTmpObj(res2
)) {
22009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22011 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22014 if (SWIG_IsTmpObj(res3
)) {
22015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22017 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22018 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22026 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22027 PyObject
*resultobj
= 0;
22028 wxDC
*arg1
= (wxDC
*) 0 ;
22032 PyObject
*swig_obj
[1] ;
22034 if (!args
) SWIG_fail
;
22035 swig_obj
[0] = args
;
22036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22037 if (!SWIG_IsOK(res1
)) {
22038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
22040 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 result
= ((wxDC
const *)arg1
)->GetSizeMM();
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22047 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22054 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22055 PyObject
*resultobj
= 0;
22056 wxDC
*arg1
= (wxDC
*) 0 ;
22057 int *arg2
= (int *) 0 ;
22058 int *arg3
= (int *) 0 ;
22062 int res2
= SWIG_TMPOBJ
;
22064 int res3
= SWIG_TMPOBJ
;
22065 PyObject
*swig_obj
[1] ;
22069 if (!args
) SWIG_fail
;
22070 swig_obj
[0] = args
;
22071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22072 if (!SWIG_IsOK(res1
)) {
22073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22075 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
22079 wxPyEndAllowThreads(__tstate
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22082 resultobj
= SWIG_Py_Void();
22083 if (SWIG_IsTmpObj(res2
)) {
22084 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22086 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22089 if (SWIG_IsTmpObj(res3
)) {
22090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22092 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22093 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22101 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
= 0;
22103 wxDC
*arg1
= (wxDC
*) 0 ;
22110 PyObject
* obj0
= 0 ;
22111 PyObject
* obj1
= 0 ;
22112 char * kwnames
[] = {
22113 (char *) "self",(char *) "x", NULL
22116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22118 if (!SWIG_IsOK(res1
)) {
22119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
22121 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22123 if (!SWIG_IsOK(ecode2
)) {
22124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
22126 arg2
= static_cast< int >(val2
);
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 resultobj
= SWIG_From_int(static_cast< int >(result
));
22140 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
= 0;
22142 wxDC
*arg1
= (wxDC
*) 0 ;
22149 PyObject
* obj0
= 0 ;
22150 PyObject
* obj1
= 0 ;
22151 char * kwnames
[] = {
22152 (char *) "self",(char *) "y", NULL
22155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22157 if (!SWIG_IsOK(res1
)) {
22158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
22160 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22162 if (!SWIG_IsOK(ecode2
)) {
22163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
22165 arg2
= static_cast< int >(val2
);
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22172 resultobj
= SWIG_From_int(static_cast< int >(result
));
22179 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
= 0;
22181 wxDC
*arg1
= (wxDC
*) 0 ;
22188 PyObject
* obj0
= 0 ;
22189 PyObject
* obj1
= 0 ;
22190 char * kwnames
[] = {
22191 (char *) "self",(char *) "x", NULL
22194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22196 if (!SWIG_IsOK(res1
)) {
22197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22199 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22201 if (!SWIG_IsOK(ecode2
)) {
22202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
22204 arg2
= static_cast< int >(val2
);
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 resultobj
= SWIG_From_int(static_cast< int >(result
));
22218 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
= 0;
22220 wxDC
*arg1
= (wxDC
*) 0 ;
22227 PyObject
* obj0
= 0 ;
22228 PyObject
* obj1
= 0 ;
22229 char * kwnames
[] = {
22230 (char *) "self",(char *) "y", NULL
22233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22235 if (!SWIG_IsOK(res1
)) {
22236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22238 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22240 if (!SWIG_IsOK(ecode2
)) {
22241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22243 arg2
= static_cast< int >(val2
);
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 resultobj
= SWIG_From_int(static_cast< int >(result
));
22257 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
= 0;
22259 wxDC
*arg1
= (wxDC
*) 0 ;
22266 PyObject
* obj0
= 0 ;
22267 PyObject
* obj1
= 0 ;
22268 char * kwnames
[] = {
22269 (char *) "self",(char *) "x", NULL
22272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22274 if (!SWIG_IsOK(res1
)) {
22275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22279 if (!SWIG_IsOK(ecode2
)) {
22280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22282 arg2
= static_cast< int >(val2
);
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 resultobj
= SWIG_From_int(static_cast< int >(result
));
22296 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
= 0;
22298 wxDC
*arg1
= (wxDC
*) 0 ;
22305 PyObject
* obj0
= 0 ;
22306 PyObject
* obj1
= 0 ;
22307 char * kwnames
[] = {
22308 (char *) "self",(char *) "y", NULL
22311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22313 if (!SWIG_IsOK(res1
)) {
22314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22318 if (!SWIG_IsOK(ecode2
)) {
22319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22321 arg2
= static_cast< int >(val2
);
22323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22328 resultobj
= SWIG_From_int(static_cast< int >(result
));
22335 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
= 0;
22337 wxDC
*arg1
= (wxDC
*) 0 ;
22344 PyObject
* obj0
= 0 ;
22345 PyObject
* obj1
= 0 ;
22346 char * kwnames
[] = {
22347 (char *) "self",(char *) "x", NULL
22350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22352 if (!SWIG_IsOK(res1
)) {
22353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22355 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22357 if (!SWIG_IsOK(ecode2
)) {
22358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22360 arg2
= static_cast< int >(val2
);
22362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22363 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 resultobj
= SWIG_From_int(static_cast< int >(result
));
22374 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22375 PyObject
*resultobj
= 0;
22376 wxDC
*arg1
= (wxDC
*) 0 ;
22383 PyObject
* obj0
= 0 ;
22384 PyObject
* obj1
= 0 ;
22385 char * kwnames
[] = {
22386 (char *) "self",(char *) "y", NULL
22389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22391 if (!SWIG_IsOK(res1
)) {
22392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22394 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22396 if (!SWIG_IsOK(ecode2
)) {
22397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22399 arg2
= static_cast< int >(val2
);
22401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22402 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22403 wxPyEndAllowThreads(__tstate
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22406 resultobj
= SWIG_From_int(static_cast< int >(result
));
22413 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22414 PyObject
*resultobj
= 0;
22415 wxDC
*arg1
= (wxDC
*) 0 ;
22419 PyObject
*swig_obj
[1] ;
22421 if (!args
) SWIG_fail
;
22422 swig_obj
[0] = args
;
22423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22424 if (!SWIG_IsOK(res1
)) {
22425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22427 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22430 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22431 wxPyEndAllowThreads(__tstate
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22443 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22444 PyObject
*resultobj
= 0;
22445 wxDC
*arg1
= (wxDC
*) 0 ;
22449 PyObject
*swig_obj
[1] ;
22451 if (!args
) SWIG_fail
;
22452 swig_obj
[0] = args
;
22453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22454 if (!SWIG_IsOK(res1
)) {
22455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22460 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22461 wxPyEndAllowThreads(__tstate
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22473 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22474 PyObject
*resultobj
= 0;
22475 wxDC
*arg1
= (wxDC
*) 0 ;
22479 PyObject
*swig_obj
[1] ;
22481 if (!args
) SWIG_fail
;
22482 swig_obj
[0] = args
;
22483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22484 if (!SWIG_IsOK(res1
)) {
22485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22490 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22491 wxPyEndAllowThreads(__tstate
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22494 resultobj
= SWIG_From_int(static_cast< int >(result
));
22501 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22502 PyObject
*resultobj
= 0;
22503 wxDC
*arg1
= (wxDC
*) 0 ;
22507 PyObject
*swig_obj
[1] ;
22509 if (!args
) SWIG_fail
;
22510 swig_obj
[0] = args
;
22511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22512 if (!SWIG_IsOK(res1
)) {
22513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22515 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22518 result
= ((wxDC
const *)arg1
)->GetPPI();
22519 wxPyEndAllowThreads(__tstate
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22522 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22529 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22530 PyObject
*resultobj
= 0;
22531 wxDC
*arg1
= (wxDC
*) 0 ;
22535 PyObject
*swig_obj
[1] ;
22537 if (!args
) SWIG_fail
;
22538 swig_obj
[0] = args
;
22539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22540 if (!SWIG_IsOK(res1
)) {
22541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22543 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22559 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22560 PyObject
*resultobj
= 0;
22561 wxDC
*arg1
= (wxDC
*) 0 ;
22565 PyObject
*swig_obj
[1] ;
22567 if (!args
) SWIG_fail
;
22568 swig_obj
[0] = args
;
22569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22570 if (!SWIG_IsOK(res1
)) {
22571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22573 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22580 resultobj
= SWIG_From_int(static_cast< int >(result
));
22587 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22588 PyObject
*resultobj
= 0;
22589 wxDC
*arg1
= (wxDC
*) 0 ;
22590 wxBrush
*result
= 0 ;
22593 PyObject
*swig_obj
[1] ;
22595 if (!args
) SWIG_fail
;
22596 swig_obj
[0] = args
;
22597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22598 if (!SWIG_IsOK(res1
)) {
22599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22601 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22606 result
= (wxBrush
*) &_result_ref
;
22608 wxPyEndAllowThreads(__tstate
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22612 wxBrush
* resultptr
= new wxBrush(*result
);
22613 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22621 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22622 PyObject
*resultobj
= 0;
22623 wxDC
*arg1
= (wxDC
*) 0 ;
22624 wxBrush
*result
= 0 ;
22627 PyObject
*swig_obj
[1] ;
22629 if (!args
) SWIG_fail
;
22630 swig_obj
[0] = args
;
22631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22632 if (!SWIG_IsOK(res1
)) {
22633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22635 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22639 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22640 result
= (wxBrush
*) &_result_ref
;
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22646 wxBrush
* resultptr
= new wxBrush(*result
);
22647 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22655 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22656 PyObject
*resultobj
= 0;
22657 wxDC
*arg1
= (wxDC
*) 0 ;
22658 wxFont
*result
= 0 ;
22661 PyObject
*swig_obj
[1] ;
22663 if (!args
) SWIG_fail
;
22664 swig_obj
[0] = args
;
22665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22666 if (!SWIG_IsOK(res1
)) {
22667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22669 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22673 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22674 result
= (wxFont
*) &_result_ref
;
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22680 wxFont
* resultptr
= new wxFont(*result
);
22681 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22689 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22690 PyObject
*resultobj
= 0;
22691 wxDC
*arg1
= (wxDC
*) 0 ;
22692 wxPen
*result
= 0 ;
22695 PyObject
*swig_obj
[1] ;
22697 if (!args
) SWIG_fail
;
22698 swig_obj
[0] = args
;
22699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22700 if (!SWIG_IsOK(res1
)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22703 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22708 result
= (wxPen
*) &_result_ref
;
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22714 wxPen
* resultptr
= new wxPen(*result
);
22715 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22723 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22724 PyObject
*resultobj
= 0;
22725 wxDC
*arg1
= (wxDC
*) 0 ;
22726 wxColour
*result
= 0 ;
22729 PyObject
*swig_obj
[1] ;
22731 if (!args
) SWIG_fail
;
22732 swig_obj
[0] = args
;
22733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22734 if (!SWIG_IsOK(res1
)) {
22735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22737 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22742 result
= (wxColour
*) &_result_ref
;
22744 wxPyEndAllowThreads(__tstate
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22754 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22755 PyObject
*resultobj
= 0;
22756 wxDC
*arg1
= (wxDC
*) 0 ;
22757 wxColour
*result
= 0 ;
22760 PyObject
*swig_obj
[1] ;
22762 if (!args
) SWIG_fail
;
22763 swig_obj
[0] = args
;
22764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22765 if (!SWIG_IsOK(res1
)) {
22766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22768 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22772 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22773 result
= (wxColour
*) &_result_ref
;
22775 wxPyEndAllowThreads(__tstate
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22785 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22786 PyObject
*resultobj
= 0;
22787 wxDC
*arg1
= (wxDC
*) 0 ;
22788 wxColour
*arg2
= 0 ;
22792 PyObject
* obj0
= 0 ;
22793 PyObject
* obj1
= 0 ;
22794 char * kwnames
[] = {
22795 (char *) "self",(char *) "colour", NULL
22798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22800 if (!SWIG_IsOK(res1
)) {
22801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22803 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22806 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= SWIG_Py_Void();
22821 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22822 PyObject
*resultobj
= 0;
22823 wxDC
*arg1
= (wxDC
*) 0 ;
22824 wxColour
*arg2
= 0 ;
22828 PyObject
* obj0
= 0 ;
22829 PyObject
* obj1
= 0 ;
22830 char * kwnames
[] = {
22831 (char *) "self",(char *) "colour", NULL
22834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22836 if (!SWIG_IsOK(res1
)) {
22837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22839 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22842 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22850 resultobj
= SWIG_Py_Void();
22857 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22858 PyObject
*resultobj
= 0;
22859 wxDC
*arg1
= (wxDC
*) 0 ;
22863 PyObject
*swig_obj
[1] ;
22865 if (!args
) SWIG_fail
;
22866 swig_obj
[0] = args
;
22867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22868 if (!SWIG_IsOK(res1
)) {
22869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22871 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22874 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22875 wxPyEndAllowThreads(__tstate
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22878 resultobj
= SWIG_From_int(static_cast< int >(result
));
22885 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22886 PyObject
*resultobj
= 0;
22887 wxDC
*arg1
= (wxDC
*) 0 ;
22893 PyObject
* obj0
= 0 ;
22894 PyObject
* obj1
= 0 ;
22895 char * kwnames
[] = {
22896 (char *) "self",(char *) "mode", NULL
22899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22901 if (!SWIG_IsOK(res1
)) {
22902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22904 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22906 if (!SWIG_IsOK(ecode2
)) {
22907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22909 arg2
= static_cast< int >(val2
);
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22912 (arg1
)->SetMapMode(arg2
);
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22916 resultobj
= SWIG_Py_Void();
22923 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22924 PyObject
*resultobj
= 0;
22925 wxDC
*arg1
= (wxDC
*) 0 ;
22926 double *arg2
= (double *) 0 ;
22927 double *arg3
= (double *) 0 ;
22931 int res2
= SWIG_TMPOBJ
;
22933 int res3
= SWIG_TMPOBJ
;
22934 PyObject
*swig_obj
[1] ;
22938 if (!args
) SWIG_fail
;
22939 swig_obj
[0] = args
;
22940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22941 if (!SWIG_IsOK(res1
)) {
22942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22944 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 resultobj
= SWIG_Py_Void();
22952 if (SWIG_IsTmpObj(res2
)) {
22953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22955 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22958 if (SWIG_IsTmpObj(res3
)) {
22959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22961 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22970 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22971 PyObject
*resultobj
= 0;
22972 wxDC
*arg1
= (wxDC
*) 0 ;
22981 PyObject
* obj0
= 0 ;
22982 PyObject
* obj1
= 0 ;
22983 PyObject
* obj2
= 0 ;
22984 char * kwnames
[] = {
22985 (char *) "self",(char *) "x",(char *) "y", NULL
22988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22990 if (!SWIG_IsOK(res1
)) {
22991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22993 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22994 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22995 if (!SWIG_IsOK(ecode2
)) {
22996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22998 arg2
= static_cast< double >(val2
);
22999 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23000 if (!SWIG_IsOK(ecode3
)) {
23001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
23003 arg3
= static_cast< double >(val3
);
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 (arg1
)->SetUserScale(arg2
,arg3
);
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 resultobj
= SWIG_Py_Void();
23017 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23018 PyObject
*resultobj
= 0;
23019 wxDC
*arg1
= (wxDC
*) 0 ;
23020 double *arg2
= (double *) 0 ;
23021 double *arg3
= (double *) 0 ;
23025 int res2
= SWIG_TMPOBJ
;
23027 int res3
= SWIG_TMPOBJ
;
23028 PyObject
*swig_obj
[1] ;
23032 if (!args
) SWIG_fail
;
23033 swig_obj
[0] = args
;
23034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23035 if (!SWIG_IsOK(res1
)) {
23036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23038 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 (arg1
)->GetLogicalScale(arg2
,arg3
);
23042 wxPyEndAllowThreads(__tstate
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23045 resultobj
= SWIG_Py_Void();
23046 if (SWIG_IsTmpObj(res2
)) {
23047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
23049 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23050 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
23052 if (SWIG_IsTmpObj(res3
)) {
23053 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
23055 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23056 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
23064 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23065 PyObject
*resultobj
= 0;
23066 wxDC
*arg1
= (wxDC
*) 0 ;
23075 PyObject
* obj0
= 0 ;
23076 PyObject
* obj1
= 0 ;
23077 PyObject
* obj2
= 0 ;
23078 char * kwnames
[] = {
23079 (char *) "self",(char *) "x",(char *) "y", NULL
23082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23084 if (!SWIG_IsOK(res1
)) {
23085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
23087 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23088 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23089 if (!SWIG_IsOK(ecode2
)) {
23090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
23092 arg2
= static_cast< double >(val2
);
23093 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
23094 if (!SWIG_IsOK(ecode3
)) {
23095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
23097 arg3
= static_cast< double >(val3
);
23099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23100 (arg1
)->SetLogicalScale(arg2
,arg3
);
23101 wxPyEndAllowThreads(__tstate
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23104 resultobj
= SWIG_Py_Void();
23111 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23112 PyObject
*resultobj
= 0;
23113 wxDC
*arg1
= (wxDC
*) 0 ;
23117 PyObject
*swig_obj
[1] ;
23119 if (!args
) SWIG_fail
;
23120 swig_obj
[0] = args
;
23121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23122 if (!SWIG_IsOK(res1
)) {
23123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23125 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23139 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23140 PyObject
*resultobj
= 0;
23141 wxDC
*arg1
= (wxDC
*) 0 ;
23142 int *arg2
= (int *) 0 ;
23143 int *arg3
= (int *) 0 ;
23147 int res2
= SWIG_TMPOBJ
;
23149 int res3
= SWIG_TMPOBJ
;
23150 PyObject
*swig_obj
[1] ;
23154 if (!args
) SWIG_fail
;
23155 swig_obj
[0] = args
;
23156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23157 if (!SWIG_IsOK(res1
)) {
23158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23160 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23163 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
23164 wxPyEndAllowThreads(__tstate
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23167 resultobj
= SWIG_Py_Void();
23168 if (SWIG_IsTmpObj(res2
)) {
23169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23171 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23174 if (SWIG_IsTmpObj(res3
)) {
23175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23177 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23186 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
= 0;
23188 wxDC
*arg1
= (wxDC
*) 0 ;
23197 PyObject
* obj0
= 0 ;
23198 PyObject
* obj1
= 0 ;
23199 PyObject
* obj2
= 0 ;
23200 char * kwnames
[] = {
23201 (char *) "self",(char *) "x",(char *) "y", NULL
23204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23206 if (!SWIG_IsOK(res1
)) {
23207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23209 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23211 if (!SWIG_IsOK(ecode2
)) {
23212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23214 arg2
= static_cast< int >(val2
);
23215 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23216 if (!SWIG_IsOK(ecode3
)) {
23217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23219 arg3
= static_cast< int >(val3
);
23221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23222 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23226 resultobj
= SWIG_Py_Void();
23233 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
= 0;
23235 wxDC
*arg1
= (wxDC
*) 0 ;
23236 wxPoint
*arg2
= 0 ;
23240 PyObject
* obj0
= 0 ;
23241 PyObject
* obj1
= 0 ;
23242 char * kwnames
[] = {
23243 (char *) "self",(char *) "point", NULL
23246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23248 if (!SWIG_IsOK(res1
)) {
23249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23251 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23254 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23258 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23259 wxPyEndAllowThreads(__tstate
);
23260 if (PyErr_Occurred()) SWIG_fail
;
23262 resultobj
= SWIG_Py_Void();
23269 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23270 PyObject
*resultobj
= 0;
23271 wxDC
*arg1
= (wxDC
*) 0 ;
23275 PyObject
*swig_obj
[1] ;
23277 if (!args
) SWIG_fail
;
23278 swig_obj
[0] = args
;
23279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23280 if (!SWIG_IsOK(res1
)) {
23281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23283 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23290 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23297 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23298 PyObject
*resultobj
= 0;
23299 wxDC
*arg1
= (wxDC
*) 0 ;
23300 int *arg2
= (int *) 0 ;
23301 int *arg3
= (int *) 0 ;
23305 int res2
= SWIG_TMPOBJ
;
23307 int res3
= SWIG_TMPOBJ
;
23308 PyObject
*swig_obj
[1] ;
23312 if (!args
) SWIG_fail
;
23313 swig_obj
[0] = args
;
23314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23315 if (!SWIG_IsOK(res1
)) {
23316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23318 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 resultobj
= SWIG_Py_Void();
23326 if (SWIG_IsTmpObj(res2
)) {
23327 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23329 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23330 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23332 if (SWIG_IsTmpObj(res3
)) {
23333 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23335 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23336 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23344 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23345 PyObject
*resultobj
= 0;
23346 wxDC
*arg1
= (wxDC
*) 0 ;
23355 PyObject
* obj0
= 0 ;
23356 PyObject
* obj1
= 0 ;
23357 PyObject
* obj2
= 0 ;
23358 char * kwnames
[] = {
23359 (char *) "self",(char *) "x",(char *) "y", NULL
23362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23364 if (!SWIG_IsOK(res1
)) {
23365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23367 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23369 if (!SWIG_IsOK(ecode2
)) {
23370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23372 arg2
= static_cast< int >(val2
);
23373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23374 if (!SWIG_IsOK(ecode3
)) {
23375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23377 arg3
= static_cast< int >(val3
);
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 resultobj
= SWIG_Py_Void();
23391 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
= 0;
23393 wxDC
*arg1
= (wxDC
*) 0 ;
23394 wxPoint
*arg2
= 0 ;
23398 PyObject
* obj0
= 0 ;
23399 PyObject
* obj1
= 0 ;
23400 char * kwnames
[] = {
23401 (char *) "self",(char *) "point", NULL
23404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23406 if (!SWIG_IsOK(res1
)) {
23407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23412 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23420 resultobj
= SWIG_Py_Void();
23427 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23428 PyObject
*resultobj
= 0;
23429 wxDC
*arg1
= (wxDC
*) 0 ;
23438 PyObject
* obj0
= 0 ;
23439 PyObject
* obj1
= 0 ;
23440 PyObject
* obj2
= 0 ;
23441 char * kwnames
[] = {
23442 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23447 if (!SWIG_IsOK(res1
)) {
23448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23450 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23451 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23452 if (!SWIG_IsOK(ecode2
)) {
23453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23455 arg2
= static_cast< bool >(val2
);
23456 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23457 if (!SWIG_IsOK(ecode3
)) {
23458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23460 arg3
= static_cast< bool >(val3
);
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23467 resultobj
= SWIG_Py_Void();
23474 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23475 PyObject
*resultobj
= 0;
23476 wxDC
*arg1
= (wxDC
*) 0 ;
23480 PyObject
*swig_obj
[1] ;
23482 if (!args
) SWIG_fail
;
23483 swig_obj
[0] = args
;
23484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23485 if (!SWIG_IsOK(res1
)) {
23486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23488 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23495 resultobj
= SWIG_From_int(static_cast< int >(result
));
23502 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23503 PyObject
*resultobj
= 0;
23504 wxDC
*arg1
= (wxDC
*) 0 ;
23510 PyObject
* obj0
= 0 ;
23511 PyObject
* obj1
= 0 ;
23512 char * kwnames
[] = {
23513 (char *) "self",(char *) "function", NULL
23516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23518 if (!SWIG_IsOK(res1
)) {
23519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23521 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23523 if (!SWIG_IsOK(ecode2
)) {
23524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23526 arg2
= static_cast< int >(val2
);
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 (arg1
)->SetLogicalFunction(arg2
);
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23533 resultobj
= SWIG_Py_Void();
23540 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23541 PyObject
*resultobj
= 0;
23542 wxDC
*arg1
= (wxDC
*) 0 ;
23545 PyObject
*swig_obj
[1] ;
23547 if (!args
) SWIG_fail
;
23548 swig_obj
[0] = args
;
23549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23550 if (!SWIG_IsOK(res1
)) {
23551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23553 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23556 (arg1
)->ComputeScaleAndOrigin();
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23560 resultobj
= SWIG_Py_Void();
23567 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
= 0;
23569 wxDC
*arg1
= (wxDC
*) 0 ;
23578 PyObject
* obj0
= 0 ;
23579 PyObject
* obj1
= 0 ;
23580 PyObject
* obj2
= 0 ;
23581 char * kwnames
[] = {
23582 (char *) "self",(char *) "x",(char *) "y", NULL
23585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23587 if (!SWIG_IsOK(res1
)) {
23588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23590 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23592 if (!SWIG_IsOK(ecode2
)) {
23593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23595 arg2
= static_cast< int >(val2
);
23596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23597 if (!SWIG_IsOK(ecode3
)) {
23598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23600 arg3
= static_cast< int >(val3
);
23602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23603 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23604 wxPyEndAllowThreads(__tstate
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23607 resultobj
= SWIG_Py_Void();
23614 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
= 0;
23616 wxDC
*arg1
= (wxDC
*) 0 ;
23617 wxPoint
*arg2
= 0 ;
23621 PyObject
* obj0
= 0 ;
23622 PyObject
* obj1
= 0 ;
23623 char * kwnames
[] = {
23624 (char *) "self",(char *) "point", NULL
23627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23629 if (!SWIG_IsOK(res1
)) {
23630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23635 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23640 wxPyEndAllowThreads(__tstate
);
23641 if (PyErr_Occurred()) SWIG_fail
;
23643 resultobj
= SWIG_Py_Void();
23650 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23651 PyObject
*resultobj
= 0;
23652 wxDC
*arg1
= (wxDC
*) 0 ;
23655 PyObject
*swig_obj
[1] ;
23657 if (!args
) SWIG_fail
;
23658 swig_obj
[0] = args
;
23659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23660 if (!SWIG_IsOK(res1
)) {
23661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23663 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 (arg1
)->ResetBoundingBox();
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23670 resultobj
= SWIG_Py_Void();
23677 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23678 PyObject
*resultobj
= 0;
23679 wxDC
*arg1
= (wxDC
*) 0 ;
23683 PyObject
*swig_obj
[1] ;
23685 if (!args
) SWIG_fail
;
23686 swig_obj
[0] = args
;
23687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23688 if (!SWIG_IsOK(res1
)) {
23689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23691 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23694 result
= (int)((wxDC
const *)arg1
)->MinX();
23695 wxPyEndAllowThreads(__tstate
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23698 resultobj
= SWIG_From_int(static_cast< int >(result
));
23705 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23706 PyObject
*resultobj
= 0;
23707 wxDC
*arg1
= (wxDC
*) 0 ;
23711 PyObject
*swig_obj
[1] ;
23713 if (!args
) SWIG_fail
;
23714 swig_obj
[0] = args
;
23715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23716 if (!SWIG_IsOK(res1
)) {
23717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23719 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= (int)((wxDC
const *)arg1
)->MaxX();
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= SWIG_From_int(static_cast< int >(result
));
23733 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23734 PyObject
*resultobj
= 0;
23735 wxDC
*arg1
= (wxDC
*) 0 ;
23739 PyObject
*swig_obj
[1] ;
23741 if (!args
) SWIG_fail
;
23742 swig_obj
[0] = args
;
23743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23744 if (!SWIG_IsOK(res1
)) {
23745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23747 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 result
= (int)((wxDC
const *)arg1
)->MinY();
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= SWIG_From_int(static_cast< int >(result
));
23761 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23762 PyObject
*resultobj
= 0;
23763 wxDC
*arg1
= (wxDC
*) 0 ;
23767 PyObject
*swig_obj
[1] ;
23769 if (!args
) SWIG_fail
;
23770 swig_obj
[0] = args
;
23771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23772 if (!SWIG_IsOK(res1
)) {
23773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23775 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 result
= (int)((wxDC
const *)arg1
)->MaxY();
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= SWIG_From_int(static_cast< int >(result
));
23789 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23790 PyObject
*resultobj
= 0;
23791 wxDC
*arg1
= (wxDC
*) 0 ;
23792 int *arg2
= (int *) 0 ;
23793 int *arg3
= (int *) 0 ;
23794 int *arg4
= (int *) 0 ;
23795 int *arg5
= (int *) 0 ;
23799 int res2
= SWIG_TMPOBJ
;
23801 int res3
= SWIG_TMPOBJ
;
23803 int res4
= SWIG_TMPOBJ
;
23805 int res5
= SWIG_TMPOBJ
;
23806 PyObject
*swig_obj
[1] ;
23812 if (!args
) SWIG_fail
;
23813 swig_obj
[0] = args
;
23814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23815 if (!SWIG_IsOK(res1
)) {
23816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23818 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23821 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23822 wxPyEndAllowThreads(__tstate
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23825 resultobj
= SWIG_Py_Void();
23826 if (SWIG_IsTmpObj(res2
)) {
23827 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23829 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23830 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23832 if (SWIG_IsTmpObj(res3
)) {
23833 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23835 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23836 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23838 if (SWIG_IsTmpObj(res4
)) {
23839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23841 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23844 if (SWIG_IsTmpObj(res5
)) {
23845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23847 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23848 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23856 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23857 PyObject
*resultobj
= 0;
23858 wxDC
*arg1
= (wxDC
*) 0 ;
23859 wxLayoutDirection result
;
23862 PyObject
*swig_obj
[1] ;
23864 if (!args
) SWIG_fail
;
23865 swig_obj
[0] = args
;
23866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23867 if (!SWIG_IsOK(res1
)) {
23868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 resultobj
= SWIG_From_int(static_cast< int >(result
));
23884 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23885 PyObject
*resultobj
= 0;
23886 wxDC
*arg1
= (wxDC
*) 0 ;
23887 wxLayoutDirection arg2
;
23892 PyObject
* obj0
= 0 ;
23893 PyObject
* obj1
= 0 ;
23894 char * kwnames
[] = {
23895 (char *) "self",(char *) "dir", NULL
23898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23900 if (!SWIG_IsOK(res1
)) {
23901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23905 if (!SWIG_IsOK(ecode2
)) {
23906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23908 arg2
= static_cast< wxLayoutDirection
>(val2
);
23910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23911 (arg1
)->SetLayoutDirection(arg2
);
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23915 resultobj
= SWIG_Py_Void();
23922 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23923 PyObject
*resultobj
= 0;
23924 wxDC
*arg1
= (wxDC
*) 0 ;
23928 PyObject
*swig_obj
[1] ;
23930 if (!args
) SWIG_fail
;
23931 swig_obj
[0] = args
;
23932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23933 if (!SWIG_IsOK(res1
)) {
23934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23936 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 result
= (long)(arg1
)->GetHDC();
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23943 resultobj
= SWIG_From_long(static_cast< long >(result
));
23950 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23951 PyObject
*resultobj
= 0;
23952 wxDC
*arg1
= (wxDC
*) 0 ;
23953 PyObject
*arg2
= (PyObject
*) 0 ;
23954 PyObject
*arg3
= (PyObject
*) 0 ;
23955 PyObject
*arg4
= (PyObject
*) 0 ;
23956 PyObject
*result
= 0 ;
23959 PyObject
* obj0
= 0 ;
23960 PyObject
* obj1
= 0 ;
23961 PyObject
* obj2
= 0 ;
23962 PyObject
* obj3
= 0 ;
23963 char * kwnames
[] = {
23964 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23969 if (!SWIG_IsOK(res1
)) {
23970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23972 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23979 wxPyEndAllowThreads(__tstate
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23982 resultobj
= result
;
23989 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23990 PyObject
*resultobj
= 0;
23991 wxDC
*arg1
= (wxDC
*) 0 ;
23992 PyObject
*arg2
= (PyObject
*) 0 ;
23993 PyObject
*arg3
= (PyObject
*) 0 ;
23994 PyObject
*arg4
= (PyObject
*) 0 ;
23995 PyObject
*result
= 0 ;
23998 PyObject
* obj0
= 0 ;
23999 PyObject
* obj1
= 0 ;
24000 PyObject
* obj2
= 0 ;
24001 PyObject
* obj3
= 0 ;
24002 char * kwnames
[] = {
24003 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24008 if (!SWIG_IsOK(res1
)) {
24009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
24011 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
24018 wxPyEndAllowThreads(__tstate
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24021 resultobj
= result
;
24028 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24029 PyObject
*resultobj
= 0;
24030 wxDC
*arg1
= (wxDC
*) 0 ;
24031 PyObject
*arg2
= (PyObject
*) 0 ;
24032 PyObject
*arg3
= (PyObject
*) 0 ;
24033 PyObject
*arg4
= (PyObject
*) 0 ;
24034 PyObject
*result
= 0 ;
24037 PyObject
* obj0
= 0 ;
24038 PyObject
* obj1
= 0 ;
24039 PyObject
* obj2
= 0 ;
24040 PyObject
* obj3
= 0 ;
24041 char * kwnames
[] = {
24042 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24047 if (!SWIG_IsOK(res1
)) {
24048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
24050 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24060 resultobj
= result
;
24067 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24068 PyObject
*resultobj
= 0;
24069 wxDC
*arg1
= (wxDC
*) 0 ;
24070 PyObject
*arg2
= (PyObject
*) 0 ;
24071 PyObject
*arg3
= (PyObject
*) 0 ;
24072 PyObject
*arg4
= (PyObject
*) 0 ;
24073 PyObject
*result
= 0 ;
24076 PyObject
* obj0
= 0 ;
24077 PyObject
* obj1
= 0 ;
24078 PyObject
* obj2
= 0 ;
24079 PyObject
* obj3
= 0 ;
24080 char * kwnames
[] = {
24081 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24086 if (!SWIG_IsOK(res1
)) {
24087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
24089 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24095 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
24096 wxPyEndAllowThreads(__tstate
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24099 resultobj
= result
;
24106 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24107 PyObject
*resultobj
= 0;
24108 wxDC
*arg1
= (wxDC
*) 0 ;
24109 PyObject
*arg2
= (PyObject
*) 0 ;
24110 PyObject
*arg3
= (PyObject
*) 0 ;
24111 PyObject
*arg4
= (PyObject
*) 0 ;
24112 PyObject
*result
= 0 ;
24115 PyObject
* obj0
= 0 ;
24116 PyObject
* obj1
= 0 ;
24117 PyObject
* obj2
= 0 ;
24118 PyObject
* obj3
= 0 ;
24119 char * kwnames
[] = {
24120 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
24123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24125 if (!SWIG_IsOK(res1
)) {
24126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
24128 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24138 resultobj
= result
;
24145 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
= 0;
24147 wxDC
*arg1
= (wxDC
*) 0 ;
24148 PyObject
*arg2
= (PyObject
*) 0 ;
24149 PyObject
*arg3
= (PyObject
*) 0 ;
24150 PyObject
*arg4
= (PyObject
*) 0 ;
24151 PyObject
*arg5
= (PyObject
*) 0 ;
24152 PyObject
*result
= 0 ;
24155 PyObject
* obj0
= 0 ;
24156 PyObject
* obj1
= 0 ;
24157 PyObject
* obj2
= 0 ;
24158 PyObject
* obj3
= 0 ;
24159 PyObject
* obj4
= 0 ;
24160 char * kwnames
[] = {
24161 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
24164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24166 if (!SWIG_IsOK(res1
)) {
24167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
24169 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24176 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 resultobj
= result
;
24187 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24190 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
24191 return SWIG_Py_Void();
24194 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24195 PyObject
*resultobj
= 0;
24197 wxColour
*arg2
= 0 ;
24198 wxDCTextColourChanger
*result
= 0 ;
24202 PyObject
* obj0
= 0 ;
24203 PyObject
* obj1
= 0 ;
24204 char * kwnames
[] = {
24205 (char *) "dc",(char *) "col", NULL
24208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24209 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24210 if (!SWIG_IsOK(res1
)) {
24211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24219 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24223 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24234 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24235 PyObject
*resultobj
= 0;
24236 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24239 PyObject
*swig_obj
[1] ;
24241 if (!args
) SWIG_fail
;
24242 swig_obj
[0] = args
;
24243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24244 if (!SWIG_IsOK(res1
)) {
24245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24247 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24255 resultobj
= SWIG_Py_Void();
24262 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24265 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24266 return SWIG_Py_Void();
24269 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24270 return SWIG_Python_InitShadowInstance(args
);
24273 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24274 PyObject
*resultobj
= 0;
24277 wxDCPenChanger
*result
= 0 ;
24282 PyObject
* obj0
= 0 ;
24283 PyObject
* obj1
= 0 ;
24284 char * kwnames
[] = {
24285 (char *) "dc",(char *) "pen", NULL
24288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24289 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24290 if (!SWIG_IsOK(res1
)) {
24291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24294 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24298 if (!SWIG_IsOK(res2
)) {
24299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24304 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24318 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24319 PyObject
*resultobj
= 0;
24320 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24323 PyObject
*swig_obj
[1] ;
24325 if (!args
) SWIG_fail
;
24326 swig_obj
[0] = args
;
24327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24328 if (!SWIG_IsOK(res1
)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24331 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24339 resultobj
= SWIG_Py_Void();
24346 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24348 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24349 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24350 return SWIG_Py_Void();
24353 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24354 return SWIG_Python_InitShadowInstance(args
);
24357 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
= 0;
24360 wxBrush
*arg2
= 0 ;
24361 wxDCBrushChanger
*result
= 0 ;
24366 PyObject
* obj0
= 0 ;
24367 PyObject
* obj1
= 0 ;
24368 char * kwnames
[] = {
24369 (char *) "dc",(char *) "brush", NULL
24372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24373 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24374 if (!SWIG_IsOK(res1
)) {
24375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24380 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24381 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24382 if (!SWIG_IsOK(res2
)) {
24383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24386 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24388 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24402 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24403 PyObject
*resultobj
= 0;
24404 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24407 PyObject
*swig_obj
[1] ;
24409 if (!args
) SWIG_fail
;
24410 swig_obj
[0] = args
;
24411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24412 if (!SWIG_IsOK(res1
)) {
24413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24415 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24423 resultobj
= SWIG_Py_Void();
24430 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24433 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24434 return SWIG_Py_Void();
24437 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24438 return SWIG_Python_InitShadowInstance(args
);
24441 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24442 PyObject
*resultobj
= 0;
24444 wxRegion
*arg2
= 0 ;
24445 wxDCClipper
*result
= 0 ;
24451 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24453 if (!SWIG_IsOK(res1
)) {
24454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24460 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24461 if (!SWIG_IsOK(res2
)) {
24462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24467 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24471 wxPyEndAllowThreads(__tstate
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24481 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24482 PyObject
*resultobj
= 0;
24485 wxDCClipper
*result
= 0 ;
24490 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24492 if (!SWIG_IsOK(res1
)) {
24493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24496 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24501 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24505 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24506 wxPyEndAllowThreads(__tstate
);
24507 if (PyErr_Occurred()) SWIG_fail
;
24509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24516 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24517 PyObject
*resultobj
= 0;
24523 wxDCClipper
*result
= 0 ;
24535 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24537 if (!SWIG_IsOK(res1
)) {
24538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24543 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24544 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24545 if (!SWIG_IsOK(ecode2
)) {
24546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24548 arg2
= static_cast< int >(val2
);
24549 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24550 if (!SWIG_IsOK(ecode3
)) {
24551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24553 arg3
= static_cast< int >(val3
);
24554 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24555 if (!SWIG_IsOK(ecode4
)) {
24556 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24558 arg4
= static_cast< int >(val4
);
24559 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24560 if (!SWIG_IsOK(ecode5
)) {
24561 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24563 arg5
= static_cast< int >(val5
);
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24567 wxPyEndAllowThreads(__tstate
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24577 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24581 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24586 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24587 _v
= SWIG_CheckState(res
);
24589 if (!_v
) goto check_1
;
24590 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24595 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24598 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24602 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24607 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24608 PyObject
*resultobj
= 0;
24609 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24612 PyObject
*swig_obj
[1] ;
24614 if (!args
) SWIG_fail
;
24615 swig_obj
[0] = args
;
24616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24617 if (!SWIG_IsOK(res1
)) {
24618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24620 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24628 resultobj
= SWIG_Py_Void();
24635 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24637 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24638 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24639 return SWIG_Py_Void();
24642 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24643 return SWIG_Python_InitShadowInstance(args
);
24646 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24647 PyObject
*resultobj
= 0;
24648 wxScreenDC
*result
= 0 ;
24650 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24652 if (!wxPyCheckForApp()) SWIG_fail
;
24653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24654 result
= (wxScreenDC
*)new wxScreenDC();
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24665 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
= 0;
24667 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24668 wxWindow
*arg2
= (wxWindow
*) 0 ;
24674 PyObject
* obj0
= 0 ;
24675 PyObject
* obj1
= 0 ;
24676 char * kwnames
[] = {
24677 (char *) "self",(char *) "window", NULL
24680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24682 if (!SWIG_IsOK(res1
)) {
24683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24685 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24686 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24687 if (!SWIG_IsOK(res2
)) {
24688 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24690 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24706 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24707 PyObject
*resultobj
= 0;
24708 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24709 wxRect
*arg2
= (wxRect
*) NULL
;
24715 PyObject
* obj0
= 0 ;
24716 PyObject
* obj1
= 0 ;
24717 char * kwnames
[] = {
24718 (char *) "self",(char *) "rect", NULL
24721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24723 if (!SWIG_IsOK(res1
)) {
24724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24726 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24728 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24729 if (!SWIG_IsOK(res2
)) {
24730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24732 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24736 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24737 wxPyEndAllowThreads(__tstate
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24749 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24750 PyObject
*resultobj
= 0;
24751 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24755 PyObject
*swig_obj
[1] ;
24757 if (!args
) SWIG_fail
;
24758 swig_obj
[0] = args
;
24759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24760 if (!SWIG_IsOK(res1
)) {
24761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24763 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24766 result
= (bool)(arg1
)->EndDrawingOnTop();
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24779 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24782 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24783 return SWIG_Py_Void();
24786 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24787 return SWIG_Python_InitShadowInstance(args
);
24790 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
= 0;
24792 wxWindow
*arg1
= (wxWindow
*) 0 ;
24793 wxWindowDC
*result
= 0 ;
24796 PyObject
* obj0
= 0 ;
24797 char * kwnames
[] = {
24798 (char *) "win", NULL
24801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24803 if (!SWIG_IsOK(res1
)) {
24804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24806 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24808 if (!wxPyCheckForApp()) SWIG_fail
;
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24821 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24823 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24824 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24825 return SWIG_Py_Void();
24828 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24829 return SWIG_Python_InitShadowInstance(args
);
24832 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
= 0;
24834 wxWindow
*arg1
= (wxWindow
*) 0 ;
24835 wxClientDC
*result
= 0 ;
24838 PyObject
* obj0
= 0 ;
24839 char * kwnames
[] = {
24840 (char *) "win", NULL
24843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24845 if (!SWIG_IsOK(res1
)) {
24846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24848 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24850 if (!wxPyCheckForApp()) SWIG_fail
;
24851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24852 result
= (wxClientDC
*)new wxClientDC(arg1
);
24853 wxPyEndAllowThreads(__tstate
);
24854 if (PyErr_Occurred()) SWIG_fail
;
24856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24863 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24865 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24866 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24867 return SWIG_Py_Void();
24870 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24871 return SWIG_Python_InitShadowInstance(args
);
24874 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24875 PyObject
*resultobj
= 0;
24876 wxWindow
*arg1
= (wxWindow
*) 0 ;
24877 wxPaintDC
*result
= 0 ;
24880 PyObject
* obj0
= 0 ;
24881 char * kwnames
[] = {
24882 (char *) "win", NULL
24885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24887 if (!SWIG_IsOK(res1
)) {
24888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24890 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24892 if (!wxPyCheckForApp()) SWIG_fail
;
24893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24894 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24895 wxPyEndAllowThreads(__tstate
);
24896 if (PyErr_Occurred()) SWIG_fail
;
24898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24905 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24908 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24909 return SWIG_Py_Void();
24912 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24913 return SWIG_Python_InitShadowInstance(args
);
24916 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
= 0;
24918 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24919 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24920 wxMemoryDC
*result
= 0 ;
24923 PyObject
* obj0
= 0 ;
24924 char * kwnames
[] = {
24925 (char *) "bitmap", NULL
24928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24930 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24931 if (!SWIG_IsOK(res1
)) {
24932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24937 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24940 if (!wxPyCheckForApp()) SWIG_fail
;
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24943 wxPyEndAllowThreads(__tstate
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24953 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
= 0;
24955 wxDC
*arg1
= (wxDC
*) 0 ;
24956 wxMemoryDC
*result
= 0 ;
24959 PyObject
* obj0
= 0 ;
24960 char * kwnames
[] = {
24961 (char *) "oldDC", NULL
24964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24966 if (!SWIG_IsOK(res1
)) {
24967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24969 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24971 if (!wxPyCheckForApp()) SWIG_fail
;
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24974 wxPyEndAllowThreads(__tstate
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24984 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24985 PyObject
*resultobj
= 0;
24986 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24987 wxBitmap
*arg2
= 0 ;
24992 PyObject
* obj0
= 0 ;
24993 PyObject
* obj1
= 0 ;
24994 char * kwnames
[] = {
24995 (char *) "self",(char *) "bitmap", NULL
24998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25000 if (!SWIG_IsOK(res1
)) {
25001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25003 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25005 if (!SWIG_IsOK(res2
)) {
25006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
25011 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 (arg1
)->SelectObject(*arg2
);
25015 wxPyEndAllowThreads(__tstate
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25018 resultobj
= SWIG_Py_Void();
25025 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25026 PyObject
*resultobj
= 0;
25027 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
25028 wxBitmap
*arg2
= 0 ;
25033 PyObject
* obj0
= 0 ;
25034 PyObject
* obj1
= 0 ;
25035 char * kwnames
[] = {
25036 (char *) "self",(char *) "bmp", NULL
25039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
25041 if (!SWIG_IsOK(res1
)) {
25042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
25044 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
25045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25046 if (!SWIG_IsOK(res2
)) {
25047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25052 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25055 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25059 resultobj
= SWIG_Py_Void();
25066 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25068 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25069 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
25070 return SWIG_Py_Void();
25073 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25074 return SWIG_Python_InitShadowInstance(args
);
25077 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25078 PyObject
*resultobj
= 0;
25079 wxDC
*arg1
= (wxDC
*) 0 ;
25080 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25081 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25082 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25083 wxBufferedDC
*result
= 0 ;
25091 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
25092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25093 if (!SWIG_IsOK(res1
)) {
25094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25098 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25099 if (!SWIG_IsOK(res2
)) {
25100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25105 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25108 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25109 if (!SWIG_IsOK(ecode3
)) {
25110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25112 arg3
= static_cast< int >(val3
);
25115 if (!wxPyCheckForApp()) SWIG_fail
;
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
25118 wxPyEndAllowThreads(__tstate
);
25119 if (PyErr_Occurred()) SWIG_fail
;
25121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25128 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25129 PyObject
*resultobj
= 0;
25130 wxDC
*arg1
= (wxDC
*) 0 ;
25132 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25133 wxBufferedDC
*result
= 0 ;
25140 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
25141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
25142 if (!SWIG_IsOK(res1
)) {
25143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
25145 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25148 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
25151 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
25152 if (!SWIG_IsOK(ecode3
)) {
25153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
25155 arg3
= static_cast< int >(val3
);
25158 if (!wxPyCheckForApp()) SWIG_fail
;
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
25171 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
25175 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
25177 if ((argc
>= 1) && (argc
<= 3)) {
25182 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
25183 _v
= SWIG_CheckState(res
);
25185 if (!_v
) goto check_1
;
25187 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
25191 if ((argc
>= 2) && (argc
<= 3)) {
25192 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
25196 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
25201 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25202 PyObject
*resultobj
= 0;
25203 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25206 PyObject
*swig_obj
[1] ;
25208 if (!args
) SWIG_fail
;
25209 swig_obj
[0] = args
;
25210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
25211 if (!SWIG_IsOK(res1
)) {
25212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25214 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25222 resultobj
= SWIG_Py_Void();
25229 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25230 PyObject
*resultobj
= 0;
25231 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25234 PyObject
*swig_obj
[1] ;
25236 if (!args
) SWIG_fail
;
25237 swig_obj
[0] = args
;
25238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25239 if (!SWIG_IsOK(res1
)) {
25240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25242 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25246 wxPyEndAllowThreads(__tstate
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25249 resultobj
= SWIG_Py_Void();
25256 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25257 PyObject
*resultobj
= 0;
25258 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25264 PyObject
* obj0
= 0 ;
25265 PyObject
* obj1
= 0 ;
25266 char * kwnames
[] = {
25267 (char *) "self",(char *) "style", NULL
25270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25272 if (!SWIG_IsOK(res1
)) {
25273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
25275 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25277 if (!SWIG_IsOK(ecode2
)) {
25278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
25280 arg2
= static_cast< int >(val2
);
25282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25283 (arg1
)->SetStyle(arg2
);
25284 wxPyEndAllowThreads(__tstate
);
25285 if (PyErr_Occurred()) SWIG_fail
;
25287 resultobj
= SWIG_Py_Void();
25294 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25295 PyObject
*resultobj
= 0;
25296 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
25300 PyObject
*swig_obj
[1] ;
25302 if (!args
) SWIG_fail
;
25303 swig_obj
[0] = args
;
25304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
25305 if (!SWIG_IsOK(res1
)) {
25306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
25308 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
25312 wxPyEndAllowThreads(__tstate
);
25313 if (PyErr_Occurred()) SWIG_fail
;
25315 resultobj
= SWIG_From_int(static_cast< int >(result
));
25322 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25325 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25326 return SWIG_Py_Void();
25329 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25330 return SWIG_Python_InitShadowInstance(args
);
25333 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
= 0;
25335 wxWindow
*arg1
= (wxWindow
*) 0 ;
25336 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
25337 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25338 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25339 wxBufferedPaintDC
*result
= 0 ;
25346 PyObject
* obj0
= 0 ;
25347 PyObject
* obj1
= 0 ;
25348 PyObject
* obj2
= 0 ;
25349 char * kwnames
[] = {
25350 (char *) "window",(char *) "buffer",(char *) "style", NULL
25353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25355 if (!SWIG_IsOK(res1
)) {
25356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25358 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
25361 if (!SWIG_IsOK(res2
)) {
25362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
25367 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25370 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25371 if (!SWIG_IsOK(ecode3
)) {
25372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25374 arg3
= static_cast< int >(val3
);
25377 if (!wxPyCheckForApp()) SWIG_fail
;
25378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25379 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25383 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25390 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25393 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25394 return SWIG_Py_Void();
25397 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25398 return SWIG_Python_InitShadowInstance(args
);
25401 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
= 0;
25403 wxWindow
*arg1
= (wxWindow
*) 0 ;
25404 wxAutoBufferedPaintDC
*result
= 0 ;
25407 PyObject
* obj0
= 0 ;
25408 char * kwnames
[] = {
25409 (char *) "win", NULL
25412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25414 if (!SWIG_IsOK(res1
)) {
25415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25417 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25420 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25431 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25434 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25435 return SWIG_Py_Void();
25438 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25439 return SWIG_Python_InitShadowInstance(args
);
25442 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25443 PyObject
*resultobj
= 0;
25444 wxWindow
*arg1
= (wxWindow
*) 0 ;
25448 PyObject
* obj0
= 0 ;
25449 char * kwnames
[] = {
25450 (char *) "window", NULL
25453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25455 if (!SWIG_IsOK(res1
)) {
25456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25458 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25461 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25462 wxPyEndAllowThreads(__tstate
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25466 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25474 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
= 0;
25478 wxMirrorDC
*result
= 0 ;
25483 PyObject
* obj0
= 0 ;
25484 PyObject
* obj1
= 0 ;
25485 char * kwnames
[] = {
25486 (char *) "dc",(char *) "mirror", NULL
25489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25490 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25491 if (!SWIG_IsOK(res1
)) {
25492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25497 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25498 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25499 if (!SWIG_IsOK(ecode2
)) {
25500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25502 arg2
= static_cast< bool >(val2
);
25504 if (!wxPyCheckForApp()) SWIG_fail
;
25505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25517 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25520 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25521 return SWIG_Py_Void();
25524 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25525 return SWIG_Python_InitShadowInstance(args
);
25528 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25529 PyObject
*resultobj
= 0;
25530 wxPrintData
*arg1
= 0 ;
25531 wxPostScriptDC
*result
= 0 ;
25534 PyObject
* obj0
= 0 ;
25535 char * kwnames
[] = {
25536 (char *) "printData", NULL
25539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25540 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25541 if (!SWIG_IsOK(res1
)) {
25542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25547 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25549 if (!wxPyCheckForApp()) SWIG_fail
;
25550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25551 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25552 wxPyEndAllowThreads(__tstate
);
25553 if (PyErr_Occurred()) SWIG_fail
;
25555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25562 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25563 PyObject
*resultobj
= 0;
25564 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25565 wxPrintData
*result
= 0 ;
25568 PyObject
*swig_obj
[1] ;
25570 if (!args
) SWIG_fail
;
25571 swig_obj
[0] = args
;
25572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25573 if (!SWIG_IsOK(res1
)) {
25574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25576 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25581 result
= (wxPrintData
*) &_result_ref
;
25583 wxPyEndAllowThreads(__tstate
);
25584 if (PyErr_Occurred()) SWIG_fail
;
25586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25593 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25594 PyObject
*resultobj
= 0;
25595 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25596 wxPrintData
*arg2
= 0 ;
25601 PyObject
* obj0
= 0 ;
25602 PyObject
* obj1
= 0 ;
25603 char * kwnames
[] = {
25604 (char *) "self",(char *) "data", NULL
25607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25609 if (!SWIG_IsOK(res1
)) {
25610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25612 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25614 if (!SWIG_IsOK(res2
)) {
25615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25620 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25623 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25624 wxPyEndAllowThreads(__tstate
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25627 resultobj
= SWIG_Py_Void();
25634 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
= 0;
25639 PyObject
* obj0
= 0 ;
25640 char * kwnames
[] = {
25641 (char *) "ppi", NULL
25644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25645 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25646 if (!SWIG_IsOK(ecode1
)) {
25647 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25649 arg1
= static_cast< int >(val1
);
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 wxPostScriptDC::SetResolution(arg1
);
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25656 resultobj
= SWIG_Py_Void();
25663 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25664 PyObject
*resultobj
= 0;
25667 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 result
= (int)wxPostScriptDC::GetResolution();
25671 wxPyEndAllowThreads(__tstate
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= SWIG_From_int(static_cast< int >(result
));
25681 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25683 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25684 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25685 return SWIG_Py_Void();
25688 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25689 return SWIG_Python_InitShadowInstance(args
);
25692 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25693 PyObject
*resultobj
= 0;
25694 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25695 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25696 wxMetaFile
*result
= 0 ;
25697 bool temp1
= false ;
25698 PyObject
* obj0
= 0 ;
25699 char * kwnames
[] = {
25700 (char *) "filename", NULL
25703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25706 arg1
= wxString_in_helper(obj0
);
25707 if (arg1
== NULL
) SWIG_fail
;
25712 if (!wxPyCheckForApp()) SWIG_fail
;
25713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25714 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25715 wxPyEndAllowThreads(__tstate
);
25716 if (PyErr_Occurred()) SWIG_fail
;
25718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25733 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25734 PyObject
*resultobj
= 0;
25735 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25738 PyObject
*swig_obj
[1] ;
25740 if (!args
) SWIG_fail
;
25741 swig_obj
[0] = args
;
25742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25743 if (!SWIG_IsOK(res1
)) {
25744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25746 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25754 resultobj
= SWIG_Py_Void();
25761 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25762 PyObject
*resultobj
= 0;
25763 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25767 PyObject
*swig_obj
[1] ;
25769 if (!args
) SWIG_fail
;
25770 swig_obj
[0] = args
;
25771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25772 if (!SWIG_IsOK(res1
)) {
25773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25775 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25778 result
= (bool)(arg1
)->IsOk();
25779 wxPyEndAllowThreads(__tstate
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25791 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25792 PyObject
*resultobj
= 0;
25793 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25794 int arg2
= (int) 0 ;
25795 int arg3
= (int) 0 ;
25803 PyObject
* obj0
= 0 ;
25804 PyObject
* obj1
= 0 ;
25805 PyObject
* obj2
= 0 ;
25806 char * kwnames
[] = {
25807 (char *) "self",(char *) "width",(char *) "height", NULL
25810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25812 if (!SWIG_IsOK(res1
)) {
25813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25815 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25818 if (!SWIG_IsOK(ecode2
)) {
25819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25821 arg2
= static_cast< int >(val2
);
25824 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25825 if (!SWIG_IsOK(ecode3
)) {
25826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25828 arg3
= static_cast< int >(val3
);
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25832 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25833 wxPyEndAllowThreads(__tstate
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25845 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25846 PyObject
*resultobj
= 0;
25847 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25851 PyObject
*swig_obj
[1] ;
25853 if (!args
) SWIG_fail
;
25854 swig_obj
[0] = args
;
25855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25856 if (!SWIG_IsOK(res1
)) {
25857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25859 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25862 result
= (arg1
)->GetSize();
25863 wxPyEndAllowThreads(__tstate
);
25864 if (PyErr_Occurred()) SWIG_fail
;
25866 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25873 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25874 PyObject
*resultobj
= 0;
25875 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25879 PyObject
*swig_obj
[1] ;
25881 if (!args
) SWIG_fail
;
25882 swig_obj
[0] = args
;
25883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25884 if (!SWIG_IsOK(res1
)) {
25885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25887 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25890 result
= (int)(arg1
)->GetWidth();
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25894 resultobj
= SWIG_From_int(static_cast< int >(result
));
25901 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25902 PyObject
*resultobj
= 0;
25903 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25907 PyObject
*swig_obj
[1] ;
25909 if (!args
) SWIG_fail
;
25910 swig_obj
[0] = args
;
25911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25912 if (!SWIG_IsOK(res1
)) {
25913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25915 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25918 result
= (int)(arg1
)->GetHeight();
25919 wxPyEndAllowThreads(__tstate
);
25920 if (PyErr_Occurred()) SWIG_fail
;
25922 resultobj
= SWIG_From_int(static_cast< int >(result
));
25929 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25930 PyObject
*resultobj
= 0;
25931 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25932 wxString
*result
= 0 ;
25935 PyObject
*swig_obj
[1] ;
25937 if (!args
) SWIG_fail
;
25938 swig_obj
[0] = args
;
25939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25940 if (!SWIG_IsOK(res1
)) {
25941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
25943 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25947 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25948 result
= (wxString
*) &_result_ref
;
25950 wxPyEndAllowThreads(__tstate
);
25951 if (PyErr_Occurred()) SWIG_fail
;
25955 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25957 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25966 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25969 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25970 return SWIG_Py_Void();
25973 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25974 return SWIG_Python_InitShadowInstance(args
);
25977 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25978 PyObject
*resultobj
= 0;
25979 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25980 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25981 int arg2
= (int) 0 ;
25982 int arg3
= (int) 0 ;
25983 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25984 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25985 wxMetaFileDC
*result
= 0 ;
25986 bool temp1
= false ;
25991 bool temp4
= false ;
25992 PyObject
* obj0
= 0 ;
25993 PyObject
* obj1
= 0 ;
25994 PyObject
* obj2
= 0 ;
25995 PyObject
* obj3
= 0 ;
25996 char * kwnames
[] = {
25997 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
26000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26003 arg1
= wxString_in_helper(obj0
);
26004 if (arg1
== NULL
) SWIG_fail
;
26009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26010 if (!SWIG_IsOK(ecode2
)) {
26011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
26013 arg2
= static_cast< int >(val2
);
26016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26017 if (!SWIG_IsOK(ecode3
)) {
26018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
26020 arg3
= static_cast< int >(val3
);
26024 arg4
= wxString_in_helper(obj3
);
26025 if (arg4
== NULL
) SWIG_fail
;
26030 if (!wxPyCheckForApp()) SWIG_fail
;
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26032 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
26033 wxPyEndAllowThreads(__tstate
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
26059 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26060 PyObject
*resultobj
= 0;
26061 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
26062 wxMetaFile
*result
= 0 ;
26065 PyObject
*swig_obj
[1] ;
26067 if (!args
) SWIG_fail
;
26068 swig_obj
[0] = args
;
26069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
26070 if (!SWIG_IsOK(res1
)) {
26071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
26073 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
26075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26076 result
= (wxMetaFile
*)(arg1
)->Close();
26077 wxPyEndAllowThreads(__tstate
);
26078 if (PyErr_Occurred()) SWIG_fail
;
26080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
26087 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26090 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
26091 return SWIG_Py_Void();
26094 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26095 return SWIG_Python_InitShadowInstance(args
);
26098 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26099 PyObject
*resultobj
= 0;
26100 wxPrintData
*arg1
= 0 ;
26101 wxPrinterDC
*result
= 0 ;
26104 PyObject
* obj0
= 0 ;
26105 char * kwnames
[] = {
26106 (char *) "printData", NULL
26109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
26110 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26111 if (!SWIG_IsOK(res1
)) {
26112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26115 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26117 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26119 if (!wxPyCheckForApp()) SWIG_fail
;
26120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26121 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
26122 wxPyEndAllowThreads(__tstate
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
26132 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26135 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
26136 return SWIG_Py_Void();
26139 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26140 return SWIG_Python_InitShadowInstance(args
);
26143 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26144 PyObject
*resultobj
= 0;
26145 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
26146 wxGraphicsObject
*result
= 0 ;
26149 PyObject
* obj0
= 0 ;
26150 char * kwnames
[] = {
26151 (char *) "renderer", NULL
26154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
26156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26157 if (!SWIG_IsOK(res1
)) {
26158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
26160 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
26163 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
26164 if (PyErr_Occurred()) SWIG_fail
;
26166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
26173 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26174 PyObject
*resultobj
= 0;
26175 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26178 PyObject
*swig_obj
[1] ;
26180 if (!args
) SWIG_fail
;
26181 swig_obj
[0] = args
;
26182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
26183 if (!SWIG_IsOK(res1
)) {
26184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
26186 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26190 if (PyErr_Occurred()) SWIG_fail
;
26192 resultobj
= SWIG_Py_Void();
26199 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26200 PyObject
*resultobj
= 0;
26201 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26205 PyObject
*swig_obj
[1] ;
26207 if (!args
) SWIG_fail
;
26208 swig_obj
[0] = args
;
26209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26210 if (!SWIG_IsOK(res1
)) {
26211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26213 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26215 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
26216 if (PyErr_Occurred()) SWIG_fail
;
26219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26227 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26228 PyObject
*resultobj
= 0;
26229 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
26230 wxGraphicsRenderer
*result
= 0 ;
26233 PyObject
*swig_obj
[1] ;
26235 if (!args
) SWIG_fail
;
26236 swig_obj
[0] = args
;
26237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
26238 if (!SWIG_IsOK(res1
)) {
26239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
26241 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
26243 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
26244 if (PyErr_Occurred()) SWIG_fail
;
26246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
26253 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26256 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
26257 return SWIG_Py_Void();
26260 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26261 return SWIG_Python_InitShadowInstance(args
);
26264 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26265 PyObject
*resultobj
= 0;
26266 wxGraphicsPen
*result
= 0 ;
26268 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
26270 result
= (wxGraphicsPen
*)new wxGraphicsPen();
26271 if (PyErr_Occurred()) SWIG_fail
;
26273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
26280 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26281 PyObject
*resultobj
= 0;
26282 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
26285 PyObject
*swig_obj
[1] ;
26287 if (!args
) SWIG_fail
;
26288 swig_obj
[0] = args
;
26289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
26290 if (!SWIG_IsOK(res1
)) {
26291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
26293 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26299 resultobj
= SWIG_Py_Void();
26306 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26309 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
26310 return SWIG_Py_Void();
26313 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26314 return SWIG_Python_InitShadowInstance(args
);
26317 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26318 PyObject
*resultobj
= 0;
26319 wxGraphicsBrush
*result
= 0 ;
26321 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26323 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26324 if (PyErr_Occurred()) SWIG_fail
;
26326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26333 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26334 PyObject
*resultobj
= 0;
26335 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26338 PyObject
*swig_obj
[1] ;
26340 if (!args
) SWIG_fail
;
26341 swig_obj
[0] = args
;
26342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26343 if (!SWIG_IsOK(res1
)) {
26344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26346 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26350 if (PyErr_Occurred()) SWIG_fail
;
26352 resultobj
= SWIG_Py_Void();
26359 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26361 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26362 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26363 return SWIG_Py_Void();
26366 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26367 return SWIG_Python_InitShadowInstance(args
);
26370 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26371 PyObject
*resultobj
= 0;
26372 wxGraphicsFont
*result
= 0 ;
26374 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26376 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26377 if (PyErr_Occurred()) SWIG_fail
;
26379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26386 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26387 PyObject
*resultobj
= 0;
26388 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26391 PyObject
*swig_obj
[1] ;
26393 if (!args
) SWIG_fail
;
26394 swig_obj
[0] = args
;
26395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26396 if (!SWIG_IsOK(res1
)) {
26397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26399 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26405 resultobj
= SWIG_Py_Void();
26412 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26415 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26416 return SWIG_Py_Void();
26419 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26420 return SWIG_Python_InitShadowInstance(args
);
26423 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26424 PyObject
*resultobj
= 0;
26425 wxGraphicsMatrix
*result
= 0 ;
26427 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
26429 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
26430 if (PyErr_Occurred()) SWIG_fail
;
26432 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
26439 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26440 PyObject
*resultobj
= 0;
26441 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26444 PyObject
*swig_obj
[1] ;
26446 if (!args
) SWIG_fail
;
26447 swig_obj
[0] = args
;
26448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26449 if (!SWIG_IsOK(res1
)) {
26450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26452 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26456 if (PyErr_Occurred()) SWIG_fail
;
26458 resultobj
= SWIG_Py_Void();
26465 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26466 PyObject
*resultobj
= 0;
26467 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26468 wxGraphicsMatrix
*arg2
= 0 ;
26473 PyObject
* obj0
= 0 ;
26474 PyObject
* obj1
= 0 ;
26475 char * kwnames
[] = {
26476 (char *) "self",(char *) "t", NULL
26479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26481 if (!SWIG_IsOK(res1
)) {
26482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26484 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26486 if (!SWIG_IsOK(res2
)) {
26487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26492 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26494 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26497 resultobj
= SWIG_Py_Void();
26504 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
= 0;
26506 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26507 wxDouble arg2
= (wxDouble
) 1.0 ;
26508 wxDouble arg3
= (wxDouble
) 0.0 ;
26509 wxDouble arg4
= (wxDouble
) 0.0 ;
26510 wxDouble arg5
= (wxDouble
) 1.0 ;
26511 wxDouble arg6
= (wxDouble
) 0.0 ;
26512 wxDouble arg7
= (wxDouble
) 0.0 ;
26527 PyObject
* obj0
= 0 ;
26528 PyObject
* obj1
= 0 ;
26529 PyObject
* obj2
= 0 ;
26530 PyObject
* obj3
= 0 ;
26531 PyObject
* obj4
= 0 ;
26532 PyObject
* obj5
= 0 ;
26533 PyObject
* obj6
= 0 ;
26534 char * kwnames
[] = {
26535 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26540 if (!SWIG_IsOK(res1
)) {
26541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26543 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26545 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26546 if (!SWIG_IsOK(ecode2
)) {
26547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26549 arg2
= static_cast< wxDouble
>(val2
);
26552 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26553 if (!SWIG_IsOK(ecode3
)) {
26554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26556 arg3
= static_cast< wxDouble
>(val3
);
26559 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26560 if (!SWIG_IsOK(ecode4
)) {
26561 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26563 arg4
= static_cast< wxDouble
>(val4
);
26566 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26567 if (!SWIG_IsOK(ecode5
)) {
26568 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26570 arg5
= static_cast< wxDouble
>(val5
);
26573 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26574 if (!SWIG_IsOK(ecode6
)) {
26575 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26577 arg6
= static_cast< wxDouble
>(val6
);
26580 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26581 if (!SWIG_IsOK(ecode7
)) {
26582 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26584 arg7
= static_cast< wxDouble
>(val7
);
26587 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26588 if (PyErr_Occurred()) SWIG_fail
;
26590 resultobj
= SWIG_Py_Void();
26597 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26598 PyObject
*resultobj
= 0;
26599 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26600 wxDouble
*arg2
= (wxDouble
*) 0 ;
26601 wxDouble
*arg3
= (wxDouble
*) 0 ;
26602 wxDouble
*arg4
= (wxDouble
*) 0 ;
26603 wxDouble
*arg5
= (wxDouble
*) 0 ;
26604 wxDouble
*arg6
= (wxDouble
*) 0 ;
26605 wxDouble
*arg7
= (wxDouble
*) 0 ;
26609 int res2
= SWIG_TMPOBJ
;
26611 int res3
= SWIG_TMPOBJ
;
26613 int res4
= SWIG_TMPOBJ
;
26615 int res5
= SWIG_TMPOBJ
;
26617 int res6
= SWIG_TMPOBJ
;
26619 int res7
= SWIG_TMPOBJ
;
26620 PyObject
*swig_obj
[1] ;
26628 if (!args
) SWIG_fail
;
26629 swig_obj
[0] = args
;
26630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26631 if (!SWIG_IsOK(res1
)) {
26632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26634 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26636 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26639 resultobj
= SWIG_Py_Void();
26640 if (SWIG_IsTmpObj(res2
)) {
26641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26643 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26646 if (SWIG_IsTmpObj(res3
)) {
26647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26649 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26652 if (SWIG_IsTmpObj(res4
)) {
26653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26655 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26658 if (SWIG_IsTmpObj(res5
)) {
26659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26661 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26664 if (SWIG_IsTmpObj(res6
)) {
26665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26667 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26670 if (SWIG_IsTmpObj(res7
)) {
26671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
26673 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
26682 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26683 PyObject
*resultobj
= 0;
26684 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26687 PyObject
*swig_obj
[1] ;
26689 if (!args
) SWIG_fail
;
26690 swig_obj
[0] = args
;
26691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26692 if (!SWIG_IsOK(res1
)) {
26693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26695 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26700 resultobj
= SWIG_Py_Void();
26707 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26708 PyObject
*resultobj
= 0;
26709 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26710 wxGraphicsMatrix
*arg2
= 0 ;
26716 PyObject
* obj0
= 0 ;
26717 PyObject
* obj1
= 0 ;
26718 char * kwnames
[] = {
26719 (char *) "self",(char *) "t", NULL
26722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26724 if (!SWIG_IsOK(res1
)) {
26725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26727 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26728 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26729 if (!SWIG_IsOK(res2
)) {
26730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26735 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26737 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26749 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26750 PyObject
*resultobj
= 0;
26751 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26755 PyObject
*swig_obj
[1] ;
26757 if (!args
) SWIG_fail
;
26758 swig_obj
[0] = args
;
26759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26760 if (!SWIG_IsOK(res1
)) {
26761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26763 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26765 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26766 if (PyErr_Occurred()) SWIG_fail
;
26769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26777 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26778 PyObject
*resultobj
= 0;
26779 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26788 PyObject
* obj0
= 0 ;
26789 PyObject
* obj1
= 0 ;
26790 PyObject
* obj2
= 0 ;
26791 char * kwnames
[] = {
26792 (char *) "self",(char *) "dx",(char *) "dy", NULL
26795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26797 if (!SWIG_IsOK(res1
)) {
26798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26800 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26801 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26802 if (!SWIG_IsOK(ecode2
)) {
26803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26805 arg2
= static_cast< wxDouble
>(val2
);
26806 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26807 if (!SWIG_IsOK(ecode3
)) {
26808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26810 arg3
= static_cast< wxDouble
>(val3
);
26812 (arg1
)->Translate(arg2
,arg3
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26815 resultobj
= SWIG_Py_Void();
26822 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26823 PyObject
*resultobj
= 0;
26824 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26833 PyObject
* obj0
= 0 ;
26834 PyObject
* obj1
= 0 ;
26835 PyObject
* obj2
= 0 ;
26836 char * kwnames
[] = {
26837 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26842 if (!SWIG_IsOK(res1
)) {
26843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26845 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26846 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26847 if (!SWIG_IsOK(ecode2
)) {
26848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26850 arg2
= static_cast< wxDouble
>(val2
);
26851 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26852 if (!SWIG_IsOK(ecode3
)) {
26853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26855 arg3
= static_cast< wxDouble
>(val3
);
26857 (arg1
)->Scale(arg2
,arg3
);
26858 if (PyErr_Occurred()) SWIG_fail
;
26860 resultobj
= SWIG_Py_Void();
26867 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26868 PyObject
*resultobj
= 0;
26869 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26875 PyObject
* obj0
= 0 ;
26876 PyObject
* obj1
= 0 ;
26877 char * kwnames
[] = {
26878 (char *) "self",(char *) "angle", NULL
26881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26883 if (!SWIG_IsOK(res1
)) {
26884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26886 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26887 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26888 if (!SWIG_IsOK(ecode2
)) {
26889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26891 arg2
= static_cast< wxDouble
>(val2
);
26893 (arg1
)->Rotate(arg2
);
26894 if (PyErr_Occurred()) SWIG_fail
;
26896 resultobj
= SWIG_Py_Void();
26903 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
= 0;
26905 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26906 wxDouble
*arg2
= (wxDouble
*) 0 ;
26907 wxDouble
*arg3
= (wxDouble
*) 0 ;
26914 PyObject
* obj0
= 0 ;
26915 PyObject
* obj1
= 0 ;
26916 PyObject
* obj2
= 0 ;
26917 char * kwnames
[] = {
26918 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26923 if (!SWIG_IsOK(res1
)) {
26924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26926 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26927 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26929 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26930 if (!SWIG_IsOK(ecode
)) {
26931 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26933 temp2
= static_cast< wxDouble
>(val
);
26935 res2
= SWIG_AddTmpMask(ecode
);
26937 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26939 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26940 if (!SWIG_IsOK(ecode
)) {
26941 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26943 temp3
= static_cast< wxDouble
>(val
);
26945 res3
= SWIG_AddTmpMask(ecode
);
26948 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26949 if (PyErr_Occurred()) SWIG_fail
;
26951 resultobj
= SWIG_Py_Void();
26952 if (SWIG_IsTmpObj(res2
)) {
26953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26955 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26958 if (SWIG_IsTmpObj(res3
)) {
26959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26961 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26970 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
= 0;
26972 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26973 wxDouble
*arg2
= (wxDouble
*) 0 ;
26974 wxDouble
*arg3
= (wxDouble
*) 0 ;
26981 PyObject
* obj0
= 0 ;
26982 PyObject
* obj1
= 0 ;
26983 PyObject
* obj2
= 0 ;
26984 char * kwnames
[] = {
26985 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26990 if (!SWIG_IsOK(res1
)) {
26991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26993 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26994 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26996 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26997 if (!SWIG_IsOK(ecode
)) {
26998 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
27000 temp2
= static_cast< wxDouble
>(val
);
27002 res2
= SWIG_AddTmpMask(ecode
);
27004 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
27006 int ecode
= SWIG_AsVal_double(obj2
, &val
);
27007 if (!SWIG_IsOK(ecode
)) {
27008 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
27010 temp3
= static_cast< wxDouble
>(val
);
27012 res3
= SWIG_AddTmpMask(ecode
);
27015 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
27016 if (PyErr_Occurred()) SWIG_fail
;
27018 resultobj
= SWIG_Py_Void();
27019 if (SWIG_IsTmpObj(res2
)) {
27020 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
27022 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27023 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
27025 if (SWIG_IsTmpObj(res3
)) {
27026 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
27028 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27029 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
27037 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27038 PyObject
*resultobj
= 0;
27039 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27043 PyObject
*swig_obj
[1] ;
27045 if (!args
) SWIG_fail
;
27046 swig_obj
[0] = args
;
27047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27048 if (!SWIG_IsOK(res1
)) {
27049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27051 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27053 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
27054 if (PyErr_Occurred()) SWIG_fail
;
27056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27063 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27066 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
27067 return SWIG_Py_Void();
27070 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27071 return SWIG_Python_InitShadowInstance(args
);
27074 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27075 PyObject
*resultobj
= 0;
27076 wxGraphicsPath
*result
= 0 ;
27078 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
27080 if (!wxPyCheckForApp()) SWIG_fail
;
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 result
= (wxGraphicsPath
*)new wxGraphicsPath();
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
27093 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27094 PyObject
*resultobj
= 0;
27095 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27098 PyObject
*swig_obj
[1] ;
27100 if (!args
) SWIG_fail
;
27101 swig_obj
[0] = args
;
27102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
27103 if (!SWIG_IsOK(res1
)) {
27104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27106 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27112 resultobj
= SWIG_Py_Void();
27119 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27120 PyObject
*resultobj
= 0;
27121 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27131 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27133 if (!SWIG_IsOK(res1
)) {
27134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27136 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27137 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27138 if (!SWIG_IsOK(ecode2
)) {
27139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27141 arg2
= static_cast< wxDouble
>(val2
);
27142 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27143 if (!SWIG_IsOK(ecode3
)) {
27144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27146 arg3
= static_cast< wxDouble
>(val3
);
27148 (arg1
)->MoveToPoint(arg2
,arg3
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 resultobj
= SWIG_Py_Void();
27158 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27159 PyObject
*resultobj
= 0;
27160 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27161 wxPoint2D
*arg2
= 0 ;
27166 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27168 if (!SWIG_IsOK(res1
)) {
27169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27171 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27174 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27177 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27180 resultobj
= SWIG_Py_Void();
27187 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
27191 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
27194 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
27197 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
27201 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
27206 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27207 PyObject
*resultobj
= 0;
27208 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27218 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
27219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27220 if (!SWIG_IsOK(res1
)) {
27221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27223 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27224 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27225 if (!SWIG_IsOK(ecode2
)) {
27226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27228 arg2
= static_cast< wxDouble
>(val2
);
27229 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27230 if (!SWIG_IsOK(ecode3
)) {
27231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27233 arg3
= static_cast< wxDouble
>(val3
);
27235 (arg1
)->AddLineToPoint(arg2
,arg3
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27238 resultobj
= SWIG_Py_Void();
27245 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27246 PyObject
*resultobj
= 0;
27247 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27248 wxPoint2D
*arg2
= 0 ;
27253 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27255 if (!SWIG_IsOK(res1
)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27258 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27261 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27264 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27267 resultobj
= SWIG_Py_Void();
27274 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
27278 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
27281 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
27284 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
27288 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
27293 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27294 PyObject
*resultobj
= 0;
27295 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27317 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
27318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27319 if (!SWIG_IsOK(res1
)) {
27320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27322 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27323 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27324 if (!SWIG_IsOK(ecode2
)) {
27325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27327 arg2
= static_cast< wxDouble
>(val2
);
27328 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27329 if (!SWIG_IsOK(ecode3
)) {
27330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27332 arg3
= static_cast< wxDouble
>(val3
);
27333 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27334 if (!SWIG_IsOK(ecode4
)) {
27335 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27337 arg4
= static_cast< wxDouble
>(val4
);
27338 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27339 if (!SWIG_IsOK(ecode5
)) {
27340 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27342 arg5
= static_cast< wxDouble
>(val5
);
27343 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27344 if (!SWIG_IsOK(ecode6
)) {
27345 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27347 arg6
= static_cast< wxDouble
>(val6
);
27348 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
27349 if (!SWIG_IsOK(ecode7
)) {
27350 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
27352 arg7
= static_cast< wxDouble
>(val7
);
27354 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27357 resultobj
= SWIG_Py_Void();
27364 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27365 PyObject
*resultobj
= 0;
27366 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27367 wxPoint2D
*arg2
= 0 ;
27368 wxPoint2D
*arg3
= 0 ;
27369 wxPoint2D
*arg4
= 0 ;
27376 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
27377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27378 if (!SWIG_IsOK(res1
)) {
27379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27381 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27384 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27388 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
27392 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
27395 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
27396 if (PyErr_Occurred()) SWIG_fail
;
27398 resultobj
= SWIG_Py_Void();
27405 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
27409 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
27412 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
27415 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
27419 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
27424 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27425 PyObject
*resultobj
= 0;
27426 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27427 wxGraphicsPath
*arg2
= 0 ;
27432 PyObject
* obj0
= 0 ;
27433 PyObject
* obj1
= 0 ;
27434 char * kwnames
[] = {
27435 (char *) "self",(char *) "path", NULL
27438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27440 if (!SWIG_IsOK(res1
)) {
27441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27443 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27444 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
27445 if (!SWIG_IsOK(res2
)) {
27446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
27451 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
27453 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27456 resultobj
= SWIG_Py_Void();
27463 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27464 PyObject
*resultobj
= 0;
27465 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27468 PyObject
*swig_obj
[1] ;
27470 if (!args
) SWIG_fail
;
27471 swig_obj
[0] = args
;
27472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27473 if (!SWIG_IsOK(res1
)) {
27474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27476 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27478 (arg1
)->CloseSubpath();
27479 if (PyErr_Occurred()) SWIG_fail
;
27481 resultobj
= SWIG_Py_Void();
27488 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27489 PyObject
*resultobj
= 0;
27490 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27494 PyObject
*swig_obj
[1] ;
27496 if (!args
) SWIG_fail
;
27497 swig_obj
[0] = args
;
27498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27499 if (!SWIG_IsOK(res1
)) {
27500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27502 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27504 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27505 if (PyErr_Occurred()) SWIG_fail
;
27507 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27514 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27515 PyObject
*resultobj
= 0;
27516 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27522 bool arg7
= (bool) true ;
27538 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
27539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27540 if (!SWIG_IsOK(res1
)) {
27541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27543 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27544 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27545 if (!SWIG_IsOK(ecode2
)) {
27546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27548 arg2
= static_cast< wxDouble
>(val2
);
27549 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27550 if (!SWIG_IsOK(ecode3
)) {
27551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27553 arg3
= static_cast< wxDouble
>(val3
);
27554 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27555 if (!SWIG_IsOK(ecode4
)) {
27556 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27558 arg4
= static_cast< wxDouble
>(val4
);
27559 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27560 if (!SWIG_IsOK(ecode5
)) {
27561 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27563 arg5
= static_cast< wxDouble
>(val5
);
27564 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27565 if (!SWIG_IsOK(ecode6
)) {
27566 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27568 arg6
= static_cast< wxDouble
>(val6
);
27570 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27571 if (!SWIG_IsOK(ecode7
)) {
27572 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27574 arg7
= static_cast< bool >(val7
);
27577 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27580 resultobj
= SWIG_Py_Void();
27587 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27588 PyObject
*resultobj
= 0;
27589 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27590 wxPoint2D
*arg2
= 0 ;
27594 bool arg6
= (bool) true ;
27607 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
27608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27609 if (!SWIG_IsOK(res1
)) {
27610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27612 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27615 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27617 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27618 if (!SWIG_IsOK(ecode3
)) {
27619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27621 arg3
= static_cast< wxDouble
>(val3
);
27622 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27623 if (!SWIG_IsOK(ecode4
)) {
27624 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27626 arg4
= static_cast< wxDouble
>(val4
);
27627 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27628 if (!SWIG_IsOK(ecode5
)) {
27629 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27631 arg5
= static_cast< wxDouble
>(val5
);
27633 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27634 if (!SWIG_IsOK(ecode6
)) {
27635 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27637 arg6
= static_cast< bool >(val6
);
27640 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27643 resultobj
= SWIG_Py_Void();
27650 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27654 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27656 if ((argc
>= 5) && (argc
<= 6)) {
27660 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27663 if (!_v
) goto check_1
;
27667 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
27668 _v
= SWIG_CheckState(res
);
27671 if (!_v
) goto check_1
;
27673 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27677 if ((argc
>= 6) && (argc
<= 7)) {
27678 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27682 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27687 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27688 PyObject
*resultobj
= 0;
27689 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27704 PyObject
* obj0
= 0 ;
27705 PyObject
* obj1
= 0 ;
27706 PyObject
* obj2
= 0 ;
27707 PyObject
* obj3
= 0 ;
27708 PyObject
* obj4
= 0 ;
27709 char * kwnames
[] = {
27710 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27715 if (!SWIG_IsOK(res1
)) {
27716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27718 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27719 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27720 if (!SWIG_IsOK(ecode2
)) {
27721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27723 arg2
= static_cast< wxDouble
>(val2
);
27724 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27725 if (!SWIG_IsOK(ecode3
)) {
27726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27728 arg3
= static_cast< wxDouble
>(val3
);
27729 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27730 if (!SWIG_IsOK(ecode4
)) {
27731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27733 arg4
= static_cast< wxDouble
>(val4
);
27734 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27735 if (!SWIG_IsOK(ecode5
)) {
27736 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27738 arg5
= static_cast< wxDouble
>(val5
);
27740 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27743 resultobj
= SWIG_Py_Void();
27750 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27751 PyObject
*resultobj
= 0;
27752 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27767 PyObject
* obj0
= 0 ;
27768 PyObject
* obj1
= 0 ;
27769 PyObject
* obj2
= 0 ;
27770 PyObject
* obj3
= 0 ;
27771 PyObject
* obj4
= 0 ;
27772 char * kwnames
[] = {
27773 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27778 if (!SWIG_IsOK(res1
)) {
27779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27781 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27782 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27783 if (!SWIG_IsOK(ecode2
)) {
27784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27786 arg2
= static_cast< wxDouble
>(val2
);
27787 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27788 if (!SWIG_IsOK(ecode3
)) {
27789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27791 arg3
= static_cast< wxDouble
>(val3
);
27792 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27793 if (!SWIG_IsOK(ecode4
)) {
27794 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27796 arg4
= static_cast< wxDouble
>(val4
);
27797 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27798 if (!SWIG_IsOK(ecode5
)) {
27799 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27801 arg5
= static_cast< wxDouble
>(val5
);
27803 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 resultobj
= SWIG_Py_Void();
27813 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
= 0;
27815 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27827 PyObject
* obj0
= 0 ;
27828 PyObject
* obj1
= 0 ;
27829 PyObject
* obj2
= 0 ;
27830 PyObject
* obj3
= 0 ;
27831 char * kwnames
[] = {
27832 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27837 if (!SWIG_IsOK(res1
)) {
27838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27840 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27841 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27842 if (!SWIG_IsOK(ecode2
)) {
27843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27845 arg2
= static_cast< wxDouble
>(val2
);
27846 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27847 if (!SWIG_IsOK(ecode3
)) {
27848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27850 arg3
= static_cast< wxDouble
>(val3
);
27851 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27852 if (!SWIG_IsOK(ecode4
)) {
27853 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27855 arg4
= static_cast< wxDouble
>(val4
);
27857 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27858 if (PyErr_Occurred()) SWIG_fail
;
27860 resultobj
= SWIG_Py_Void();
27867 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27868 PyObject
*resultobj
= 0;
27869 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27887 PyObject
* obj0
= 0 ;
27888 PyObject
* obj1
= 0 ;
27889 PyObject
* obj2
= 0 ;
27890 PyObject
* obj3
= 0 ;
27891 PyObject
* obj4
= 0 ;
27892 PyObject
* obj5
= 0 ;
27893 char * kwnames
[] = {
27894 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27899 if (!SWIG_IsOK(res1
)) {
27900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27902 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27903 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27904 if (!SWIG_IsOK(ecode2
)) {
27905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27907 arg2
= static_cast< wxDouble
>(val2
);
27908 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27909 if (!SWIG_IsOK(ecode3
)) {
27910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27912 arg3
= static_cast< wxDouble
>(val3
);
27913 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27914 if (!SWIG_IsOK(ecode4
)) {
27915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27917 arg4
= static_cast< wxDouble
>(val4
);
27918 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27919 if (!SWIG_IsOK(ecode5
)) {
27920 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27922 arg5
= static_cast< wxDouble
>(val5
);
27923 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27924 if (!SWIG_IsOK(ecode6
)) {
27925 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27927 arg6
= static_cast< wxDouble
>(val6
);
27929 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27932 resultobj
= SWIG_Py_Void();
27939 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27940 PyObject
*resultobj
= 0;
27941 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27956 PyObject
* obj0
= 0 ;
27957 PyObject
* obj1
= 0 ;
27958 PyObject
* obj2
= 0 ;
27959 PyObject
* obj3
= 0 ;
27960 PyObject
* obj4
= 0 ;
27961 char * kwnames
[] = {
27962 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27967 if (!SWIG_IsOK(res1
)) {
27968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27970 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27971 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27972 if (!SWIG_IsOK(ecode2
)) {
27973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27975 arg2
= static_cast< wxDouble
>(val2
);
27976 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27977 if (!SWIG_IsOK(ecode3
)) {
27978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27980 arg3
= static_cast< wxDouble
>(val3
);
27981 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27982 if (!SWIG_IsOK(ecode4
)) {
27983 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27985 arg4
= static_cast< wxDouble
>(val4
);
27986 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27987 if (!SWIG_IsOK(ecode5
)) {
27988 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27990 arg5
= static_cast< wxDouble
>(val5
);
27992 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 resultobj
= SWIG_Py_Void();
28002 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28003 PyObject
*resultobj
= 0;
28004 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28022 PyObject
* obj0
= 0 ;
28023 PyObject
* obj1
= 0 ;
28024 PyObject
* obj2
= 0 ;
28025 PyObject
* obj3
= 0 ;
28026 PyObject
* obj4
= 0 ;
28027 PyObject
* obj5
= 0 ;
28028 char * kwnames
[] = {
28029 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
28032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28034 if (!SWIG_IsOK(res1
)) {
28035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28037 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28038 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28039 if (!SWIG_IsOK(ecode2
)) {
28040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
28042 arg2
= static_cast< wxDouble
>(val2
);
28043 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28044 if (!SWIG_IsOK(ecode3
)) {
28045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
28047 arg3
= static_cast< wxDouble
>(val3
);
28048 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28049 if (!SWIG_IsOK(ecode4
)) {
28050 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
28052 arg4
= static_cast< wxDouble
>(val4
);
28053 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28054 if (!SWIG_IsOK(ecode5
)) {
28055 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
28057 arg5
= static_cast< wxDouble
>(val5
);
28058 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28059 if (!SWIG_IsOK(ecode6
)) {
28060 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
28062 arg6
= static_cast< wxDouble
>(val6
);
28064 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
28065 if (PyErr_Occurred()) SWIG_fail
;
28067 resultobj
= SWIG_Py_Void();
28074 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28075 PyObject
*resultobj
= 0;
28076 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28080 PyObject
*swig_obj
[1] ;
28082 if (!args
) SWIG_fail
;
28083 swig_obj
[0] = args
;
28084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28085 if (!SWIG_IsOK(res1
)) {
28086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28088 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28090 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
28091 if (PyErr_Occurred()) SWIG_fail
;
28093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28100 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28101 PyObject
*resultobj
= 0;
28102 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28103 void *arg2
= (void *) 0 ;
28107 PyObject
* obj0
= 0 ;
28108 PyObject
* obj1
= 0 ;
28109 char * kwnames
[] = {
28110 (char *) "self",(char *) "p", NULL
28113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28115 if (!SWIG_IsOK(res1
)) {
28116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28118 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28119 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
28120 if (!SWIG_IsOK(res2
)) {
28121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
28124 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
28125 if (PyErr_Occurred()) SWIG_fail
;
28127 resultobj
= SWIG_Py_Void();
28134 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
= 0;
28136 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28137 wxGraphicsMatrix
*arg2
= 0 ;
28142 PyObject
* obj0
= 0 ;
28143 PyObject
* obj1
= 0 ;
28144 char * kwnames
[] = {
28145 (char *) "self",(char *) "matrix", NULL
28148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28150 if (!SWIG_IsOK(res1
)) {
28151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
28153 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28154 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28155 if (!SWIG_IsOK(res2
)) {
28156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28161 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28163 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28166 resultobj
= SWIG_Py_Void();
28173 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28174 PyObject
*resultobj
= 0;
28175 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28179 PyObject
*swig_obj
[1] ;
28181 if (!args
) SWIG_fail
;
28182 swig_obj
[0] = args
;
28183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28184 if (!SWIG_IsOK(res1
)) {
28185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28187 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28189 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
28190 if (PyErr_Occurred()) SWIG_fail
;
28192 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
28199 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28200 PyObject
*resultobj
= 0;
28201 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28204 int arg4
= (int) wxODDEVEN_RULE
;
28215 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
28216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28217 if (!SWIG_IsOK(res1
)) {
28218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28220 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28221 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
28222 if (!SWIG_IsOK(ecode2
)) {
28223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
28225 arg2
= static_cast< wxDouble
>(val2
);
28226 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
28227 if (!SWIG_IsOK(ecode3
)) {
28228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
28230 arg3
= static_cast< wxDouble
>(val3
);
28232 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
28233 if (!SWIG_IsOK(ecode4
)) {
28234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
28236 arg4
= static_cast< int >(val4
);
28239 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
28240 if (PyErr_Occurred()) SWIG_fail
;
28243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28251 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28252 PyObject
*resultobj
= 0;
28253 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
28254 wxPoint2D
*arg2
= 0 ;
28255 int arg3
= (int) wxODDEVEN_RULE
;
28263 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
28265 if (!SWIG_IsOK(res1
)) {
28266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
28268 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
28271 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
28274 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
28275 if (!SWIG_IsOK(ecode3
)) {
28276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
28278 arg3
= static_cast< int >(val3
);
28281 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28293 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
28297 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
28299 if ((argc
>= 2) && (argc
<= 3)) {
28303 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
28306 if (!_v
) goto check_1
;
28310 int res
= SWIG_AsVal_int(argv
[2], NULL
);
28311 _v
= SWIG_CheckState(res
);
28314 if (!_v
) goto check_1
;
28316 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
28320 if ((argc
>= 3) && (argc
<= 4)) {
28321 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
28325 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
28330 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28332 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28333 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
28334 return SWIG_Py_Void();
28337 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28338 return SWIG_Python_InitShadowInstance(args
);
28341 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
28342 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
28347 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
28348 PyObject
*pyobj
= 0;
28350 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
28355 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
28356 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
28361 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
28362 PyObject
*pyobj
= 0;
28364 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
28369 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
28370 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
28375 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
28376 PyObject
*pyobj
= 0;
28378 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
28383 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
28384 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
28389 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
28390 PyObject
*pyobj
= 0;
28392 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
28397 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
28398 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
28403 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
28404 PyObject
*pyobj
= 0;
28406 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
28411 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28412 PyObject
*resultobj
= 0;
28413 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28416 PyObject
*swig_obj
[1] ;
28418 if (!args
) SWIG_fail
;
28419 swig_obj
[0] = args
;
28420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28421 if (!SWIG_IsOK(res1
)) {
28422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28424 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= SWIG_Py_Void();
28437 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28438 PyObject
*resultobj
= 0;
28439 wxWindowDC
*arg1
= 0 ;
28440 wxGraphicsContext
*result
= 0 ;
28444 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28446 if (!SWIG_IsOK(res1
)) {
28447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28450 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28452 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28454 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28455 if (PyErr_Occurred()) SWIG_fail
;
28457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28464 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28465 PyObject
*resultobj
= 0;
28466 wxWindow
*arg1
= (wxWindow
*) 0 ;
28467 wxGraphicsContext
*result
= 0 ;
28471 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28473 if (!SWIG_IsOK(res1
)) {
28474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28476 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28478 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28479 if (PyErr_Occurred()) SWIG_fail
;
28481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28488 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28492 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28497 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28498 _v
= SWIG_CheckState(res
);
28500 if (!_v
) goto check_1
;
28501 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28506 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28510 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28515 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28516 PyObject
*resultobj
= 0;
28517 wxGraphicsContext
*result
= 0 ;
28519 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
28521 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
28522 if (PyErr_Occurred()) SWIG_fail
;
28524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28531 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28532 PyObject
*resultobj
= 0;
28533 void *arg1
= (void *) 0 ;
28534 wxGraphicsContext
*result
= 0 ;
28536 PyObject
* obj0
= 0 ;
28537 char * kwnames
[] = {
28538 (char *) "context", NULL
28541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28542 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28543 if (!SWIG_IsOK(res1
)) {
28544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28547 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28557 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28558 PyObject
*resultobj
= 0;
28559 void *arg1
= (void *) 0 ;
28560 wxGraphicsContext
*result
= 0 ;
28562 PyObject
* obj0
= 0 ;
28563 char * kwnames
[] = {
28564 (char *) "window", NULL
28567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28568 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28569 if (!SWIG_IsOK(res1
)) {
28570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28573 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28574 if (PyErr_Occurred()) SWIG_fail
;
28576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28583 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28584 PyObject
*resultobj
= 0;
28585 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28586 wxGraphicsPath result
;
28589 PyObject
*swig_obj
[1] ;
28591 if (!args
) SWIG_fail
;
28592 swig_obj
[0] = args
;
28593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28594 if (!SWIG_IsOK(res1
)) {
28595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28597 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28599 result
= (arg1
)->CreatePath();
28600 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28609 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28610 PyObject
*resultobj
= 0;
28611 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28613 wxGraphicsPen result
;
28618 PyObject
* obj0
= 0 ;
28619 PyObject
* obj1
= 0 ;
28620 char * kwnames
[] = {
28621 (char *) "self",(char *) "pen", NULL
28624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28626 if (!SWIG_IsOK(res1
)) {
28627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28629 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28631 if (!SWIG_IsOK(res2
)) {
28632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28637 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28639 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28640 if (PyErr_Occurred()) SWIG_fail
;
28642 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28649 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28650 PyObject
*resultobj
= 0;
28651 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28652 wxBrush
*arg2
= 0 ;
28653 wxGraphicsBrush result
;
28658 PyObject
* obj0
= 0 ;
28659 PyObject
* obj1
= 0 ;
28660 char * kwnames
[] = {
28661 (char *) "self",(char *) "brush", NULL
28664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28666 if (!SWIG_IsOK(res1
)) {
28667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28669 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28670 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28671 if (!SWIG_IsOK(res2
)) {
28672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28677 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28679 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28682 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28689 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28690 PyObject
*resultobj
= 0;
28691 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28696 wxColour
*arg6
= 0 ;
28697 wxColour
*arg7
= 0 ;
28698 wxGraphicsBrush result
;
28711 PyObject
* obj0
= 0 ;
28712 PyObject
* obj1
= 0 ;
28713 PyObject
* obj2
= 0 ;
28714 PyObject
* obj3
= 0 ;
28715 PyObject
* obj4
= 0 ;
28716 PyObject
* obj5
= 0 ;
28717 PyObject
* obj6
= 0 ;
28718 char * kwnames
[] = {
28719 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28724 if (!SWIG_IsOK(res1
)) {
28725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28727 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28728 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28729 if (!SWIG_IsOK(ecode2
)) {
28730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28732 arg2
= static_cast< wxDouble
>(val2
);
28733 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28734 if (!SWIG_IsOK(ecode3
)) {
28735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28737 arg3
= static_cast< wxDouble
>(val3
);
28738 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28739 if (!SWIG_IsOK(ecode4
)) {
28740 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28742 arg4
= static_cast< wxDouble
>(val4
);
28743 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28744 if (!SWIG_IsOK(ecode5
)) {
28745 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28747 arg5
= static_cast< wxDouble
>(val5
);
28750 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28754 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28757 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28758 if (PyErr_Occurred()) SWIG_fail
;
28760 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28767 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28768 PyObject
*resultobj
= 0;
28769 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28775 wxColour
*arg7
= 0 ;
28776 wxColour
*arg8
= 0 ;
28777 wxGraphicsBrush result
;
28792 PyObject
* obj0
= 0 ;
28793 PyObject
* obj1
= 0 ;
28794 PyObject
* obj2
= 0 ;
28795 PyObject
* obj3
= 0 ;
28796 PyObject
* obj4
= 0 ;
28797 PyObject
* obj5
= 0 ;
28798 PyObject
* obj6
= 0 ;
28799 PyObject
* obj7
= 0 ;
28800 char * kwnames
[] = {
28801 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28806 if (!SWIG_IsOK(res1
)) {
28807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28809 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28810 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28811 if (!SWIG_IsOK(ecode2
)) {
28812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28814 arg2
= static_cast< wxDouble
>(val2
);
28815 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28816 if (!SWIG_IsOK(ecode3
)) {
28817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28819 arg3
= static_cast< wxDouble
>(val3
);
28820 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28821 if (!SWIG_IsOK(ecode4
)) {
28822 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28824 arg4
= static_cast< wxDouble
>(val4
);
28825 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28826 if (!SWIG_IsOK(ecode5
)) {
28827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28829 arg5
= static_cast< wxDouble
>(val5
);
28830 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28831 if (!SWIG_IsOK(ecode6
)) {
28832 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28834 arg6
= static_cast< wxDouble
>(val6
);
28837 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28841 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28844 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28845 if (PyErr_Occurred()) SWIG_fail
;
28847 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28854 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28855 PyObject
*resultobj
= 0;
28856 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28858 wxColour
const &arg3_defvalue
= *wxBLACK
;
28859 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28860 wxGraphicsFont result
;
28866 PyObject
* obj0
= 0 ;
28867 PyObject
* obj1
= 0 ;
28868 PyObject
* obj2
= 0 ;
28869 char * kwnames
[] = {
28870 (char *) "self",(char *) "font",(char *) "col", NULL
28873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28875 if (!SWIG_IsOK(res1
)) {
28876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28878 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28879 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28880 if (!SWIG_IsOK(res2
)) {
28881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28884 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28886 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28890 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28894 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28895 if (PyErr_Occurred()) SWIG_fail
;
28897 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28904 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28905 PyObject
*resultobj
= 0;
28906 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28907 wxDouble arg2
= (wxDouble
) 1.0 ;
28908 wxDouble arg3
= (wxDouble
) 0.0 ;
28909 wxDouble arg4
= (wxDouble
) 0.0 ;
28910 wxDouble arg5
= (wxDouble
) 1.0 ;
28911 wxDouble arg6
= (wxDouble
) 0.0 ;
28912 wxDouble arg7
= (wxDouble
) 0.0 ;
28913 wxGraphicsMatrix result
;
28928 PyObject
* obj0
= 0 ;
28929 PyObject
* obj1
= 0 ;
28930 PyObject
* obj2
= 0 ;
28931 PyObject
* obj3
= 0 ;
28932 PyObject
* obj4
= 0 ;
28933 PyObject
* obj5
= 0 ;
28934 PyObject
* obj6
= 0 ;
28935 char * kwnames
[] = {
28936 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28941 if (!SWIG_IsOK(res1
)) {
28942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28944 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28946 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28947 if (!SWIG_IsOK(ecode2
)) {
28948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28950 arg2
= static_cast< wxDouble
>(val2
);
28953 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28954 if (!SWIG_IsOK(ecode3
)) {
28955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28957 arg3
= static_cast< wxDouble
>(val3
);
28960 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28961 if (!SWIG_IsOK(ecode4
)) {
28962 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28964 arg4
= static_cast< wxDouble
>(val4
);
28967 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28968 if (!SWIG_IsOK(ecode5
)) {
28969 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28971 arg5
= static_cast< wxDouble
>(val5
);
28974 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28975 if (!SWIG_IsOK(ecode6
)) {
28976 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28978 arg6
= static_cast< wxDouble
>(val6
);
28981 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28982 if (!SWIG_IsOK(ecode7
)) {
28983 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28985 arg7
= static_cast< wxDouble
>(val7
);
28988 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28989 if (PyErr_Occurred()) SWIG_fail
;
28991 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28998 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28999 PyObject
*resultobj
= 0;
29000 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29003 PyObject
*swig_obj
[1] ;
29005 if (!args
) SWIG_fail
;
29006 swig_obj
[0] = args
;
29007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29008 if (!SWIG_IsOK(res1
)) {
29009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29011 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29013 (arg1
)->PushState();
29014 if (PyErr_Occurred()) SWIG_fail
;
29016 resultobj
= SWIG_Py_Void();
29023 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29024 PyObject
*resultobj
= 0;
29025 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29028 PyObject
*swig_obj
[1] ;
29030 if (!args
) SWIG_fail
;
29031 swig_obj
[0] = args
;
29032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29033 if (!SWIG_IsOK(res1
)) {
29034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29036 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29038 (arg1
)->PopState();
29039 if (PyErr_Occurred()) SWIG_fail
;
29041 resultobj
= SWIG_Py_Void();
29048 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29049 PyObject
*resultobj
= 0;
29050 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29051 wxRegion
*arg2
= 0 ;
29056 PyObject
* obj0
= 0 ;
29057 PyObject
* obj1
= 0 ;
29058 char * kwnames
[] = {
29059 (char *) "self",(char *) "region", NULL
29062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29064 if (!SWIG_IsOK(res1
)) {
29065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29067 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29068 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
29069 if (!SWIG_IsOK(res2
)) {
29070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
29073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
29075 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
29077 (arg1
)->Clip((wxRegion
const &)*arg2
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29080 resultobj
= SWIG_Py_Void();
29087 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29088 PyObject
*resultobj
= 0;
29089 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29104 PyObject
* obj0
= 0 ;
29105 PyObject
* obj1
= 0 ;
29106 PyObject
* obj2
= 0 ;
29107 PyObject
* obj3
= 0 ;
29108 PyObject
* obj4
= 0 ;
29109 char * kwnames
[] = {
29110 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29115 if (!SWIG_IsOK(res1
)) {
29116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29118 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29119 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29120 if (!SWIG_IsOK(ecode2
)) {
29121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
29123 arg2
= static_cast< wxDouble
>(val2
);
29124 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29125 if (!SWIG_IsOK(ecode3
)) {
29126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
29128 arg3
= static_cast< wxDouble
>(val3
);
29129 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29130 if (!SWIG_IsOK(ecode4
)) {
29131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
29133 arg4
= static_cast< wxDouble
>(val4
);
29134 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29135 if (!SWIG_IsOK(ecode5
)) {
29136 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
29138 arg5
= static_cast< wxDouble
>(val5
);
29140 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
29141 if (PyErr_Occurred()) SWIG_fail
;
29143 resultobj
= SWIG_Py_Void();
29150 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29151 PyObject
*resultobj
= 0;
29152 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29155 PyObject
*swig_obj
[1] ;
29157 if (!args
) SWIG_fail
;
29158 swig_obj
[0] = args
;
29159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29160 if (!SWIG_IsOK(res1
)) {
29161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29163 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29165 (arg1
)->ResetClip();
29166 if (PyErr_Occurred()) SWIG_fail
;
29168 resultobj
= SWIG_Py_Void();
29175 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29176 PyObject
*resultobj
= 0;
29177 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29181 PyObject
*swig_obj
[1] ;
29183 if (!args
) SWIG_fail
;
29184 swig_obj
[0] = args
;
29185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29186 if (!SWIG_IsOK(res1
)) {
29187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29189 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29191 result
= (void *)(arg1
)->GetNativeContext();
29192 if (PyErr_Occurred()) SWIG_fail
;
29194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
29201 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29202 PyObject
*resultobj
= 0;
29203 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29207 PyObject
*swig_obj
[1] ;
29209 if (!args
) SWIG_fail
;
29210 swig_obj
[0] = args
;
29211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29212 if (!SWIG_IsOK(res1
)) {
29213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29215 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29217 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
29218 if (PyErr_Occurred()) SWIG_fail
;
29220 resultobj
= SWIG_From_int(static_cast< int >(result
));
29227 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29228 PyObject
*resultobj
= 0;
29229 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29236 PyObject
* obj0
= 0 ;
29237 PyObject
* obj1
= 0 ;
29238 char * kwnames
[] = {
29239 (char *) "self",(char *) "function", NULL
29242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29244 if (!SWIG_IsOK(res1
)) {
29245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29247 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29249 if (!SWIG_IsOK(ecode2
)) {
29250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
29252 arg2
= static_cast< int >(val2
);
29254 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
29255 if (PyErr_Occurred()) SWIG_fail
;
29258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29266 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
= 0;
29268 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29277 PyObject
* obj0
= 0 ;
29278 PyObject
* obj1
= 0 ;
29279 PyObject
* obj2
= 0 ;
29280 char * kwnames
[] = {
29281 (char *) "self",(char *) "dx",(char *) "dy", NULL
29284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29286 if (!SWIG_IsOK(res1
)) {
29287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29289 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29290 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29291 if (!SWIG_IsOK(ecode2
)) {
29292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
29294 arg2
= static_cast< wxDouble
>(val2
);
29295 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29296 if (!SWIG_IsOK(ecode3
)) {
29297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
29299 arg3
= static_cast< wxDouble
>(val3
);
29301 (arg1
)->Translate(arg2
,arg3
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29304 resultobj
= SWIG_Py_Void();
29311 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29312 PyObject
*resultobj
= 0;
29313 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29322 PyObject
* obj0
= 0 ;
29323 PyObject
* obj1
= 0 ;
29324 PyObject
* obj2
= 0 ;
29325 char * kwnames
[] = {
29326 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
29329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29331 if (!SWIG_IsOK(res1
)) {
29332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29334 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29335 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29336 if (!SWIG_IsOK(ecode2
)) {
29337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
29339 arg2
= static_cast< wxDouble
>(val2
);
29340 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29341 if (!SWIG_IsOK(ecode3
)) {
29342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
29344 arg3
= static_cast< wxDouble
>(val3
);
29346 (arg1
)->Scale(arg2
,arg3
);
29347 if (PyErr_Occurred()) SWIG_fail
;
29349 resultobj
= SWIG_Py_Void();
29356 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29357 PyObject
*resultobj
= 0;
29358 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29364 PyObject
* obj0
= 0 ;
29365 PyObject
* obj1
= 0 ;
29366 char * kwnames
[] = {
29367 (char *) "self",(char *) "angle", NULL
29370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29372 if (!SWIG_IsOK(res1
)) {
29373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29375 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29376 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29377 if (!SWIG_IsOK(ecode2
)) {
29378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
29380 arg2
= static_cast< wxDouble
>(val2
);
29382 (arg1
)->Rotate(arg2
);
29383 if (PyErr_Occurred()) SWIG_fail
;
29385 resultobj
= SWIG_Py_Void();
29392 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29393 PyObject
*resultobj
= 0;
29394 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29395 wxGraphicsMatrix
*arg2
= 0 ;
29400 PyObject
* obj0
= 0 ;
29401 PyObject
* obj1
= 0 ;
29402 char * kwnames
[] = {
29403 (char *) "self",(char *) "matrix", NULL
29406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29408 if (!SWIG_IsOK(res1
)) {
29409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29411 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29412 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29413 if (!SWIG_IsOK(res2
)) {
29414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29419 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29421 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
29422 if (PyErr_Occurred()) SWIG_fail
;
29424 resultobj
= SWIG_Py_Void();
29431 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29432 PyObject
*resultobj
= 0;
29433 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29434 wxGraphicsMatrix
*arg2
= 0 ;
29439 PyObject
* obj0
= 0 ;
29440 PyObject
* obj1
= 0 ;
29441 char * kwnames
[] = {
29442 (char *) "self",(char *) "matrix", NULL
29445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29447 if (!SWIG_IsOK(res1
)) {
29448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29450 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29451 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
29452 if (!SWIG_IsOK(res2
)) {
29453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29456 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
29458 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
29460 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29463 resultobj
= SWIG_Py_Void();
29470 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29471 PyObject
*resultobj
= 0;
29472 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29473 wxGraphicsMatrix result
;
29476 PyObject
*swig_obj
[1] ;
29478 if (!args
) SWIG_fail
;
29479 swig_obj
[0] = args
;
29480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29481 if (!SWIG_IsOK(res1
)) {
29482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29484 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29486 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29487 if (PyErr_Occurred()) SWIG_fail
;
29489 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29496 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29497 PyObject
*resultobj
= 0;
29498 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29499 wxGraphicsPen
*arg2
= 0 ;
29505 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29507 if (!SWIG_IsOK(res1
)) {
29508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29510 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29511 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29512 if (!SWIG_IsOK(res2
)) {
29513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29518 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29520 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29521 if (PyErr_Occurred()) SWIG_fail
;
29523 resultobj
= SWIG_Py_Void();
29530 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29531 PyObject
*resultobj
= 0;
29532 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29539 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29541 if (!SWIG_IsOK(res1
)) {
29542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29544 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29545 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29546 if (!SWIG_IsOK(res2
)) {
29547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29552 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29554 (arg1
)->SetPen((wxPen
const &)*arg2
);
29555 if (PyErr_Occurred()) SWIG_fail
;
29557 resultobj
= SWIG_Py_Void();
29564 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29568 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29573 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29574 _v
= SWIG_CheckState(res
);
29576 if (!_v
) goto check_1
;
29577 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29582 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29586 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29591 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29592 PyObject
*resultobj
= 0;
29593 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29594 wxGraphicsBrush
*arg2
= 0 ;
29600 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29602 if (!SWIG_IsOK(res1
)) {
29603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29605 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29606 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29607 if (!SWIG_IsOK(res2
)) {
29608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29613 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29615 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29616 if (PyErr_Occurred()) SWIG_fail
;
29618 resultobj
= SWIG_Py_Void();
29625 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29626 PyObject
*resultobj
= 0;
29627 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29628 wxBrush
*arg2
= 0 ;
29634 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29636 if (!SWIG_IsOK(res1
)) {
29637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29639 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29640 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29641 if (!SWIG_IsOK(res2
)) {
29642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29647 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29649 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29650 if (PyErr_Occurred()) SWIG_fail
;
29652 resultobj
= SWIG_Py_Void();
29659 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29663 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29668 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29669 _v
= SWIG_CheckState(res
);
29671 if (!_v
) goto check_1
;
29672 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29677 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29681 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29686 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29687 PyObject
*resultobj
= 0;
29688 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29689 wxGraphicsFont
*arg2
= 0 ;
29695 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29697 if (!SWIG_IsOK(res1
)) {
29698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29700 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29701 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29702 if (!SWIG_IsOK(res2
)) {
29703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29708 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29710 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29711 if (PyErr_Occurred()) SWIG_fail
;
29713 resultobj
= SWIG_Py_Void();
29720 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29721 PyObject
*resultobj
= 0;
29722 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29724 wxColour
const &arg3_defvalue
= *wxBLACK
;
29725 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29732 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29734 if (!SWIG_IsOK(res1
)) {
29735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29737 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29738 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29739 if (!SWIG_IsOK(res2
)) {
29740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29745 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29749 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29753 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29756 resultobj
= SWIG_Py_Void();
29763 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29767 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29772 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29773 _v
= SWIG_CheckState(res
);
29775 if (!_v
) goto check_1
;
29776 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29780 if ((argc
>= 2) && (argc
<= 3)) {
29781 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29785 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29790 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29791 PyObject
*resultobj
= 0;
29792 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29793 wxGraphicsPath
*arg2
= 0 ;
29798 PyObject
* obj0
= 0 ;
29799 PyObject
* obj1
= 0 ;
29800 char * kwnames
[] = {
29801 (char *) "self",(char *) "path", NULL
29804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29806 if (!SWIG_IsOK(res1
)) {
29807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29809 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29810 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29811 if (!SWIG_IsOK(res2
)) {
29812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29817 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29819 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29820 if (PyErr_Occurred()) SWIG_fail
;
29822 resultobj
= SWIG_Py_Void();
29829 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29830 PyObject
*resultobj
= 0;
29831 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29832 wxGraphicsPath
*arg2
= 0 ;
29833 int arg3
= (int) wxODDEVEN_RULE
;
29840 PyObject
* obj0
= 0 ;
29841 PyObject
* obj1
= 0 ;
29842 PyObject
* obj2
= 0 ;
29843 char * kwnames
[] = {
29844 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29849 if (!SWIG_IsOK(res1
)) {
29850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29852 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29853 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29854 if (!SWIG_IsOK(res2
)) {
29855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29860 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29862 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29863 if (!SWIG_IsOK(ecode3
)) {
29864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29866 arg3
= static_cast< int >(val3
);
29869 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29870 if (PyErr_Occurred()) SWIG_fail
;
29872 resultobj
= SWIG_Py_Void();
29879 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29880 PyObject
*resultobj
= 0;
29881 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29882 wxGraphicsPath
*arg2
= 0 ;
29883 int arg3
= (int) wxODDEVEN_RULE
;
29890 PyObject
* obj0
= 0 ;
29891 PyObject
* obj1
= 0 ;
29892 PyObject
* obj2
= 0 ;
29893 char * kwnames
[] = {
29894 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29899 if (!SWIG_IsOK(res1
)) {
29900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29902 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29903 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29904 if (!SWIG_IsOK(res2
)) {
29905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29910 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29913 if (!SWIG_IsOK(ecode3
)) {
29914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29916 arg3
= static_cast< int >(val3
);
29919 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29920 if (PyErr_Occurred()) SWIG_fail
;
29922 resultobj
= SWIG_Py_Void();
29929 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29930 PyObject
*resultobj
= 0;
29931 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29932 wxString
*arg2
= 0 ;
29935 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29936 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29939 bool temp2
= false ;
29946 PyObject
* obj0
= 0 ;
29947 PyObject
* obj1
= 0 ;
29948 PyObject
* obj2
= 0 ;
29949 PyObject
* obj3
= 0 ;
29950 PyObject
* obj4
= 0 ;
29951 char * kwnames
[] = {
29952 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29957 if (!SWIG_IsOK(res1
)) {
29958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29960 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29962 arg2
= wxString_in_helper(obj1
);
29963 if (arg2
== NULL
) SWIG_fail
;
29966 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29967 if (!SWIG_IsOK(ecode3
)) {
29968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29970 arg3
= static_cast< wxDouble
>(val3
);
29971 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29972 if (!SWIG_IsOK(ecode4
)) {
29973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29975 arg4
= static_cast< wxDouble
>(val4
);
29977 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29978 if (!SWIG_IsOK(res5
)) {
29979 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29984 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29987 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29990 resultobj
= SWIG_Py_Void();
30005 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30006 PyObject
*resultobj
= 0;
30007 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30008 wxString
*arg2
= 0 ;
30012 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
30013 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
30016 bool temp2
= false ;
30025 PyObject
* obj0
= 0 ;
30026 PyObject
* obj1
= 0 ;
30027 PyObject
* obj2
= 0 ;
30028 PyObject
* obj3
= 0 ;
30029 PyObject
* obj4
= 0 ;
30030 PyObject
* obj5
= 0 ;
30031 char * kwnames
[] = {
30032 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
30035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30037 if (!SWIG_IsOK(res1
)) {
30038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30040 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30042 arg2
= wxString_in_helper(obj1
);
30043 if (arg2
== NULL
) SWIG_fail
;
30046 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30047 if (!SWIG_IsOK(ecode3
)) {
30048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
30050 arg3
= static_cast< wxDouble
>(val3
);
30051 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30052 if (!SWIG_IsOK(ecode4
)) {
30053 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
30055 arg4
= static_cast< wxDouble
>(val4
);
30056 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30057 if (!SWIG_IsOK(ecode5
)) {
30058 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
30060 arg5
= static_cast< wxDouble
>(val5
);
30062 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
30063 if (!SWIG_IsOK(res6
)) {
30064 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
30067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
30069 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
30072 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
30073 if (PyErr_Occurred()) SWIG_fail
;
30075 resultobj
= SWIG_Py_Void();
30090 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30091 PyObject
*resultobj
= 0;
30092 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30093 wxString
*arg2
= 0 ;
30094 wxDouble
*arg3
= (wxDouble
*) 0 ;
30095 wxDouble
*arg4
= (wxDouble
*) 0 ;
30096 wxDouble
*arg5
= (wxDouble
*) 0 ;
30097 wxDouble
*arg6
= (wxDouble
*) 0 ;
30100 bool temp2
= false ;
30102 int res3
= SWIG_TMPOBJ
;
30104 int res4
= SWIG_TMPOBJ
;
30106 int res5
= SWIG_TMPOBJ
;
30108 int res6
= SWIG_TMPOBJ
;
30109 PyObject
* obj0
= 0 ;
30110 PyObject
* obj1
= 0 ;
30111 char * kwnames
[] = {
30112 (char *) "self",(char *) "text", NULL
30119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30121 if (!SWIG_IsOK(res1
)) {
30122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30124 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30126 arg2
= wxString_in_helper(obj1
);
30127 if (arg2
== NULL
) SWIG_fail
;
30131 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30132 if (PyErr_Occurred()) SWIG_fail
;
30134 resultobj
= SWIG_Py_Void();
30135 if (SWIG_IsTmpObj(res3
)) {
30136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
30138 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
30141 if (SWIG_IsTmpObj(res4
)) {
30142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
30144 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
30147 if (SWIG_IsTmpObj(res5
)) {
30148 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
30150 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30151 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
30153 if (SWIG_IsTmpObj(res6
)) {
30154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
30156 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
30173 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30174 PyObject
*resultobj
= 0;
30175 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30176 wxString
*arg2
= 0 ;
30177 PyObject
*result
= 0 ;
30180 bool temp2
= false ;
30181 PyObject
* obj0
= 0 ;
30182 PyObject
* obj1
= 0 ;
30183 char * kwnames
[] = {
30184 (char *) "self",(char *) "text", NULL
30187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30189 if (!SWIG_IsOK(res1
)) {
30190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30192 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30194 arg2
= wxString_in_helper(obj1
);
30195 if (arg2
== NULL
) SWIG_fail
;
30199 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
30200 if (PyErr_Occurred()) SWIG_fail
;
30202 resultobj
= result
;
30217 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30218 PyObject
*resultobj
= 0;
30219 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30220 wxString
*arg2
= 0 ;
30221 wxArrayDouble result
;
30224 bool temp2
= false ;
30225 PyObject
* obj0
= 0 ;
30226 PyObject
* obj1
= 0 ;
30227 char * kwnames
[] = {
30228 (char *) "self",(char *) "text", NULL
30231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30233 if (!SWIG_IsOK(res1
)) {
30234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30236 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30238 arg2
= wxString_in_helper(obj1
);
30239 if (arg2
== NULL
) SWIG_fail
;
30243 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30247 resultobj
= wxArrayDouble2PyList_helper(result
);
30263 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30264 PyObject
*resultobj
= 0;
30265 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30266 wxBitmap
*arg2
= 0 ;
30283 PyObject
* obj0
= 0 ;
30284 PyObject
* obj1
= 0 ;
30285 PyObject
* obj2
= 0 ;
30286 PyObject
* obj3
= 0 ;
30287 PyObject
* obj4
= 0 ;
30288 PyObject
* obj5
= 0 ;
30289 char * kwnames
[] = {
30290 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30295 if (!SWIG_IsOK(res1
)) {
30296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30298 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30300 if (!SWIG_IsOK(res2
)) {
30301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30306 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30307 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30308 if (!SWIG_IsOK(ecode3
)) {
30309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
30311 arg3
= static_cast< wxDouble
>(val3
);
30312 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30313 if (!SWIG_IsOK(ecode4
)) {
30314 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
30316 arg4
= static_cast< wxDouble
>(val4
);
30317 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30318 if (!SWIG_IsOK(ecode5
)) {
30319 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
30321 arg5
= static_cast< wxDouble
>(val5
);
30322 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30323 if (!SWIG_IsOK(ecode6
)) {
30324 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
30326 arg6
= static_cast< wxDouble
>(val6
);
30328 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30331 resultobj
= SWIG_Py_Void();
30338 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30339 PyObject
*resultobj
= 0;
30340 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30358 PyObject
* obj0
= 0 ;
30359 PyObject
* obj1
= 0 ;
30360 PyObject
* obj2
= 0 ;
30361 PyObject
* obj3
= 0 ;
30362 PyObject
* obj4
= 0 ;
30363 PyObject
* obj5
= 0 ;
30364 char * kwnames
[] = {
30365 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30370 if (!SWIG_IsOK(res1
)) {
30371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30373 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30374 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30375 if (!SWIG_IsOK(res2
)) {
30376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30381 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30382 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30383 if (!SWIG_IsOK(ecode3
)) {
30384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
30386 arg3
= static_cast< wxDouble
>(val3
);
30387 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30388 if (!SWIG_IsOK(ecode4
)) {
30389 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
30391 arg4
= static_cast< wxDouble
>(val4
);
30392 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30393 if (!SWIG_IsOK(ecode5
)) {
30394 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
30396 arg5
= static_cast< wxDouble
>(val5
);
30397 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30398 if (!SWIG_IsOK(ecode6
)) {
30399 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
30401 arg6
= static_cast< wxDouble
>(val6
);
30403 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
30404 if (PyErr_Occurred()) SWIG_fail
;
30406 resultobj
= SWIG_Py_Void();
30413 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30414 PyObject
*resultobj
= 0;
30415 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30430 PyObject
* obj0
= 0 ;
30431 PyObject
* obj1
= 0 ;
30432 PyObject
* obj2
= 0 ;
30433 PyObject
* obj3
= 0 ;
30434 PyObject
* obj4
= 0 ;
30435 char * kwnames
[] = {
30436 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
30439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30441 if (!SWIG_IsOK(res1
)) {
30442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30444 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30445 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30446 if (!SWIG_IsOK(ecode2
)) {
30447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
30449 arg2
= static_cast< wxDouble
>(val2
);
30450 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30451 if (!SWIG_IsOK(ecode3
)) {
30452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
30454 arg3
= static_cast< wxDouble
>(val3
);
30455 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30456 if (!SWIG_IsOK(ecode4
)) {
30457 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
30459 arg4
= static_cast< wxDouble
>(val4
);
30460 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30461 if (!SWIG_IsOK(ecode5
)) {
30462 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
30464 arg5
= static_cast< wxDouble
>(val5
);
30466 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
30467 if (PyErr_Occurred()) SWIG_fail
;
30469 resultobj
= SWIG_Py_Void();
30476 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30477 PyObject
*resultobj
= 0;
30478 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30480 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30483 PyObject
* obj0
= 0 ;
30484 PyObject
* obj1
= 0 ;
30485 char * kwnames
[] = {
30486 (char *) "self",(char *) "points", NULL
30489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30491 if (!SWIG_IsOK(res1
)) {
30492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30494 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30496 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30497 if (arg3
== NULL
) SWIG_fail
;
30500 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 resultobj
= SWIG_Py_Void();
30505 if (arg3
) delete [] arg3
;
30510 if (arg3
) delete [] arg3
;
30516 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30517 PyObject
*resultobj
= 0;
30518 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30519 PyObject
*arg2
= (PyObject
*) 0 ;
30520 PyObject
*arg3
= (PyObject
*) 0 ;
30523 PyObject
* obj0
= 0 ;
30524 PyObject
* obj1
= 0 ;
30525 PyObject
* obj2
= 0 ;
30526 char * kwnames
[] = {
30527 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30532 if (!SWIG_IsOK(res1
)) {
30533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30535 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30539 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30540 if (PyErr_Occurred()) SWIG_fail
;
30542 resultobj
= SWIG_Py_Void();
30549 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30550 PyObject
*resultobj
= 0;
30551 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30553 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30554 int arg4
= (int) wxODDEVEN_RULE
;
30559 PyObject
* obj0
= 0 ;
30560 PyObject
* obj1
= 0 ;
30561 PyObject
* obj2
= 0 ;
30562 char * kwnames
[] = {
30563 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30568 if (!SWIG_IsOK(res1
)) {
30569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30571 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30573 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30574 if (arg3
== NULL
) SWIG_fail
;
30577 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30578 if (!SWIG_IsOK(ecode4
)) {
30579 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30581 arg4
= static_cast< int >(val4
);
30584 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30585 if (PyErr_Occurred()) SWIG_fail
;
30587 resultobj
= SWIG_Py_Void();
30589 if (arg3
) delete [] arg3
;
30594 if (arg3
) delete [] arg3
;
30600 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30601 PyObject
*resultobj
= 0;
30602 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30617 PyObject
* obj0
= 0 ;
30618 PyObject
* obj1
= 0 ;
30619 PyObject
* obj2
= 0 ;
30620 PyObject
* obj3
= 0 ;
30621 PyObject
* obj4
= 0 ;
30622 char * kwnames
[] = {
30623 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30628 if (!SWIG_IsOK(res1
)) {
30629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30631 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30632 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30633 if (!SWIG_IsOK(ecode2
)) {
30634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30636 arg2
= static_cast< wxDouble
>(val2
);
30637 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30638 if (!SWIG_IsOK(ecode3
)) {
30639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30641 arg3
= static_cast< wxDouble
>(val3
);
30642 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30643 if (!SWIG_IsOK(ecode4
)) {
30644 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30646 arg4
= static_cast< wxDouble
>(val4
);
30647 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30648 if (!SWIG_IsOK(ecode5
)) {
30649 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30651 arg5
= static_cast< wxDouble
>(val5
);
30653 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30654 if (PyErr_Occurred()) SWIG_fail
;
30656 resultobj
= SWIG_Py_Void();
30663 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30664 PyObject
*resultobj
= 0;
30665 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30680 PyObject
* obj0
= 0 ;
30681 PyObject
* obj1
= 0 ;
30682 PyObject
* obj2
= 0 ;
30683 PyObject
* obj3
= 0 ;
30684 PyObject
* obj4
= 0 ;
30685 char * kwnames
[] = {
30686 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30691 if (!SWIG_IsOK(res1
)) {
30692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30694 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30695 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30696 if (!SWIG_IsOK(ecode2
)) {
30697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30699 arg2
= static_cast< wxDouble
>(val2
);
30700 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30701 if (!SWIG_IsOK(ecode3
)) {
30702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30704 arg3
= static_cast< wxDouble
>(val3
);
30705 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30706 if (!SWIG_IsOK(ecode4
)) {
30707 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30709 arg4
= static_cast< wxDouble
>(val4
);
30710 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30711 if (!SWIG_IsOK(ecode5
)) {
30712 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30714 arg5
= static_cast< wxDouble
>(val5
);
30716 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= SWIG_Py_Void();
30726 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30727 PyObject
*resultobj
= 0;
30728 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30746 PyObject
* obj0
= 0 ;
30747 PyObject
* obj1
= 0 ;
30748 PyObject
* obj2
= 0 ;
30749 PyObject
* obj3
= 0 ;
30750 PyObject
* obj4
= 0 ;
30751 PyObject
* obj5
= 0 ;
30752 char * kwnames
[] = {
30753 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30758 if (!SWIG_IsOK(res1
)) {
30759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30761 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30762 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30763 if (!SWIG_IsOK(ecode2
)) {
30764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30766 arg2
= static_cast< wxDouble
>(val2
);
30767 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30768 if (!SWIG_IsOK(ecode3
)) {
30769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30771 arg3
= static_cast< wxDouble
>(val3
);
30772 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30773 if (!SWIG_IsOK(ecode4
)) {
30774 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30776 arg4
= static_cast< wxDouble
>(val4
);
30777 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30778 if (!SWIG_IsOK(ecode5
)) {
30779 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30781 arg5
= static_cast< wxDouble
>(val5
);
30782 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30783 if (!SWIG_IsOK(ecode6
)) {
30784 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30786 arg6
= static_cast< wxDouble
>(val6
);
30788 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30789 if (PyErr_Occurred()) SWIG_fail
;
30791 resultobj
= SWIG_Py_Void();
30798 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30799 PyObject
*resultobj
= 0;
30800 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30804 PyObject
*swig_obj
[1] ;
30806 if (!args
) SWIG_fail
;
30807 swig_obj
[0] = args
;
30808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30809 if (!SWIG_IsOK(res1
)) {
30810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30812 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30814 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30815 if (PyErr_Occurred()) SWIG_fail
;
30818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30826 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30829 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30830 return SWIG_Py_Void();
30833 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30834 PyObject
*resultobj
= 0;
30835 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30838 PyObject
*swig_obj
[1] ;
30840 if (!args
) SWIG_fail
;
30841 swig_obj
[0] = args
;
30842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30843 if (!SWIG_IsOK(res1
)) {
30844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30846 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30850 if (PyErr_Occurred()) SWIG_fail
;
30852 resultobj
= SWIG_Py_Void();
30859 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30860 PyObject
*resultobj
= 0;
30861 wxGraphicsRenderer
*result
= 0 ;
30863 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30865 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30866 if (PyErr_Occurred()) SWIG_fail
;
30868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30875 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30876 PyObject
*resultobj
= 0;
30877 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30878 wxWindowDC
*arg2
= 0 ;
30879 wxGraphicsContext
*result
= 0 ;
30885 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30887 if (!SWIG_IsOK(res1
)) {
30888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30890 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30891 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30892 if (!SWIG_IsOK(res2
)) {
30893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30898 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30900 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30901 if (PyErr_Occurred()) SWIG_fail
;
30903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30910 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30911 PyObject
*resultobj
= 0;
30912 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30913 wxWindow
*arg2
= (wxWindow
*) 0 ;
30914 wxGraphicsContext
*result
= 0 ;
30920 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30922 if (!SWIG_IsOK(res1
)) {
30923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30925 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30926 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30927 if (!SWIG_IsOK(res2
)) {
30928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30930 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30932 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30942 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30946 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30951 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30952 _v
= SWIG_CheckState(res
);
30954 if (!_v
) goto check_1
;
30955 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30960 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30964 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30969 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30970 PyObject
*resultobj
= 0;
30971 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30972 wxGraphicsContext
*result
= 0 ;
30975 PyObject
*swig_obj
[1] ;
30977 if (!args
) SWIG_fail
;
30978 swig_obj
[0] = args
;
30979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30980 if (!SWIG_IsOK(res1
)) {
30981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30983 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30985 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30986 if (PyErr_Occurred()) SWIG_fail
;
30988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30995 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30996 PyObject
*resultobj
= 0;
30997 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30998 void *arg2
= (void *) 0 ;
30999 wxGraphicsContext
*result
= 0 ;
31003 PyObject
* obj0
= 0 ;
31004 PyObject
* obj1
= 0 ;
31005 char * kwnames
[] = {
31006 (char *) "self",(char *) "context", NULL
31009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31011 if (!SWIG_IsOK(res1
)) {
31012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31014 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31015 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
31016 if (!SWIG_IsOK(res2
)) {
31017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
31020 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
31021 if (PyErr_Occurred()) SWIG_fail
;
31023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31030 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31031 PyObject
*resultobj
= 0;
31032 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31033 void *arg2
= (void *) 0 ;
31034 wxGraphicsContext
*result
= 0 ;
31038 PyObject
* obj0
= 0 ;
31039 PyObject
* obj1
= 0 ;
31040 char * kwnames
[] = {
31041 (char *) "self",(char *) "window", NULL
31044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31046 if (!SWIG_IsOK(res1
)) {
31047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31049 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31050 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
31051 if (!SWIG_IsOK(res2
)) {
31052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
31055 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
31056 if (PyErr_Occurred()) SWIG_fail
;
31058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
31065 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31066 PyObject
*resultobj
= 0;
31067 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31068 wxGraphicsPath result
;
31071 PyObject
*swig_obj
[1] ;
31073 if (!args
) SWIG_fail
;
31074 swig_obj
[0] = args
;
31075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31076 if (!SWIG_IsOK(res1
)) {
31077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31079 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31081 result
= (arg1
)->CreatePath();
31082 if (PyErr_Occurred()) SWIG_fail
;
31084 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
31091 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31092 PyObject
*resultobj
= 0;
31093 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31094 wxDouble arg2
= (wxDouble
) 1.0 ;
31095 wxDouble arg3
= (wxDouble
) 0.0 ;
31096 wxDouble arg4
= (wxDouble
) 0.0 ;
31097 wxDouble arg5
= (wxDouble
) 1.0 ;
31098 wxDouble arg6
= (wxDouble
) 0.0 ;
31099 wxDouble arg7
= (wxDouble
) 0.0 ;
31100 wxGraphicsMatrix result
;
31115 PyObject
* obj0
= 0 ;
31116 PyObject
* obj1
= 0 ;
31117 PyObject
* obj2
= 0 ;
31118 PyObject
* obj3
= 0 ;
31119 PyObject
* obj4
= 0 ;
31120 PyObject
* obj5
= 0 ;
31121 PyObject
* obj6
= 0 ;
31122 char * kwnames
[] = {
31123 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
31126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31128 if (!SWIG_IsOK(res1
)) {
31129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31131 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31133 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31134 if (!SWIG_IsOK(ecode2
)) {
31135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
31137 arg2
= static_cast< wxDouble
>(val2
);
31140 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31141 if (!SWIG_IsOK(ecode3
)) {
31142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
31144 arg3
= static_cast< wxDouble
>(val3
);
31147 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31148 if (!SWIG_IsOK(ecode4
)) {
31149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
31151 arg4
= static_cast< wxDouble
>(val4
);
31154 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31155 if (!SWIG_IsOK(ecode5
)) {
31156 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
31158 arg5
= static_cast< wxDouble
>(val5
);
31161 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31162 if (!SWIG_IsOK(ecode6
)) {
31163 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
31165 arg6
= static_cast< wxDouble
>(val6
);
31168 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
31169 if (!SWIG_IsOK(ecode7
)) {
31170 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
31172 arg7
= static_cast< wxDouble
>(val7
);
31175 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31178 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
31185 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31186 PyObject
*resultobj
= 0;
31187 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31189 wxGraphicsPen result
;
31194 PyObject
* obj0
= 0 ;
31195 PyObject
* obj1
= 0 ;
31196 char * kwnames
[] = {
31197 (char *) "self",(char *) "pen", NULL
31200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31202 if (!SWIG_IsOK(res1
)) {
31203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31205 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31206 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31207 if (!SWIG_IsOK(res2
)) {
31208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
31213 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31215 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31218 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
31225 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31226 PyObject
*resultobj
= 0;
31227 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31228 wxBrush
*arg2
= 0 ;
31229 wxGraphicsBrush result
;
31234 PyObject
* obj0
= 0 ;
31235 PyObject
* obj1
= 0 ;
31236 char * kwnames
[] = {
31237 (char *) "self",(char *) "brush", NULL
31240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31242 if (!SWIG_IsOK(res1
)) {
31243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31245 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31246 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31247 if (!SWIG_IsOK(res2
)) {
31248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31253 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31255 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
31256 if (PyErr_Occurred()) SWIG_fail
;
31258 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31265 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31266 PyObject
*resultobj
= 0;
31267 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31272 wxColour
*arg6
= 0 ;
31273 wxColour
*arg7
= 0 ;
31274 wxGraphicsBrush result
;
31287 PyObject
* obj0
= 0 ;
31288 PyObject
* obj1
= 0 ;
31289 PyObject
* obj2
= 0 ;
31290 PyObject
* obj3
= 0 ;
31291 PyObject
* obj4
= 0 ;
31292 PyObject
* obj5
= 0 ;
31293 PyObject
* obj6
= 0 ;
31294 char * kwnames
[] = {
31295 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
31298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31300 if (!SWIG_IsOK(res1
)) {
31301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31303 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31304 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31305 if (!SWIG_IsOK(ecode2
)) {
31306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31308 arg2
= static_cast< wxDouble
>(val2
);
31309 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31310 if (!SWIG_IsOK(ecode3
)) {
31311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31313 arg3
= static_cast< wxDouble
>(val3
);
31314 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31315 if (!SWIG_IsOK(ecode4
)) {
31316 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31318 arg4
= static_cast< wxDouble
>(val4
);
31319 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31320 if (!SWIG_IsOK(ecode5
)) {
31321 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31323 arg5
= static_cast< wxDouble
>(val5
);
31326 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
31330 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31333 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
31334 if (PyErr_Occurred()) SWIG_fail
;
31336 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31343 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31344 PyObject
*resultobj
= 0;
31345 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31351 wxColour
*arg7
= 0 ;
31352 wxColour
*arg8
= 0 ;
31353 wxGraphicsBrush result
;
31368 PyObject
* obj0
= 0 ;
31369 PyObject
* obj1
= 0 ;
31370 PyObject
* obj2
= 0 ;
31371 PyObject
* obj3
= 0 ;
31372 PyObject
* obj4
= 0 ;
31373 PyObject
* obj5
= 0 ;
31374 PyObject
* obj6
= 0 ;
31375 PyObject
* obj7
= 0 ;
31376 char * kwnames
[] = {
31377 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
31380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31382 if (!SWIG_IsOK(res1
)) {
31383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31385 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31386 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
31387 if (!SWIG_IsOK(ecode2
)) {
31388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
31390 arg2
= static_cast< wxDouble
>(val2
);
31391 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
31392 if (!SWIG_IsOK(ecode3
)) {
31393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
31395 arg3
= static_cast< wxDouble
>(val3
);
31396 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
31397 if (!SWIG_IsOK(ecode4
)) {
31398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
31400 arg4
= static_cast< wxDouble
>(val4
);
31401 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
31402 if (!SWIG_IsOK(ecode5
)) {
31403 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
31405 arg5
= static_cast< wxDouble
>(val5
);
31406 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
31407 if (!SWIG_IsOK(ecode6
)) {
31408 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
31410 arg6
= static_cast< wxDouble
>(val6
);
31413 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
31417 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
31420 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
31421 if (PyErr_Occurred()) SWIG_fail
;
31423 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
31430 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31431 PyObject
*resultobj
= 0;
31432 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
31434 wxColour
const &arg3_defvalue
= *wxBLACK
;
31435 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
31436 wxGraphicsFont result
;
31442 PyObject
* obj0
= 0 ;
31443 PyObject
* obj1
= 0 ;
31444 PyObject
* obj2
= 0 ;
31445 char * kwnames
[] = {
31446 (char *) "self",(char *) "font",(char *) "col", NULL
31449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
31451 if (!SWIG_IsOK(res1
)) {
31452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
31454 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
31455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31456 if (!SWIG_IsOK(res2
)) {
31457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31462 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31466 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31470 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31471 if (PyErr_Occurred()) SWIG_fail
;
31473 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31480 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31482 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31483 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31484 return SWIG_Py_Void();
31487 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31488 PyObject
*resultobj
= 0;
31489 wxWindowDC
*arg1
= 0 ;
31490 wxGCDC
*result
= 0 ;
31494 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31496 if (!SWIG_IsOK(res1
)) {
31497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31502 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31504 if (!wxPyCheckForApp()) SWIG_fail
;
31505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31506 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31507 wxPyEndAllowThreads(__tstate
);
31508 if (PyErr_Occurred()) SWIG_fail
;
31510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31517 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31518 PyObject
*resultobj
= 0;
31519 wxWindow
*arg1
= (wxWindow
*) 0 ;
31520 wxGCDC
*result
= 0 ;
31524 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31526 if (!SWIG_IsOK(res1
)) {
31527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
31529 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31531 if (!wxPyCheckForApp()) SWIG_fail
;
31532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31533 result
= (wxGCDC
*)new wxGCDC(arg1
);
31534 wxPyEndAllowThreads(__tstate
);
31535 if (PyErr_Occurred()) SWIG_fail
;
31537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31544 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
31548 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
31553 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
31554 _v
= SWIG_CheckState(res
);
31556 if (!_v
) goto check_1
;
31557 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
31562 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
31566 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
31571 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31572 PyObject
*resultobj
= 0;
31573 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31576 PyObject
*swig_obj
[1] ;
31578 if (!args
) SWIG_fail
;
31579 swig_obj
[0] = args
;
31580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31581 if (!SWIG_IsOK(res1
)) {
31582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31584 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31588 if (PyErr_Occurred()) SWIG_fail
;
31590 resultobj
= SWIG_Py_Void();
31597 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31598 PyObject
*resultobj
= 0;
31599 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31600 wxGraphicsContext
*result
= 0 ;
31603 PyObject
*swig_obj
[1] ;
31605 if (!args
) SWIG_fail
;
31606 swig_obj
[0] = args
;
31607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31608 if (!SWIG_IsOK(res1
)) {
31609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31611 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31613 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31614 if (PyErr_Occurred()) SWIG_fail
;
31616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31623 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31624 PyObject
*resultobj
= 0;
31625 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31626 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31631 PyObject
* obj0
= 0 ;
31632 PyObject
* obj1
= 0 ;
31633 char * kwnames
[] = {
31634 (char *) "self",(char *) "ctx", NULL
31637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31639 if (!SWIG_IsOK(res1
)) {
31640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31642 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31643 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31644 if (!SWIG_IsOK(res2
)) {
31645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31647 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31649 (arg1
)->SetGraphicsContext(arg2
);
31650 if (PyErr_Occurred()) SWIG_fail
;
31652 resultobj
= SWIG_Py_Void();
31659 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31662 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31663 return SWIG_Py_Void();
31666 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31667 return SWIG_Python_InitShadowInstance(args
);
31670 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31671 PyObject
*resultobj
= 0;
31672 wxOverlay
*result
= 0 ;
31674 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31677 result
= (wxOverlay
*)new wxOverlay();
31678 wxPyEndAllowThreads(__tstate
);
31679 if (PyErr_Occurred()) SWIG_fail
;
31681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31688 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31689 PyObject
*resultobj
= 0;
31690 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31693 PyObject
*swig_obj
[1] ;
31695 if (!args
) SWIG_fail
;
31696 swig_obj
[0] = args
;
31697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31698 if (!SWIG_IsOK(res1
)) {
31699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31701 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31706 wxPyEndAllowThreads(__tstate
);
31707 if (PyErr_Occurred()) SWIG_fail
;
31709 resultobj
= SWIG_Py_Void();
31716 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31717 PyObject
*resultobj
= 0;
31718 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31721 PyObject
*swig_obj
[1] ;
31723 if (!args
) SWIG_fail
;
31724 swig_obj
[0] = args
;
31725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31726 if (!SWIG_IsOK(res1
)) {
31727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31729 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31733 wxPyEndAllowThreads(__tstate
);
31734 if (PyErr_Occurred()) SWIG_fail
;
31736 resultobj
= SWIG_Py_Void();
31743 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31746 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31747 return SWIG_Py_Void();
31750 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31751 return SWIG_Python_InitShadowInstance(args
);
31754 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31755 PyObject
*resultobj
= 0;
31756 wxOverlay
*arg1
= 0 ;
31757 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31762 wxDCOverlay
*result
= 0 ;
31776 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31778 if (!SWIG_IsOK(res1
)) {
31779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31784 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31785 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31786 if (!SWIG_IsOK(res2
)) {
31787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31789 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31790 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31791 if (!SWIG_IsOK(ecode3
)) {
31792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31794 arg3
= static_cast< int >(val3
);
31795 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31796 if (!SWIG_IsOK(ecode4
)) {
31797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31799 arg4
= static_cast< int >(val4
);
31800 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31801 if (!SWIG_IsOK(ecode5
)) {
31802 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31804 arg5
= static_cast< int >(val5
);
31805 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31806 if (!SWIG_IsOK(ecode6
)) {
31807 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31809 arg6
= static_cast< int >(val6
);
31811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31812 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31813 wxPyEndAllowThreads(__tstate
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31823 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31824 PyObject
*resultobj
= 0;
31825 wxOverlay
*arg1
= 0 ;
31826 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31827 wxDCOverlay
*result
= 0 ;
31833 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31835 if (!SWIG_IsOK(res1
)) {
31836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31841 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31842 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31843 if (!SWIG_IsOK(res2
)) {
31844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31846 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31849 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31850 wxPyEndAllowThreads(__tstate
);
31851 if (PyErr_Occurred()) SWIG_fail
;
31853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31860 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31864 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31867 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31870 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31874 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31879 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31880 PyObject
*resultobj
= 0;
31881 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31884 PyObject
*swig_obj
[1] ;
31886 if (!args
) SWIG_fail
;
31887 swig_obj
[0] = args
;
31888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31889 if (!SWIG_IsOK(res1
)) {
31890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31892 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31897 wxPyEndAllowThreads(__tstate
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31900 resultobj
= SWIG_Py_Void();
31907 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31908 PyObject
*resultobj
= 0;
31909 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31912 PyObject
*swig_obj
[1] ;
31914 if (!args
) SWIG_fail
;
31915 swig_obj
[0] = args
;
31916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31917 if (!SWIG_IsOK(res1
)) {
31918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31920 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31924 wxPyEndAllowThreads(__tstate
);
31925 if (PyErr_Occurred()) SWIG_fail
;
31927 resultobj
= SWIG_Py_Void();
31934 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31937 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31938 return SWIG_Py_Void();
31941 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31942 return SWIG_Python_InitShadowInstance(args
);
31945 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31946 PyObject
*resultobj
= 0;
31949 int arg3
= (int) true ;
31950 int arg4
= (int) 1 ;
31951 wxImageList
*result
= 0 ;
31960 PyObject
* obj0
= 0 ;
31961 PyObject
* obj1
= 0 ;
31962 PyObject
* obj2
= 0 ;
31963 PyObject
* obj3
= 0 ;
31964 char * kwnames
[] = {
31965 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31969 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31970 if (!SWIG_IsOK(ecode1
)) {
31971 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31973 arg1
= static_cast< int >(val1
);
31974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31975 if (!SWIG_IsOK(ecode2
)) {
31976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31978 arg2
= static_cast< int >(val2
);
31980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31981 if (!SWIG_IsOK(ecode3
)) {
31982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31984 arg3
= static_cast< int >(val3
);
31987 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31988 if (!SWIG_IsOK(ecode4
)) {
31989 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31991 arg4
= static_cast< int >(val4
);
31994 if (!wxPyCheckForApp()) SWIG_fail
;
31995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31996 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
32007 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32008 PyObject
*resultobj
= 0;
32009 wxImageList
*arg1
= (wxImageList
*) 0 ;
32012 PyObject
*swig_obj
[1] ;
32014 if (!args
) SWIG_fail
;
32015 swig_obj
[0] = args
;
32016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
32017 if (!SWIG_IsOK(res1
)) {
32018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
32020 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32025 wxPyEndAllowThreads(__tstate
);
32026 if (PyErr_Occurred()) SWIG_fail
;
32028 resultobj
= SWIG_Py_Void();
32035 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32036 PyObject
*resultobj
= 0;
32037 wxImageList
*arg1
= (wxImageList
*) 0 ;
32038 wxBitmap
*arg2
= 0 ;
32039 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32040 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32048 PyObject
* obj0
= 0 ;
32049 PyObject
* obj1
= 0 ;
32050 PyObject
* obj2
= 0 ;
32051 char * kwnames
[] = {
32052 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
32055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32057 if (!SWIG_IsOK(res1
)) {
32058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
32060 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32062 if (!SWIG_IsOK(res2
)) {
32063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32068 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32070 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32071 if (!SWIG_IsOK(res3
)) {
32072 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32077 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32081 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32082 wxPyEndAllowThreads(__tstate
);
32083 if (PyErr_Occurred()) SWIG_fail
;
32085 resultobj
= SWIG_From_int(static_cast< int >(result
));
32092 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32093 PyObject
*resultobj
= 0;
32094 wxImageList
*arg1
= (wxImageList
*) 0 ;
32095 wxBitmap
*arg2
= 0 ;
32096 wxColour
*arg3
= 0 ;
32103 PyObject
* obj0
= 0 ;
32104 PyObject
* obj1
= 0 ;
32105 PyObject
* obj2
= 0 ;
32106 char * kwnames
[] = {
32107 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
32110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32112 if (!SWIG_IsOK(res1
)) {
32113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
32115 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32116 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32117 if (!SWIG_IsOK(res2
)) {
32118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32123 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32126 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32130 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
32131 wxPyEndAllowThreads(__tstate
);
32132 if (PyErr_Occurred()) SWIG_fail
;
32134 resultobj
= SWIG_From_int(static_cast< int >(result
));
32141 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32142 PyObject
*resultobj
= 0;
32143 wxImageList
*arg1
= (wxImageList
*) 0 ;
32150 PyObject
* obj0
= 0 ;
32151 PyObject
* obj1
= 0 ;
32152 char * kwnames
[] = {
32153 (char *) "self",(char *) "icon", NULL
32156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32158 if (!SWIG_IsOK(res1
)) {
32159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
32161 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32162 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32163 if (!SWIG_IsOK(res2
)) {
32164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32169 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32172 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
32173 wxPyEndAllowThreads(__tstate
);
32174 if (PyErr_Occurred()) SWIG_fail
;
32176 resultobj
= SWIG_From_int(static_cast< int >(result
));
32183 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32184 PyObject
*resultobj
= 0;
32185 wxImageList
*arg1
= (wxImageList
*) 0 ;
32187 SwigValueWrapper
<wxBitmap
> result
;
32192 PyObject
* obj0
= 0 ;
32193 PyObject
* obj1
= 0 ;
32194 char * kwnames
[] = {
32195 (char *) "self",(char *) "index", NULL
32198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32200 if (!SWIG_IsOK(res1
)) {
32201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
32203 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32205 if (!SWIG_IsOK(ecode2
)) {
32206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
32208 arg2
= static_cast< int >(val2
);
32210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32211 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
32212 wxPyEndAllowThreads(__tstate
);
32213 if (PyErr_Occurred()) SWIG_fail
;
32215 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
32222 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32223 PyObject
*resultobj
= 0;
32224 wxImageList
*arg1
= (wxImageList
*) 0 ;
32231 PyObject
* obj0
= 0 ;
32232 PyObject
* obj1
= 0 ;
32233 char * kwnames
[] = {
32234 (char *) "self",(char *) "index", NULL
32237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32239 if (!SWIG_IsOK(res1
)) {
32240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
32242 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32244 if (!SWIG_IsOK(ecode2
)) {
32245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
32247 arg2
= static_cast< int >(val2
);
32249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32250 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
32251 wxPyEndAllowThreads(__tstate
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32254 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
32261 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32262 PyObject
*resultobj
= 0;
32263 wxImageList
*arg1
= (wxImageList
*) 0 ;
32265 wxBitmap
*arg3
= 0 ;
32266 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
32267 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
32277 PyObject
* obj0
= 0 ;
32278 PyObject
* obj1
= 0 ;
32279 PyObject
* obj2
= 0 ;
32280 PyObject
* obj3
= 0 ;
32281 char * kwnames
[] = {
32282 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
32285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32287 if (!SWIG_IsOK(res1
)) {
32288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
32290 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32292 if (!SWIG_IsOK(ecode2
)) {
32293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
32295 arg2
= static_cast< int >(val2
);
32296 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32297 if (!SWIG_IsOK(res3
)) {
32298 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
32303 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
32305 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32306 if (!SWIG_IsOK(res4
)) {
32307 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
32312 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
32315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32316 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
32317 wxPyEndAllowThreads(__tstate
);
32318 if (PyErr_Occurred()) SWIG_fail
;
32321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32329 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32330 PyObject
*resultobj
= 0;
32331 wxImageList
*arg1
= (wxImageList
*) 0 ;
32336 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
32337 bool arg7
= (bool) (bool)false ;
32353 PyObject
* obj0
= 0 ;
32354 PyObject
* obj1
= 0 ;
32355 PyObject
* obj2
= 0 ;
32356 PyObject
* obj3
= 0 ;
32357 PyObject
* obj4
= 0 ;
32358 PyObject
* obj5
= 0 ;
32359 PyObject
* obj6
= 0 ;
32360 char * kwnames
[] = {
32361 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
32364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32366 if (!SWIG_IsOK(res1
)) {
32367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
32369 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32371 if (!SWIG_IsOK(ecode2
)) {
32372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
32374 arg2
= static_cast< int >(val2
);
32375 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
32376 if (!SWIG_IsOK(res3
)) {
32377 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
32382 arg3
= reinterpret_cast< wxDC
* >(argp3
);
32383 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32384 if (!SWIG_IsOK(ecode4
)) {
32385 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
32387 arg4
= static_cast< int >(val4
);
32388 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32389 if (!SWIG_IsOK(ecode5
)) {
32390 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
32392 arg5
= static_cast< int >(val5
);
32394 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32395 if (!SWIG_IsOK(ecode6
)) {
32396 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
32398 arg6
= static_cast< int >(val6
);
32401 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
32402 if (!SWIG_IsOK(ecode7
)) {
32403 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
32405 arg7
= static_cast< bool >(val7
);
32408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32409 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
32410 wxPyEndAllowThreads(__tstate
);
32411 if (PyErr_Occurred()) SWIG_fail
;
32414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32422 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32423 PyObject
*resultobj
= 0;
32424 wxImageList
*arg1
= (wxImageList
*) 0 ;
32428 PyObject
*swig_obj
[1] ;
32430 if (!args
) SWIG_fail
;
32431 swig_obj
[0] = args
;
32432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32433 if (!SWIG_IsOK(res1
)) {
32434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
32436 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32439 result
= (int)(arg1
)->GetImageCount();
32440 wxPyEndAllowThreads(__tstate
);
32441 if (PyErr_Occurred()) SWIG_fail
;
32443 resultobj
= SWIG_From_int(static_cast< int >(result
));
32450 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32451 PyObject
*resultobj
= 0;
32452 wxImageList
*arg1
= (wxImageList
*) 0 ;
32459 PyObject
* obj0
= 0 ;
32460 PyObject
* obj1
= 0 ;
32461 char * kwnames
[] = {
32462 (char *) "self",(char *) "index", NULL
32465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32467 if (!SWIG_IsOK(res1
)) {
32468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32470 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32472 if (!SWIG_IsOK(ecode2
)) {
32473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32475 arg2
= static_cast< int >(val2
);
32477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32478 result
= (bool)(arg1
)->Remove(arg2
);
32479 wxPyEndAllowThreads(__tstate
);
32480 if (PyErr_Occurred()) SWIG_fail
;
32483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32491 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32492 PyObject
*resultobj
= 0;
32493 wxImageList
*arg1
= (wxImageList
*) 0 ;
32497 PyObject
*swig_obj
[1] ;
32499 if (!args
) SWIG_fail
;
32500 swig_obj
[0] = args
;
32501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32502 if (!SWIG_IsOK(res1
)) {
32503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32505 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32508 result
= (bool)(arg1
)->RemoveAll();
32509 wxPyEndAllowThreads(__tstate
);
32510 if (PyErr_Occurred()) SWIG_fail
;
32513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32521 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32522 PyObject
*resultobj
= 0;
32523 wxImageList
*arg1
= (wxImageList
*) 0 ;
32532 int res3
= SWIG_TMPOBJ
;
32534 int res4
= SWIG_TMPOBJ
;
32535 PyObject
* obj0
= 0 ;
32536 PyObject
* obj1
= 0 ;
32537 char * kwnames
[] = {
32538 (char *) "self",(char *) "index", NULL
32543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32545 if (!SWIG_IsOK(res1
)) {
32546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32548 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32550 if (!SWIG_IsOK(ecode2
)) {
32551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32553 arg2
= static_cast< int >(val2
);
32555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32556 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32557 wxPyEndAllowThreads(__tstate
);
32558 if (PyErr_Occurred()) SWIG_fail
;
32560 resultobj
= SWIG_Py_Void();
32561 if (SWIG_IsTmpObj(res3
)) {
32562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32564 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32567 if (SWIG_IsTmpObj(res4
)) {
32568 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32570 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32579 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32581 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32582 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32583 return SWIG_Py_Void();
32586 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32587 return SWIG_Python_InitShadowInstance(args
);
32590 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32591 PyObject
*resultobj
= 0;
32592 wxStockGDI
*result
= 0 ;
32594 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32597 result
= (wxStockGDI
*)new wxStockGDI();
32598 wxPyEndAllowThreads(__tstate
);
32599 if (PyErr_Occurred()) SWIG_fail
;
32601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32608 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32609 PyObject
*resultobj
= 0;
32610 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32613 PyObject
*swig_obj
[1] ;
32615 if (!args
) SWIG_fail
;
32616 swig_obj
[0] = args
;
32617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32618 if (!SWIG_IsOK(res1
)) {
32619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32621 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32626 wxPyEndAllowThreads(__tstate
);
32627 if (PyErr_Occurred()) SWIG_fail
;
32629 resultobj
= SWIG_Py_Void();
32636 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32637 PyObject
*resultobj
= 0;
32639 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32642 wxStockGDI::DeleteAll();
32643 wxPyEndAllowThreads(__tstate
);
32644 if (PyErr_Occurred()) SWIG_fail
;
32646 resultobj
= SWIG_Py_Void();
32653 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32654 PyObject
*resultobj
= 0;
32655 wxStockGDI
*result
= 0 ;
32657 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32661 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32662 result
= (wxStockGDI
*) &_result_ref
;
32664 wxPyEndAllowThreads(__tstate
);
32665 if (PyErr_Occurred()) SWIG_fail
;
32667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32674 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32675 PyObject
*resultobj
= 0;
32676 wxStockGDI::Item arg1
;
32677 wxBrush
*result
= 0 ;
32680 PyObject
* obj0
= 0 ;
32681 char * kwnames
[] = {
32682 (char *) "item", NULL
32685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32686 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32687 if (!SWIG_IsOK(ecode1
)) {
32688 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32690 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32693 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32694 wxPyEndAllowThreads(__tstate
);
32695 if (PyErr_Occurred()) SWIG_fail
;
32697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32704 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32705 PyObject
*resultobj
= 0;
32706 wxStockGDI::Item arg1
;
32707 wxColour
*result
= 0 ;
32710 PyObject
* obj0
= 0 ;
32711 char * kwnames
[] = {
32712 (char *) "item", NULL
32715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32716 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32717 if (!SWIG_IsOK(ecode1
)) {
32718 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32720 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32723 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32724 wxPyEndAllowThreads(__tstate
);
32725 if (PyErr_Occurred()) SWIG_fail
;
32727 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32734 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32735 PyObject
*resultobj
= 0;
32736 wxStockGDI::Item arg1
;
32737 wxCursor
*result
= 0 ;
32740 PyObject
* obj0
= 0 ;
32741 char * kwnames
[] = {
32742 (char *) "item", NULL
32745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32746 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32747 if (!SWIG_IsOK(ecode1
)) {
32748 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32750 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32753 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32754 wxPyEndAllowThreads(__tstate
);
32755 if (PyErr_Occurred()) SWIG_fail
;
32757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32764 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32765 PyObject
*resultobj
= 0;
32766 wxStockGDI::Item arg1
;
32767 wxPen
*result
= 0 ;
32770 PyObject
* obj0
= 0 ;
32771 char * kwnames
[] = {
32772 (char *) "item", NULL
32775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32776 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32777 if (!SWIG_IsOK(ecode1
)) {
32778 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32780 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32783 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32784 wxPyEndAllowThreads(__tstate
);
32785 if (PyErr_Occurred()) SWIG_fail
;
32787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32794 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32795 PyObject
*resultobj
= 0;
32796 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32797 wxStockGDI::Item arg2
;
32798 wxFont
*result
= 0 ;
32803 PyObject
* obj0
= 0 ;
32804 PyObject
* obj1
= 0 ;
32805 char * kwnames
[] = {
32806 (char *) "self",(char *) "item", NULL
32809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32811 if (!SWIG_IsOK(res1
)) {
32812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32814 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32816 if (!SWIG_IsOK(ecode2
)) {
32817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32819 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32822 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32823 wxPyEndAllowThreads(__tstate
);
32824 if (PyErr_Occurred()) SWIG_fail
;
32826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32833 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32836 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32837 return SWIG_Py_Void();
32840 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32841 return SWIG_Python_InitShadowInstance(args
);
32844 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32845 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32850 SWIGINTERN PyObject
*NullBitmap_get(void) {
32851 PyObject
*pyobj
= 0;
32853 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32858 SWIGINTERN
int NullIcon_set(PyObject
*) {
32859 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32864 SWIGINTERN PyObject
*NullIcon_get(void) {
32865 PyObject
*pyobj
= 0;
32867 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32872 SWIGINTERN
int NullCursor_set(PyObject
*) {
32873 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32878 SWIGINTERN PyObject
*NullCursor_get(void) {
32879 PyObject
*pyobj
= 0;
32881 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32886 SWIGINTERN
int NullPen_set(PyObject
*) {
32887 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32892 SWIGINTERN PyObject
*NullPen_get(void) {
32893 PyObject
*pyobj
= 0;
32895 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32900 SWIGINTERN
int NullBrush_set(PyObject
*) {
32901 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32906 SWIGINTERN PyObject
*NullBrush_get(void) {
32907 PyObject
*pyobj
= 0;
32909 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32914 SWIGINTERN
int NullPalette_set(PyObject
*) {
32915 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32920 SWIGINTERN PyObject
*NullPalette_get(void) {
32921 PyObject
*pyobj
= 0;
32923 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32928 SWIGINTERN
int NullFont_set(PyObject
*) {
32929 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32934 SWIGINTERN PyObject
*NullFont_get(void) {
32935 PyObject
*pyobj
= 0;
32937 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32942 SWIGINTERN
int NullColour_set(PyObject
*) {
32943 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32948 SWIGINTERN PyObject
*NullColour_get(void) {
32949 PyObject
*pyobj
= 0;
32951 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32956 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32957 PyObject
*resultobj
= 0;
32958 wxGDIObjListBase
*result
= 0 ;
32960 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32963 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32964 wxPyEndAllowThreads(__tstate
);
32965 if (PyErr_Occurred()) SWIG_fail
;
32967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32974 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32975 PyObject
*resultobj
= 0;
32976 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32979 PyObject
*swig_obj
[1] ;
32981 if (!args
) SWIG_fail
;
32982 swig_obj
[0] = args
;
32983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32984 if (!SWIG_IsOK(res1
)) {
32985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32987 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32992 wxPyEndAllowThreads(__tstate
);
32993 if (PyErr_Occurred()) SWIG_fail
;
32995 resultobj
= SWIG_Py_Void();
33002 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33004 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33005 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
33006 return SWIG_Py_Void();
33009 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33010 return SWIG_Python_InitShadowInstance(args
);
33013 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33014 PyObject
*resultobj
= 0;
33015 wxPenList
*arg1
= (wxPenList
*) 0 ;
33016 wxColour
*arg2
= 0 ;
33019 wxPen
*result
= 0 ;
33027 PyObject
* obj0
= 0 ;
33028 PyObject
* obj1
= 0 ;
33029 PyObject
* obj2
= 0 ;
33030 PyObject
* obj3
= 0 ;
33031 char * kwnames
[] = {
33032 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
33035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33037 if (!SWIG_IsOK(res1
)) {
33038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
33040 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33043 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33046 if (!SWIG_IsOK(ecode3
)) {
33047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
33049 arg3
= static_cast< int >(val3
);
33050 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33051 if (!SWIG_IsOK(ecode4
)) {
33052 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
33054 arg4
= static_cast< int >(val4
);
33056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33057 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
33058 wxPyEndAllowThreads(__tstate
);
33059 if (PyErr_Occurred()) SWIG_fail
;
33061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
33068 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33069 PyObject
*resultobj
= 0;
33070 wxPenList
*arg1
= (wxPenList
*) 0 ;
33071 wxPen
*arg2
= (wxPen
*) 0 ;
33076 PyObject
* obj0
= 0 ;
33077 PyObject
* obj1
= 0 ;
33078 char * kwnames
[] = {
33079 (char *) "self",(char *) "pen", NULL
33082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33084 if (!SWIG_IsOK(res1
)) {
33085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
33087 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33088 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
33089 if (!SWIG_IsOK(res2
)) {
33090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
33092 arg2
= reinterpret_cast< wxPen
* >(argp2
);
33094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33095 (arg1
)->AddPen(arg2
);
33096 wxPyEndAllowThreads(__tstate
);
33097 if (PyErr_Occurred()) SWIG_fail
;
33099 resultobj
= SWIG_Py_Void();
33106 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33107 PyObject
*resultobj
= 0;
33108 wxPenList
*arg1
= (wxPenList
*) 0 ;
33109 wxPen
*arg2
= (wxPen
*) 0 ;
33114 PyObject
* obj0
= 0 ;
33115 PyObject
* obj1
= 0 ;
33116 char * kwnames
[] = {
33117 (char *) "self",(char *) "pen", NULL
33120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
33122 if (!SWIG_IsOK(res1
)) {
33123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
33125 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
33126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
33127 if (!SWIG_IsOK(res2
)) {
33128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
33130 arg2
= reinterpret_cast< wxPen
* >(argp2
);
33132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33133 (arg1
)->RemovePen(arg2
);
33134 wxPyEndAllowThreads(__tstate
);
33135 if (PyErr_Occurred()) SWIG_fail
;
33137 resultobj
= SWIG_Py_Void();
33144 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33147 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
33148 return SWIG_Py_Void();
33151 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33152 PyObject
*resultobj
= 0;
33153 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33154 wxColour
*arg2
= 0 ;
33155 int arg3
= (int) wxSOLID
;
33156 wxBrush
*result
= 0 ;
33162 PyObject
* obj0
= 0 ;
33163 PyObject
* obj1
= 0 ;
33164 PyObject
* obj2
= 0 ;
33165 char * kwnames
[] = {
33166 (char *) "self",(char *) "colour",(char *) "style", NULL
33169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33171 if (!SWIG_IsOK(res1
)) {
33172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33174 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33177 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33180 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33181 if (!SWIG_IsOK(ecode3
)) {
33182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
33184 arg3
= static_cast< int >(val3
);
33187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33188 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
33189 wxPyEndAllowThreads(__tstate
);
33190 if (PyErr_Occurred()) SWIG_fail
;
33192 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
33199 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33200 PyObject
*resultobj
= 0;
33201 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33202 wxBrush
*arg2
= (wxBrush
*) 0 ;
33207 PyObject
* obj0
= 0 ;
33208 PyObject
* obj1
= 0 ;
33209 char * kwnames
[] = {
33210 (char *) "self",(char *) "brush", NULL
33213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33215 if (!SWIG_IsOK(res1
)) {
33216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33218 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33219 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
33220 if (!SWIG_IsOK(res2
)) {
33221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
33223 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33226 (arg1
)->AddBrush(arg2
);
33227 wxPyEndAllowThreads(__tstate
);
33228 if (PyErr_Occurred()) SWIG_fail
;
33230 resultobj
= SWIG_Py_Void();
33237 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33238 PyObject
*resultobj
= 0;
33239 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
33240 wxBrush
*arg2
= (wxBrush
*) 0 ;
33245 PyObject
* obj0
= 0 ;
33246 PyObject
* obj1
= 0 ;
33247 char * kwnames
[] = {
33248 (char *) "self",(char *) "brush", NULL
33251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
33253 if (!SWIG_IsOK(res1
)) {
33254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
33256 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
33257 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
33258 if (!SWIG_IsOK(res2
)) {
33259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
33261 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33264 (arg1
)->RemoveBrush(arg2
);
33265 wxPyEndAllowThreads(__tstate
);
33266 if (PyErr_Occurred()) SWIG_fail
;
33268 resultobj
= SWIG_Py_Void();
33275 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33277 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33278 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
33279 return SWIG_Py_Void();
33282 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33283 PyObject
*resultobj
= 0;
33284 wxFontList
*arg1
= (wxFontList
*) 0 ;
33289 bool arg6
= (bool) false ;
33290 wxString
const &arg7_defvalue
= wxPyEmptyString
;
33291 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33292 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
33293 wxFont
*result
= 0 ;
33306 bool temp7
= false ;
33309 PyObject
* obj0
= 0 ;
33310 PyObject
* obj1
= 0 ;
33311 PyObject
* obj2
= 0 ;
33312 PyObject
* obj3
= 0 ;
33313 PyObject
* obj4
= 0 ;
33314 PyObject
* obj5
= 0 ;
33315 PyObject
* obj6
= 0 ;
33316 PyObject
* obj7
= 0 ;
33317 char * kwnames
[] = {
33318 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
33321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33323 if (!SWIG_IsOK(res1
)) {
33324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33326 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33328 if (!SWIG_IsOK(ecode2
)) {
33329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
33331 arg2
= static_cast< int >(val2
);
33332 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33333 if (!SWIG_IsOK(ecode3
)) {
33334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
33336 arg3
= static_cast< int >(val3
);
33337 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33338 if (!SWIG_IsOK(ecode4
)) {
33339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
33341 arg4
= static_cast< int >(val4
);
33342 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33343 if (!SWIG_IsOK(ecode5
)) {
33344 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
33346 arg5
= static_cast< int >(val5
);
33348 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
33349 if (!SWIG_IsOK(ecode6
)) {
33350 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
33352 arg6
= static_cast< bool >(val6
);
33356 arg7
= wxString_in_helper(obj6
);
33357 if (arg7
== NULL
) SWIG_fail
;
33362 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
33363 if (!SWIG_IsOK(ecode8
)) {
33364 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
33366 arg8
= static_cast< wxFontEncoding
>(val8
);
33369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33370 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
33371 wxPyEndAllowThreads(__tstate
);
33372 if (PyErr_Occurred()) SWIG_fail
;
33374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
33389 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33390 PyObject
*resultobj
= 0;
33391 wxFontList
*arg1
= (wxFontList
*) 0 ;
33392 wxFont
*arg2
= (wxFont
*) 0 ;
33397 PyObject
* obj0
= 0 ;
33398 PyObject
* obj1
= 0 ;
33399 char * kwnames
[] = {
33400 (char *) "self",(char *) "font", NULL
33403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33405 if (!SWIG_IsOK(res1
)) {
33406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33408 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33409 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33410 if (!SWIG_IsOK(res2
)) {
33411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
33413 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33416 (arg1
)->AddFont(arg2
);
33417 wxPyEndAllowThreads(__tstate
);
33418 if (PyErr_Occurred()) SWIG_fail
;
33420 resultobj
= SWIG_Py_Void();
33427 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33428 PyObject
*resultobj
= 0;
33429 wxFontList
*arg1
= (wxFontList
*) 0 ;
33430 wxFont
*arg2
= (wxFont
*) 0 ;
33435 PyObject
* obj0
= 0 ;
33436 PyObject
* obj1
= 0 ;
33437 char * kwnames
[] = {
33438 (char *) "self",(char *) "font", NULL
33441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
33443 if (!SWIG_IsOK(res1
)) {
33444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
33446 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
33447 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33448 if (!SWIG_IsOK(res2
)) {
33449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
33451 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33454 (arg1
)->RemoveFont(arg2
);
33455 wxPyEndAllowThreads(__tstate
);
33456 if (PyErr_Occurred()) SWIG_fail
;
33458 resultobj
= SWIG_Py_Void();
33465 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33467 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33468 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
33469 return SWIG_Py_Void();
33472 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33473 PyObject
*resultobj
= 0;
33474 wxColourDatabase
*result
= 0 ;
33476 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
33478 if (!wxPyCheckForApp()) SWIG_fail
;
33479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33480 result
= (wxColourDatabase
*)new wxColourDatabase();
33481 wxPyEndAllowThreads(__tstate
);
33482 if (PyErr_Occurred()) SWIG_fail
;
33484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
33491 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33492 PyObject
*resultobj
= 0;
33493 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33496 PyObject
*swig_obj
[1] ;
33498 if (!args
) SWIG_fail
;
33499 swig_obj
[0] = args
;
33500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
33501 if (!SWIG_IsOK(res1
)) {
33502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33504 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33509 wxPyEndAllowThreads(__tstate
);
33510 if (PyErr_Occurred()) SWIG_fail
;
33512 resultobj
= SWIG_Py_Void();
33519 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33520 PyObject
*resultobj
= 0;
33521 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33522 wxString
*arg2
= 0 ;
33526 bool temp2
= false ;
33527 PyObject
* obj0
= 0 ;
33528 PyObject
* obj1
= 0 ;
33529 char * kwnames
[] = {
33530 (char *) "self",(char *) "name", NULL
33533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33535 if (!SWIG_IsOK(res1
)) {
33536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33538 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33540 arg2
= wxString_in_helper(obj1
);
33541 if (arg2
== NULL
) SWIG_fail
;
33545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33546 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
33547 wxPyEndAllowThreads(__tstate
);
33548 if (PyErr_Occurred()) SWIG_fail
;
33550 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33565 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33566 PyObject
*resultobj
= 0;
33567 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33568 wxColour
*arg2
= 0 ;
33573 PyObject
* obj0
= 0 ;
33574 PyObject
* obj1
= 0 ;
33575 char * kwnames
[] = {
33576 (char *) "self",(char *) "colour", NULL
33579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33581 if (!SWIG_IsOK(res1
)) {
33582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
33584 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33587 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33591 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
33592 wxPyEndAllowThreads(__tstate
);
33593 if (PyErr_Occurred()) SWIG_fail
;
33597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33608 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33609 PyObject
*resultobj
= 0;
33610 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33611 wxString
*arg2
= 0 ;
33612 wxColour
*arg3
= 0 ;
33615 bool temp2
= false ;
33617 PyObject
* obj0
= 0 ;
33618 PyObject
* obj1
= 0 ;
33619 PyObject
* obj2
= 0 ;
33620 char * kwnames
[] = {
33621 (char *) "self",(char *) "name",(char *) "colour", NULL
33624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33626 if (!SWIG_IsOK(res1
)) {
33627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33629 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33631 arg2
= wxString_in_helper(obj1
);
33632 if (arg2
== NULL
) SWIG_fail
;
33637 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33641 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
33642 wxPyEndAllowThreads(__tstate
);
33643 if (PyErr_Occurred()) SWIG_fail
;
33645 resultobj
= SWIG_Py_Void();
33660 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33661 PyObject
*resultobj
= 0;
33662 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
33663 wxString
*arg2
= 0 ;
33669 bool temp2
= false ;
33676 PyObject
* obj0
= 0 ;
33677 PyObject
* obj1
= 0 ;
33678 PyObject
* obj2
= 0 ;
33679 PyObject
* obj3
= 0 ;
33680 PyObject
* obj4
= 0 ;
33681 char * kwnames
[] = {
33682 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
33685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33687 if (!SWIG_IsOK(res1
)) {
33688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
33690 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
33692 arg2
= wxString_in_helper(obj1
);
33693 if (arg2
== NULL
) SWIG_fail
;
33696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33697 if (!SWIG_IsOK(ecode3
)) {
33698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33700 arg3
= static_cast< int >(val3
);
33701 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33702 if (!SWIG_IsOK(ecode4
)) {
33703 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33705 arg4
= static_cast< int >(val4
);
33706 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33707 if (!SWIG_IsOK(ecode5
)) {
33708 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33710 arg5
= static_cast< int >(val5
);
33712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33713 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33714 wxPyEndAllowThreads(__tstate
);
33715 if (PyErr_Occurred()) SWIG_fail
;
33717 resultobj
= SWIG_Py_Void();
33732 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33735 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33736 return SWIG_Py_Void();
33739 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33740 return SWIG_Python_InitShadowInstance(args
);
33743 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33744 PyObject
*resultobj
= 0;
33745 wxFontList
*result
= 0 ;
33747 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33750 result
= (wxFontList
*)_wxPyInitTheFontList();
33751 wxPyEndAllowThreads(__tstate
);
33752 if (PyErr_Occurred()) SWIG_fail
;
33754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33761 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33762 PyObject
*resultobj
= 0;
33763 wxPenList
*result
= 0 ;
33765 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33768 result
= (wxPenList
*)_wxPyInitThePenList();
33769 wxPyEndAllowThreads(__tstate
);
33770 if (PyErr_Occurred()) SWIG_fail
;
33772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33779 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33780 PyObject
*resultobj
= 0;
33781 wxBrushList
*result
= 0 ;
33783 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33786 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33787 wxPyEndAllowThreads(__tstate
);
33788 if (PyErr_Occurred()) SWIG_fail
;
33790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33797 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33798 PyObject
*resultobj
= 0;
33799 wxColourDatabase
*result
= 0 ;
33801 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33804 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33805 wxPyEndAllowThreads(__tstate
);
33806 if (PyErr_Occurred()) SWIG_fail
;
33808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33815 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33816 PyObject
*resultobj
= 0;
33817 wxEffects
*result
= 0 ;
33819 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33822 result
= (wxEffects
*)new wxEffects();
33823 wxPyEndAllowThreads(__tstate
);
33824 if (PyErr_Occurred()) SWIG_fail
;
33826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33833 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33834 PyObject
*resultobj
= 0;
33835 wxEffects
*arg1
= (wxEffects
*) 0 ;
33839 PyObject
*swig_obj
[1] ;
33841 if (!args
) SWIG_fail
;
33842 swig_obj
[0] = args
;
33843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33844 if (!SWIG_IsOK(res1
)) {
33845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33847 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33850 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33851 wxPyEndAllowThreads(__tstate
);
33852 if (PyErr_Occurred()) SWIG_fail
;
33854 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33861 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33862 PyObject
*resultobj
= 0;
33863 wxEffects
*arg1
= (wxEffects
*) 0 ;
33867 PyObject
*swig_obj
[1] ;
33869 if (!args
) SWIG_fail
;
33870 swig_obj
[0] = args
;
33871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33872 if (!SWIG_IsOK(res1
)) {
33873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33875 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33878 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33879 wxPyEndAllowThreads(__tstate
);
33880 if (PyErr_Occurred()) SWIG_fail
;
33882 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33889 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33890 PyObject
*resultobj
= 0;
33891 wxEffects
*arg1
= (wxEffects
*) 0 ;
33895 PyObject
*swig_obj
[1] ;
33897 if (!args
) SWIG_fail
;
33898 swig_obj
[0] = args
;
33899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33900 if (!SWIG_IsOK(res1
)) {
33901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33903 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33906 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33907 wxPyEndAllowThreads(__tstate
);
33908 if (PyErr_Occurred()) SWIG_fail
;
33910 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33917 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33918 PyObject
*resultobj
= 0;
33919 wxEffects
*arg1
= (wxEffects
*) 0 ;
33923 PyObject
*swig_obj
[1] ;
33925 if (!args
) SWIG_fail
;
33926 swig_obj
[0] = args
;
33927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33928 if (!SWIG_IsOK(res1
)) {
33929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33931 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33934 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33935 wxPyEndAllowThreads(__tstate
);
33936 if (PyErr_Occurred()) SWIG_fail
;
33938 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33945 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33946 PyObject
*resultobj
= 0;
33947 wxEffects
*arg1
= (wxEffects
*) 0 ;
33951 PyObject
*swig_obj
[1] ;
33953 if (!args
) SWIG_fail
;
33954 swig_obj
[0] = args
;
33955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33956 if (!SWIG_IsOK(res1
)) {
33957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33959 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33962 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33963 wxPyEndAllowThreads(__tstate
);
33964 if (PyErr_Occurred()) SWIG_fail
;
33966 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33973 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33974 PyObject
*resultobj
= 0;
33975 wxEffects
*arg1
= (wxEffects
*) 0 ;
33976 wxColour
*arg2
= 0 ;
33980 PyObject
* obj0
= 0 ;
33981 PyObject
* obj1
= 0 ;
33982 char * kwnames
[] = {
33983 (char *) "self",(char *) "c", NULL
33986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33988 if (!SWIG_IsOK(res1
)) {
33989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33991 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33994 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33998 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33999 wxPyEndAllowThreads(__tstate
);
34000 if (PyErr_Occurred()) SWIG_fail
;
34002 resultobj
= SWIG_Py_Void();
34009 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34010 PyObject
*resultobj
= 0;
34011 wxEffects
*arg1
= (wxEffects
*) 0 ;
34012 wxColour
*arg2
= 0 ;
34016 PyObject
* obj0
= 0 ;
34017 PyObject
* obj1
= 0 ;
34018 char * kwnames
[] = {
34019 (char *) "self",(char *) "c", NULL
34022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34024 if (!SWIG_IsOK(res1
)) {
34025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34027 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34030 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34034 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
34035 wxPyEndAllowThreads(__tstate
);
34036 if (PyErr_Occurred()) SWIG_fail
;
34038 resultobj
= SWIG_Py_Void();
34045 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34046 PyObject
*resultobj
= 0;
34047 wxEffects
*arg1
= (wxEffects
*) 0 ;
34048 wxColour
*arg2
= 0 ;
34052 PyObject
* obj0
= 0 ;
34053 PyObject
* obj1
= 0 ;
34054 char * kwnames
[] = {
34055 (char *) "self",(char *) "c", NULL
34058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34060 if (!SWIG_IsOK(res1
)) {
34061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
34063 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34066 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34070 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
34071 wxPyEndAllowThreads(__tstate
);
34072 if (PyErr_Occurred()) SWIG_fail
;
34074 resultobj
= SWIG_Py_Void();
34081 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34082 PyObject
*resultobj
= 0;
34083 wxEffects
*arg1
= (wxEffects
*) 0 ;
34084 wxColour
*arg2
= 0 ;
34088 PyObject
* obj0
= 0 ;
34089 PyObject
* obj1
= 0 ;
34090 char * kwnames
[] = {
34091 (char *) "self",(char *) "c", NULL
34094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34096 if (!SWIG_IsOK(res1
)) {
34097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34099 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34102 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34106 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
34107 wxPyEndAllowThreads(__tstate
);
34108 if (PyErr_Occurred()) SWIG_fail
;
34110 resultobj
= SWIG_Py_Void();
34117 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34118 PyObject
*resultobj
= 0;
34119 wxEffects
*arg1
= (wxEffects
*) 0 ;
34120 wxColour
*arg2
= 0 ;
34124 PyObject
* obj0
= 0 ;
34125 PyObject
* obj1
= 0 ;
34126 char * kwnames
[] = {
34127 (char *) "self",(char *) "c", NULL
34130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34132 if (!SWIG_IsOK(res1
)) {
34133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
34135 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34138 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34142 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
34143 wxPyEndAllowThreads(__tstate
);
34144 if (PyErr_Occurred()) SWIG_fail
;
34146 resultobj
= SWIG_Py_Void();
34153 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34154 PyObject
*resultobj
= 0;
34155 wxEffects
*arg1
= (wxEffects
*) 0 ;
34156 wxColour
*arg2
= 0 ;
34157 wxColour
*arg3
= 0 ;
34158 wxColour
*arg4
= 0 ;
34159 wxColour
*arg5
= 0 ;
34160 wxColour
*arg6
= 0 ;
34168 PyObject
* obj0
= 0 ;
34169 PyObject
* obj1
= 0 ;
34170 PyObject
* obj2
= 0 ;
34171 PyObject
* obj3
= 0 ;
34172 PyObject
* obj4
= 0 ;
34173 PyObject
* obj5
= 0 ;
34174 char * kwnames
[] = {
34175 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
34178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34180 if (!SWIG_IsOK(res1
)) {
34181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
34183 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34186 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34190 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34194 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
34198 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
34202 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
34205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34206 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
34207 wxPyEndAllowThreads(__tstate
);
34208 if (PyErr_Occurred()) SWIG_fail
;
34210 resultobj
= SWIG_Py_Void();
34217 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34218 PyObject
*resultobj
= 0;
34219 wxEffects
*arg1
= (wxEffects
*) 0 ;
34222 int arg4
= (int) 1 ;
34230 PyObject
* obj0
= 0 ;
34231 PyObject
* obj1
= 0 ;
34232 PyObject
* obj2
= 0 ;
34233 PyObject
* obj3
= 0 ;
34234 char * kwnames
[] = {
34235 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
34238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34240 if (!SWIG_IsOK(res1
)) {
34241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
34243 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34244 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
34245 if (!SWIG_IsOK(res2
)) {
34246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
34251 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34254 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34257 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34258 if (!SWIG_IsOK(ecode4
)) {
34259 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
34261 arg4
= static_cast< int >(val4
);
34264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34265 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
34266 wxPyEndAllowThreads(__tstate
);
34267 if (PyErr_Occurred()) SWIG_fail
;
34269 resultobj
= SWIG_Py_Void();
34276 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34277 PyObject
*resultobj
= 0;
34278 wxEffects
*arg1
= (wxEffects
*) 0 ;
34281 wxBitmap
*arg4
= 0 ;
34290 PyObject
* obj0
= 0 ;
34291 PyObject
* obj1
= 0 ;
34292 PyObject
* obj2
= 0 ;
34293 PyObject
* obj3
= 0 ;
34294 char * kwnames
[] = {
34295 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
34298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
34300 if (!SWIG_IsOK(res1
)) {
34301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
34303 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
34306 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34308 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34309 if (!SWIG_IsOK(res3
)) {
34310 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
34315 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34316 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
34317 if (!SWIG_IsOK(res4
)) {
34318 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
34323 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
34325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34326 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
34327 wxPyEndAllowThreads(__tstate
);
34328 if (PyErr_Occurred()) SWIG_fail
;
34331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34339 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34341 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34342 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
34343 return SWIG_Py_Void();
34346 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34347 return SWIG_Python_InitShadowInstance(args
);
34350 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34351 PyObject
*resultobj
= 0;
34355 wxSplitterRenderParams
*result
= 0 ;
34362 PyObject
* obj0
= 0 ;
34363 PyObject
* obj1
= 0 ;
34364 PyObject
* obj2
= 0 ;
34365 char * kwnames
[] = {
34366 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
34369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34370 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34371 if (!SWIG_IsOK(ecode1
)) {
34372 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
34374 arg1
= static_cast< int >(val1
);
34375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34376 if (!SWIG_IsOK(ecode2
)) {
34377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
34379 arg2
= static_cast< int >(val2
);
34380 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34381 if (!SWIG_IsOK(ecode3
)) {
34382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
34384 arg3
= static_cast< bool >(val3
);
34386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34387 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
34388 wxPyEndAllowThreads(__tstate
);
34389 if (PyErr_Occurred()) SWIG_fail
;
34391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
34398 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34399 PyObject
*resultobj
= 0;
34400 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34403 PyObject
*swig_obj
[1] ;
34405 if (!args
) SWIG_fail
;
34406 swig_obj
[0] = args
;
34407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
34408 if (!SWIG_IsOK(res1
)) {
34409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34411 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34416 wxPyEndAllowThreads(__tstate
);
34417 if (PyErr_Occurred()) SWIG_fail
;
34419 resultobj
= SWIG_Py_Void();
34426 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34427 PyObject
*resultobj
= 0;
34428 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34432 PyObject
*swig_obj
[1] ;
34434 if (!args
) SWIG_fail
;
34435 swig_obj
[0] = args
;
34436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34437 if (!SWIG_IsOK(res1
)) {
34438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34440 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34441 result
= (int)(int) ((arg1
)->widthSash
);
34442 resultobj
= SWIG_From_int(static_cast< int >(result
));
34449 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34450 PyObject
*resultobj
= 0;
34451 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34455 PyObject
*swig_obj
[1] ;
34457 if (!args
) SWIG_fail
;
34458 swig_obj
[0] = args
;
34459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34460 if (!SWIG_IsOK(res1
)) {
34461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34463 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34464 result
= (int)(int) ((arg1
)->border
);
34465 resultobj
= SWIG_From_int(static_cast< int >(result
));
34472 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34473 PyObject
*resultobj
= 0;
34474 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
34478 PyObject
*swig_obj
[1] ;
34480 if (!args
) SWIG_fail
;
34481 swig_obj
[0] = args
;
34482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
34483 if (!SWIG_IsOK(res1
)) {
34484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
34486 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
34487 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
34488 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
34495 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34498 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
34499 return SWIG_Py_Void();
34502 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34503 return SWIG_Python_InitShadowInstance(args
);
34506 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34507 PyObject
*resultobj
= 0;
34508 wxHeaderButtonParams
*result
= 0 ;
34510 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
34512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34513 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
34514 wxPyEndAllowThreads(__tstate
);
34515 if (PyErr_Occurred()) SWIG_fail
;
34517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
34524 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34525 PyObject
*resultobj
= 0;
34526 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34529 PyObject
*swig_obj
[1] ;
34531 if (!args
) SWIG_fail
;
34532 swig_obj
[0] = args
;
34533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
34534 if (!SWIG_IsOK(res1
)) {
34535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34537 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34542 wxPyEndAllowThreads(__tstate
);
34543 if (PyErr_Occurred()) SWIG_fail
;
34545 resultobj
= SWIG_Py_Void();
34552 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34553 PyObject
*resultobj
= 0;
34554 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34555 wxColour
*arg2
= (wxColour
*) 0 ;
34559 PyObject
*swig_obj
[2] ;
34561 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
34562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34563 if (!SWIG_IsOK(res1
)) {
34564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34566 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34569 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34571 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
34573 resultobj
= SWIG_Py_Void();
34580 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34581 PyObject
*resultobj
= 0;
34582 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34583 wxColour
*result
= 0 ;
34586 PyObject
*swig_obj
[1] ;
34588 if (!args
) SWIG_fail
;
34589 swig_obj
[0] = args
;
34590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34591 if (!SWIG_IsOK(res1
)) {
34592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34594 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34595 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
34596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34603 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34604 PyObject
*resultobj
= 0;
34605 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34606 wxColour
*arg2
= (wxColour
*) 0 ;
34610 PyObject
*swig_obj
[2] ;
34612 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
34613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34614 if (!SWIG_IsOK(res1
)) {
34615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34617 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34620 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34622 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
34624 resultobj
= SWIG_Py_Void();
34631 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34632 PyObject
*resultobj
= 0;
34633 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34634 wxColour
*result
= 0 ;
34637 PyObject
*swig_obj
[1] ;
34639 if (!args
) SWIG_fail
;
34640 swig_obj
[0] = args
;
34641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34642 if (!SWIG_IsOK(res1
)) {
34643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34645 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34646 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
34647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34654 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34655 PyObject
*resultobj
= 0;
34656 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34657 wxString
*arg2
= (wxString
*) 0 ;
34660 bool temp2
= false ;
34661 PyObject
*swig_obj
[2] ;
34663 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
34664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34665 if (!SWIG_IsOK(res1
)) {
34666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34668 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34670 arg2
= wxString_in_helper(swig_obj
[1]);
34671 if (arg2
== NULL
) SWIG_fail
;
34674 if (arg1
) (arg1
)->m_labelText
= *arg2
;
34676 resultobj
= SWIG_Py_Void();
34691 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34692 PyObject
*resultobj
= 0;
34693 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34694 wxString
*result
= 0 ;
34697 PyObject
*swig_obj
[1] ;
34699 if (!args
) SWIG_fail
;
34700 swig_obj
[0] = args
;
34701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34702 if (!SWIG_IsOK(res1
)) {
34703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34705 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34706 result
= (wxString
*)& ((arg1
)->m_labelText
);
34709 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34711 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34720 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34721 PyObject
*resultobj
= 0;
34722 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34723 wxFont
*arg2
= (wxFont
*) 0 ;
34728 PyObject
*swig_obj
[2] ;
34730 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34732 if (!SWIG_IsOK(res1
)) {
34733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34735 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34736 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34737 if (!SWIG_IsOK(res2
)) {
34738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34740 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34741 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34743 resultobj
= SWIG_Py_Void();
34750 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34751 PyObject
*resultobj
= 0;
34752 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34753 wxFont
*result
= 0 ;
34756 PyObject
*swig_obj
[1] ;
34758 if (!args
) SWIG_fail
;
34759 swig_obj
[0] = args
;
34760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34761 if (!SWIG_IsOK(res1
)) {
34762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34764 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34765 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34766 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34773 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34774 PyObject
*resultobj
= 0;
34775 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34776 wxColour
*arg2
= (wxColour
*) 0 ;
34780 PyObject
*swig_obj
[2] ;
34782 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34784 if (!SWIG_IsOK(res1
)) {
34785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34787 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34790 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34792 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34794 resultobj
= SWIG_Py_Void();
34801 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34802 PyObject
*resultobj
= 0;
34803 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34804 wxColour
*result
= 0 ;
34807 PyObject
*swig_obj
[1] ;
34809 if (!args
) SWIG_fail
;
34810 swig_obj
[0] = args
;
34811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34812 if (!SWIG_IsOK(res1
)) {
34813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34815 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34816 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34824 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34825 PyObject
*resultobj
= 0;
34826 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34827 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34832 PyObject
*swig_obj
[2] ;
34834 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34836 if (!SWIG_IsOK(res1
)) {
34837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34839 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34840 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34841 if (!SWIG_IsOK(res2
)) {
34842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34844 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34845 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34847 resultobj
= SWIG_Py_Void();
34854 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34855 PyObject
*resultobj
= 0;
34856 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34857 wxBitmap
*result
= 0 ;
34860 PyObject
*swig_obj
[1] ;
34862 if (!args
) SWIG_fail
;
34863 swig_obj
[0] = args
;
34864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34865 if (!SWIG_IsOK(res1
)) {
34866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34868 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34869 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34877 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34878 PyObject
*resultobj
= 0;
34879 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34885 PyObject
*swig_obj
[2] ;
34887 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34889 if (!SWIG_IsOK(res1
)) {
34890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34892 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34893 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34894 if (!SWIG_IsOK(ecode2
)) {
34895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34897 arg2
= static_cast< int >(val2
);
34898 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34900 resultobj
= SWIG_Py_Void();
34907 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34908 PyObject
*resultobj
= 0;
34909 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34913 PyObject
*swig_obj
[1] ;
34915 if (!args
) SWIG_fail
;
34916 swig_obj
[0] = args
;
34917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34918 if (!SWIG_IsOK(res1
)) {
34919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34921 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34922 result
= (int) ((arg1
)->m_labelAlignment
);
34923 resultobj
= SWIG_From_int(static_cast< int >(result
));
34930 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34933 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34934 return SWIG_Py_Void();
34937 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34938 return SWIG_Python_InitShadowInstance(args
);
34941 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34942 PyObject
*resultobj
= 0;
34945 wxRendererVersion
*result
= 0 ;
34950 PyObject
* obj0
= 0 ;
34951 PyObject
* obj1
= 0 ;
34952 char * kwnames
[] = {
34953 (char *) "version_",(char *) "age_", NULL
34956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34957 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34958 if (!SWIG_IsOK(ecode1
)) {
34959 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34961 arg1
= static_cast< int >(val1
);
34962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34963 if (!SWIG_IsOK(ecode2
)) {
34964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34966 arg2
= static_cast< int >(val2
);
34968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34969 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34970 wxPyEndAllowThreads(__tstate
);
34971 if (PyErr_Occurred()) SWIG_fail
;
34973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34980 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34981 PyObject
*resultobj
= 0;
34982 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34985 PyObject
*swig_obj
[1] ;
34987 if (!args
) SWIG_fail
;
34988 swig_obj
[0] = args
;
34989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34990 if (!SWIG_IsOK(res1
)) {
34991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34993 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34998 wxPyEndAllowThreads(__tstate
);
34999 if (PyErr_Occurred()) SWIG_fail
;
35001 resultobj
= SWIG_Py_Void();
35008 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35009 PyObject
*resultobj
= 0;
35010 wxRendererVersion
*arg1
= 0 ;
35014 PyObject
* obj0
= 0 ;
35015 char * kwnames
[] = {
35016 (char *) "ver", NULL
35019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
35020 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
35021 if (!SWIG_IsOK(res1
)) {
35022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
35025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
35027 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35030 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
35031 wxPyEndAllowThreads(__tstate
);
35032 if (PyErr_Occurred()) SWIG_fail
;
35035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35043 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35044 PyObject
*resultobj
= 0;
35045 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35049 PyObject
*swig_obj
[1] ;
35051 if (!args
) SWIG_fail
;
35052 swig_obj
[0] = args
;
35053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
35054 if (!SWIG_IsOK(res1
)) {
35055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35057 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35058 result
= (int)(int) ((arg1
)->version
);
35059 resultobj
= SWIG_From_int(static_cast< int >(result
));
35066 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35067 PyObject
*resultobj
= 0;
35068 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
35072 PyObject
*swig_obj
[1] ;
35074 if (!args
) SWIG_fail
;
35075 swig_obj
[0] = args
;
35076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
35077 if (!SWIG_IsOK(res1
)) {
35078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
35080 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
35081 result
= (int)(int) ((arg1
)->age
);
35082 resultobj
= SWIG_From_int(static_cast< int >(result
));
35089 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35091 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35092 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
35093 return SWIG_Py_Void();
35096 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35097 return SWIG_Python_InitShadowInstance(args
);
35100 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35101 PyObject
*resultobj
= 0;
35102 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35103 wxWindow
*arg2
= (wxWindow
*) 0 ;
35106 int arg5
= (int) 0 ;
35107 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35108 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35123 PyObject
* obj0
= 0 ;
35124 PyObject
* obj1
= 0 ;
35125 PyObject
* obj2
= 0 ;
35126 PyObject
* obj3
= 0 ;
35127 PyObject
* obj4
= 0 ;
35128 PyObject
* obj5
= 0 ;
35129 PyObject
* obj6
= 0 ;
35130 char * kwnames
[] = {
35131 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35136 if (!SWIG_IsOK(res1
)) {
35137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35139 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35141 if (!SWIG_IsOK(res2
)) {
35142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35144 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35145 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35146 if (!SWIG_IsOK(res3
)) {
35147 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
35150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
35152 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35155 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35158 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35159 if (!SWIG_IsOK(ecode5
)) {
35160 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
35162 arg5
= static_cast< int >(val5
);
35165 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35166 if (!SWIG_IsOK(ecode6
)) {
35167 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35169 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35172 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35173 if (!SWIG_IsOK(res7
)) {
35174 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35176 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35180 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35181 wxPyEndAllowThreads(__tstate
);
35182 if (PyErr_Occurred()) SWIG_fail
;
35184 resultobj
= SWIG_From_int(static_cast< int >(result
));
35191 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35192 PyObject
*resultobj
= 0;
35193 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35194 wxWindow
*arg2
= (wxWindow
*) 0 ;
35197 int arg5
= (int) 0 ;
35198 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
35199 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
35214 PyObject
* obj0
= 0 ;
35215 PyObject
* obj1
= 0 ;
35216 PyObject
* obj2
= 0 ;
35217 PyObject
* obj3
= 0 ;
35218 PyObject
* obj4
= 0 ;
35219 PyObject
* obj5
= 0 ;
35220 PyObject
* obj6
= 0 ;
35221 char * kwnames
[] = {
35222 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
35225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35227 if (!SWIG_IsOK(res1
)) {
35228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35230 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35231 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35232 if (!SWIG_IsOK(res2
)) {
35233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
35235 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35236 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35237 if (!SWIG_IsOK(res3
)) {
35238 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
35243 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35246 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35249 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35250 if (!SWIG_IsOK(ecode5
)) {
35251 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
35253 arg5
= static_cast< int >(val5
);
35256 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35257 if (!SWIG_IsOK(ecode6
)) {
35258 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
35260 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
35263 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
35264 if (!SWIG_IsOK(res7
)) {
35265 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
35267 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
35270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35271 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
35272 wxPyEndAllowThreads(__tstate
);
35273 if (PyErr_Occurred()) SWIG_fail
;
35275 resultobj
= SWIG_From_int(static_cast< int >(result
));
35282 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35283 PyObject
*resultobj
= 0;
35284 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35285 wxWindow
*arg2
= (wxWindow
*) 0 ;
35291 PyObject
* obj0
= 0 ;
35292 PyObject
* obj1
= 0 ;
35293 char * kwnames
[] = {
35294 (char *) "self",(char *) "win", NULL
35297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35299 if (!SWIG_IsOK(res1
)) {
35300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35302 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35303 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35304 if (!SWIG_IsOK(res2
)) {
35305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
35307 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35310 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
35311 wxPyEndAllowThreads(__tstate
);
35312 if (PyErr_Occurred()) SWIG_fail
;
35314 resultobj
= SWIG_From_int(static_cast< int >(result
));
35321 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35322 PyObject
*resultobj
= 0;
35323 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35324 wxWindow
*arg2
= (wxWindow
*) 0 ;
35327 int arg5
= (int) 0 ;
35337 PyObject
* obj0
= 0 ;
35338 PyObject
* obj1
= 0 ;
35339 PyObject
* obj2
= 0 ;
35340 PyObject
* obj3
= 0 ;
35341 PyObject
* obj4
= 0 ;
35342 char * kwnames
[] = {
35343 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35348 if (!SWIG_IsOK(res1
)) {
35349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35351 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35353 if (!SWIG_IsOK(res2
)) {
35354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35356 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35357 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35358 if (!SWIG_IsOK(res3
)) {
35359 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
35364 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35367 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35370 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35371 if (!SWIG_IsOK(ecode5
)) {
35372 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
35374 arg5
= static_cast< int >(val5
);
35377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35378 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35379 wxPyEndAllowThreads(__tstate
);
35380 if (PyErr_Occurred()) SWIG_fail
;
35382 resultobj
= SWIG_Py_Void();
35389 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35390 PyObject
*resultobj
= 0;
35391 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35392 wxWindow
*arg2
= (wxWindow
*) 0 ;
35395 int arg5
= (int) 0 ;
35405 PyObject
* obj0
= 0 ;
35406 PyObject
* obj1
= 0 ;
35407 PyObject
* obj2
= 0 ;
35408 PyObject
* obj3
= 0 ;
35409 PyObject
* obj4
= 0 ;
35410 char * kwnames
[] = {
35411 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35416 if (!SWIG_IsOK(res1
)) {
35417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35419 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35421 if (!SWIG_IsOK(res2
)) {
35422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
35424 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35425 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35426 if (!SWIG_IsOK(res3
)) {
35427 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
35432 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35435 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35438 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35439 if (!SWIG_IsOK(ecode5
)) {
35440 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
35442 arg5
= static_cast< int >(val5
);
35445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35446 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35447 wxPyEndAllowThreads(__tstate
);
35448 if (PyErr_Occurred()) SWIG_fail
;
35450 resultobj
= SWIG_Py_Void();
35457 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35458 PyObject
*resultobj
= 0;
35459 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35460 wxWindow
*arg2
= (wxWindow
*) 0 ;
35464 wxOrientation arg6
;
35465 int arg7
= (int) 0 ;
35479 PyObject
* obj0
= 0 ;
35480 PyObject
* obj1
= 0 ;
35481 PyObject
* obj2
= 0 ;
35482 PyObject
* obj3
= 0 ;
35483 PyObject
* obj4
= 0 ;
35484 PyObject
* obj5
= 0 ;
35485 PyObject
* obj6
= 0 ;
35486 char * kwnames
[] = {
35487 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
35490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35492 if (!SWIG_IsOK(res1
)) {
35493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35495 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35496 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35497 if (!SWIG_IsOK(res2
)) {
35498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
35500 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35501 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35502 if (!SWIG_IsOK(res3
)) {
35503 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
35508 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35511 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
35513 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35514 if (!SWIG_IsOK(ecode5
)) {
35515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
35517 arg5
= static_cast< int >(val5
);
35518 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35519 if (!SWIG_IsOK(ecode6
)) {
35520 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
35522 arg6
= static_cast< wxOrientation
>(val6
);
35524 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
35525 if (!SWIG_IsOK(ecode7
)) {
35526 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
35528 arg7
= static_cast< int >(val7
);
35531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35532 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
35533 wxPyEndAllowThreads(__tstate
);
35534 if (PyErr_Occurred()) SWIG_fail
;
35536 resultobj
= SWIG_Py_Void();
35543 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35544 PyObject
*resultobj
= 0;
35545 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35546 wxWindow
*arg2
= (wxWindow
*) 0 ;
35549 int arg5
= (int) 0 ;
35559 PyObject
* obj0
= 0 ;
35560 PyObject
* obj1
= 0 ;
35561 PyObject
* obj2
= 0 ;
35562 PyObject
* obj3
= 0 ;
35563 PyObject
* obj4
= 0 ;
35564 char * kwnames
[] = {
35565 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35570 if (!SWIG_IsOK(res1
)) {
35571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35573 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35574 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35575 if (!SWIG_IsOK(res2
)) {
35576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35578 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35579 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35580 if (!SWIG_IsOK(res3
)) {
35581 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
35586 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35589 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35592 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35593 if (!SWIG_IsOK(ecode5
)) {
35594 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
35596 arg5
= static_cast< int >(val5
);
35599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35600 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35601 wxPyEndAllowThreads(__tstate
);
35602 if (PyErr_Occurred()) SWIG_fail
;
35604 resultobj
= SWIG_Py_Void();
35611 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35612 PyObject
*resultobj
= 0;
35613 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35614 wxWindow
*arg2
= (wxWindow
*) 0 ;
35617 int arg5
= (int) 0 ;
35627 PyObject
* obj0
= 0 ;
35628 PyObject
* obj1
= 0 ;
35629 PyObject
* obj2
= 0 ;
35630 PyObject
* obj3
= 0 ;
35631 PyObject
* obj4
= 0 ;
35632 char * kwnames
[] = {
35633 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35638 if (!SWIG_IsOK(res1
)) {
35639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35641 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35643 if (!SWIG_IsOK(res2
)) {
35644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
35646 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35647 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35648 if (!SWIG_IsOK(res3
)) {
35649 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
35654 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35657 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35660 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35661 if (!SWIG_IsOK(ecode5
)) {
35662 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
35664 arg5
= static_cast< int >(val5
);
35667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35668 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35669 wxPyEndAllowThreads(__tstate
);
35670 if (PyErr_Occurred()) SWIG_fail
;
35672 resultobj
= SWIG_Py_Void();
35679 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35680 PyObject
*resultobj
= 0;
35681 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35682 wxWindow
*arg2
= (wxWindow
*) 0 ;
35685 int arg5
= (int) 0 ;
35695 PyObject
* obj0
= 0 ;
35696 PyObject
* obj1
= 0 ;
35697 PyObject
* obj2
= 0 ;
35698 PyObject
* obj3
= 0 ;
35699 PyObject
* obj4
= 0 ;
35700 char * kwnames
[] = {
35701 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35706 if (!SWIG_IsOK(res1
)) {
35707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35709 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35711 if (!SWIG_IsOK(res2
)) {
35712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35714 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35715 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35716 if (!SWIG_IsOK(res3
)) {
35717 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35720 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35722 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35725 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35728 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35729 if (!SWIG_IsOK(ecode5
)) {
35730 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35732 arg5
= static_cast< int >(val5
);
35735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35736 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35737 wxPyEndAllowThreads(__tstate
);
35738 if (PyErr_Occurred()) SWIG_fail
;
35740 resultobj
= SWIG_Py_Void();
35747 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35748 PyObject
*resultobj
= 0;
35749 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35750 wxWindow
*arg2
= (wxWindow
*) 0 ;
35753 int arg5
= (int) 0 ;
35763 PyObject
* obj0
= 0 ;
35764 PyObject
* obj1
= 0 ;
35765 PyObject
* obj2
= 0 ;
35766 PyObject
* obj3
= 0 ;
35767 PyObject
* obj4
= 0 ;
35768 char * kwnames
[] = {
35769 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35774 if (!SWIG_IsOK(res1
)) {
35775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35777 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35778 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35779 if (!SWIG_IsOK(res2
)) {
35780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35782 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35783 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35784 if (!SWIG_IsOK(res3
)) {
35785 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35790 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35793 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35796 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35797 if (!SWIG_IsOK(ecode5
)) {
35798 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35800 arg5
= static_cast< int >(val5
);
35803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35804 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35805 wxPyEndAllowThreads(__tstate
);
35806 if (PyErr_Occurred()) SWIG_fail
;
35808 resultobj
= SWIG_Py_Void();
35815 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35816 PyObject
*resultobj
= 0;
35817 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35818 wxWindow
*arg2
= (wxWindow
*) 0 ;
35821 int arg5
= (int) 0 ;
35831 PyObject
* obj0
= 0 ;
35832 PyObject
* obj1
= 0 ;
35833 PyObject
* obj2
= 0 ;
35834 PyObject
* obj3
= 0 ;
35835 PyObject
* obj4
= 0 ;
35836 char * kwnames
[] = {
35837 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35842 if (!SWIG_IsOK(res1
)) {
35843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35845 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35846 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35847 if (!SWIG_IsOK(res2
)) {
35848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35850 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35851 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35852 if (!SWIG_IsOK(res3
)) {
35853 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35858 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35861 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35864 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35865 if (!SWIG_IsOK(ecode5
)) {
35866 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35868 arg5
= static_cast< int >(val5
);
35871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35872 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35873 wxPyEndAllowThreads(__tstate
);
35874 if (PyErr_Occurred()) SWIG_fail
;
35876 resultobj
= SWIG_Py_Void();
35883 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35884 PyObject
*resultobj
= 0;
35885 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35886 wxWindow
*arg2
= (wxWindow
*) 0 ;
35887 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35892 PyObject
* obj0
= 0 ;
35893 PyObject
* obj1
= 0 ;
35894 char * kwnames
[] = {
35895 (char *) "self",(char *) "win", NULL
35898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35900 if (!SWIG_IsOK(res1
)) {
35901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35903 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35905 if (!SWIG_IsOK(res2
)) {
35906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35908 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35911 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35912 wxPyEndAllowThreads(__tstate
);
35913 if (PyErr_Occurred()) SWIG_fail
;
35915 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35922 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35923 PyObject
*resultobj
= 0;
35924 wxRendererNative
*result
= 0 ;
35926 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35928 if (!wxPyCheckForApp()) SWIG_fail
;
35929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35931 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35932 result
= (wxRendererNative
*) &_result_ref
;
35934 wxPyEndAllowThreads(__tstate
);
35935 if (PyErr_Occurred()) SWIG_fail
;
35937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35944 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35945 PyObject
*resultobj
= 0;
35946 wxRendererNative
*result
= 0 ;
35948 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35950 if (!wxPyCheckForApp()) SWIG_fail
;
35951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35953 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35954 result
= (wxRendererNative
*) &_result_ref
;
35956 wxPyEndAllowThreads(__tstate
);
35957 if (PyErr_Occurred()) SWIG_fail
;
35959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35966 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35967 PyObject
*resultobj
= 0;
35968 wxRendererNative
*result
= 0 ;
35970 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35972 if (!wxPyCheckForApp()) SWIG_fail
;
35973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35975 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35976 result
= (wxRendererNative
*) &_result_ref
;
35978 wxPyEndAllowThreads(__tstate
);
35979 if (PyErr_Occurred()) SWIG_fail
;
35981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35988 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35989 PyObject
*resultobj
= 0;
35990 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35991 wxRendererNative
*result
= 0 ;
35994 PyObject
* obj0
= 0 ;
35995 char * kwnames
[] = {
35996 (char *) "renderer", NULL
35999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
36000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36001 if (!SWIG_IsOK(res1
)) {
36002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
36004 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36006 if (!wxPyCheckForApp()) SWIG_fail
;
36007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36008 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
36009 wxPyEndAllowThreads(__tstate
);
36010 if (PyErr_Occurred()) SWIG_fail
;
36012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36019 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36020 PyObject
*resultobj
= 0;
36021 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
36022 SwigValueWrapper
<wxRendererVersion
> result
;
36025 PyObject
*swig_obj
[1] ;
36027 if (!args
) SWIG_fail
;
36028 swig_obj
[0] = args
;
36029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
36030 if (!SWIG_IsOK(res1
)) {
36031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
36033 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
36035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36036 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
36037 wxPyEndAllowThreads(__tstate
);
36038 if (PyErr_Occurred()) SWIG_fail
;
36040 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
36047 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36050 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
36051 return SWIG_Py_Void();
36054 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36055 PyObject
*resultobj
= 0;
36056 wxPseudoDC
*result
= 0 ;
36058 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
36060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36061 result
= (wxPseudoDC
*)new wxPseudoDC();
36062 wxPyEndAllowThreads(__tstate
);
36063 if (PyErr_Occurred()) SWIG_fail
;
36065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
36072 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36073 PyObject
*resultobj
= 0;
36074 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36077 PyObject
*swig_obj
[1] ;
36079 if (!args
) SWIG_fail
;
36080 swig_obj
[0] = args
;
36081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36082 if (!SWIG_IsOK(res1
)) {
36083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36085 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36088 (arg1
)->BeginDrawing();
36089 wxPyEndAllowThreads(__tstate
);
36090 if (PyErr_Occurred()) SWIG_fail
;
36092 resultobj
= SWIG_Py_Void();
36099 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36100 PyObject
*resultobj
= 0;
36101 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36104 PyObject
*swig_obj
[1] ;
36106 if (!args
) SWIG_fail
;
36107 swig_obj
[0] = args
;
36108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36109 if (!SWIG_IsOK(res1
)) {
36110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36112 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36115 (arg1
)->EndDrawing();
36116 wxPyEndAllowThreads(__tstate
);
36117 if (PyErr_Occurred()) SWIG_fail
;
36119 resultobj
= SWIG_Py_Void();
36126 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36127 PyObject
*resultobj
= 0;
36128 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36131 PyObject
*swig_obj
[1] ;
36133 if (!args
) SWIG_fail
;
36134 swig_obj
[0] = args
;
36135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
36136 if (!SWIG_IsOK(res1
)) {
36137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36139 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36144 wxPyEndAllowThreads(__tstate
);
36145 if (PyErr_Occurred()) SWIG_fail
;
36147 resultobj
= SWIG_Py_Void();
36154 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36155 PyObject
*resultobj
= 0;
36156 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36159 PyObject
*swig_obj
[1] ;
36161 if (!args
) SWIG_fail
;
36162 swig_obj
[0] = args
;
36163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36164 if (!SWIG_IsOK(res1
)) {
36165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36167 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36170 (arg1
)->RemoveAll();
36171 wxPyEndAllowThreads(__tstate
);
36172 if (PyErr_Occurred()) SWIG_fail
;
36174 resultobj
= SWIG_Py_Void();
36181 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36182 PyObject
*resultobj
= 0;
36183 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36187 PyObject
*swig_obj
[1] ;
36189 if (!args
) SWIG_fail
;
36190 swig_obj
[0] = args
;
36191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36192 if (!SWIG_IsOK(res1
)) {
36193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36195 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36198 result
= (int)(arg1
)->GetLen();
36199 wxPyEndAllowThreads(__tstate
);
36200 if (PyErr_Occurred()) SWIG_fail
;
36202 resultobj
= SWIG_From_int(static_cast< int >(result
));
36209 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36210 PyObject
*resultobj
= 0;
36211 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36217 PyObject
* obj0
= 0 ;
36218 PyObject
* obj1
= 0 ;
36219 char * kwnames
[] = {
36220 (char *) "self",(char *) "id", NULL
36223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36225 if (!SWIG_IsOK(res1
)) {
36226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36228 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36230 if (!SWIG_IsOK(ecode2
)) {
36231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
36233 arg2
= static_cast< int >(val2
);
36235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36236 (arg1
)->SetId(arg2
);
36237 wxPyEndAllowThreads(__tstate
);
36238 if (PyErr_Occurred()) SWIG_fail
;
36240 resultobj
= SWIG_Py_Void();
36247 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36248 PyObject
*resultobj
= 0;
36249 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36255 PyObject
* obj0
= 0 ;
36256 PyObject
* obj1
= 0 ;
36257 char * kwnames
[] = {
36258 (char *) "self",(char *) "id", NULL
36261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36263 if (!SWIG_IsOK(res1
)) {
36264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36266 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36268 if (!SWIG_IsOK(ecode2
)) {
36269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
36271 arg2
= static_cast< int >(val2
);
36273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36274 (arg1
)->ClearId(arg2
);
36275 wxPyEndAllowThreads(__tstate
);
36276 if (PyErr_Occurred()) SWIG_fail
;
36278 resultobj
= SWIG_Py_Void();
36285 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36286 PyObject
*resultobj
= 0;
36287 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36293 PyObject
* obj0
= 0 ;
36294 PyObject
* obj1
= 0 ;
36295 char * kwnames
[] = {
36296 (char *) "self",(char *) "id", NULL
36299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36301 if (!SWIG_IsOK(res1
)) {
36302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36304 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36306 if (!SWIG_IsOK(ecode2
)) {
36307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
36309 arg2
= static_cast< int >(val2
);
36311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36312 (arg1
)->RemoveId(arg2
);
36313 wxPyEndAllowThreads(__tstate
);
36314 if (PyErr_Occurred()) SWIG_fail
;
36316 resultobj
= SWIG_Py_Void();
36323 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36324 PyObject
*resultobj
= 0;
36325 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36337 PyObject
* obj0
= 0 ;
36338 PyObject
* obj1
= 0 ;
36339 PyObject
* obj2
= 0 ;
36340 PyObject
* obj3
= 0 ;
36341 char * kwnames
[] = {
36342 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
36345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36347 if (!SWIG_IsOK(res1
)) {
36348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36350 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36352 if (!SWIG_IsOK(ecode2
)) {
36353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
36355 arg2
= static_cast< int >(val2
);
36356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36357 if (!SWIG_IsOK(ecode3
)) {
36358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
36360 arg3
= static_cast< int >(val3
);
36361 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36362 if (!SWIG_IsOK(ecode4
)) {
36363 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
36365 arg4
= static_cast< int >(val4
);
36367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36368 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
36369 wxPyEndAllowThreads(__tstate
);
36370 if (PyErr_Occurred()) SWIG_fail
;
36372 resultobj
= SWIG_Py_Void();
36379 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36380 PyObject
*resultobj
= 0;
36381 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36383 bool arg3
= (bool) true ;
36390 PyObject
* obj0
= 0 ;
36391 PyObject
* obj1
= 0 ;
36392 PyObject
* obj2
= 0 ;
36393 char * kwnames
[] = {
36394 (char *) "self",(char *) "id",(char *) "greyout", NULL
36397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36399 if (!SWIG_IsOK(res1
)) {
36400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36402 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36404 if (!SWIG_IsOK(ecode2
)) {
36405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36407 arg2
= static_cast< int >(val2
);
36409 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36410 if (!SWIG_IsOK(ecode3
)) {
36411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
36413 arg3
= static_cast< bool >(val3
);
36416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36417 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
36418 wxPyEndAllowThreads(__tstate
);
36419 if (PyErr_Occurred()) SWIG_fail
;
36421 resultobj
= SWIG_Py_Void();
36428 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36429 PyObject
*resultobj
= 0;
36430 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36437 PyObject
* obj0
= 0 ;
36438 PyObject
* obj1
= 0 ;
36439 char * kwnames
[] = {
36440 (char *) "self",(char *) "id", NULL
36443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36445 if (!SWIG_IsOK(res1
)) {
36446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36448 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36450 if (!SWIG_IsOK(ecode2
)) {
36451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
36453 arg2
= static_cast< int >(val2
);
36455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36456 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
36457 wxPyEndAllowThreads(__tstate
);
36458 if (PyErr_Occurred()) SWIG_fail
;
36461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36469 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36470 PyObject
*resultobj
= 0;
36471 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36474 int arg4
= (int) 1 ;
36475 wxColour
const &arg5_defvalue
= *wxWHITE
;
36476 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
36477 PyObject
*result
= 0 ;
36487 PyObject
* obj0
= 0 ;
36488 PyObject
* obj1
= 0 ;
36489 PyObject
* obj2
= 0 ;
36490 PyObject
* obj3
= 0 ;
36491 PyObject
* obj4
= 0 ;
36492 char * kwnames
[] = {
36493 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
36496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36498 if (!SWIG_IsOK(res1
)) {
36499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36501 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36503 if (!SWIG_IsOK(ecode2
)) {
36504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
36506 arg2
= static_cast< int >(val2
);
36507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36508 if (!SWIG_IsOK(ecode3
)) {
36509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
36511 arg3
= static_cast< int >(val3
);
36513 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36514 if (!SWIG_IsOK(ecode4
)) {
36515 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
36517 arg4
= static_cast< int >(val4
);
36522 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
36526 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColour
const &)*arg5
);
36527 if (PyErr_Occurred()) SWIG_fail
;
36529 resultobj
= result
;
36536 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36537 PyObject
*resultobj
= 0;
36538 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36541 PyObject
*result
= 0 ;
36548 PyObject
* obj0
= 0 ;
36549 PyObject
* obj1
= 0 ;
36550 PyObject
* obj2
= 0 ;
36551 char * kwnames
[] = {
36552 (char *) "self",(char *) "x",(char *) "y", NULL
36555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36557 if (!SWIG_IsOK(res1
)) {
36558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36560 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36562 if (!SWIG_IsOK(ecode2
)) {
36563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
36565 arg2
= static_cast< int >(val2
);
36566 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36567 if (!SWIG_IsOK(ecode3
)) {
36568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
36570 arg3
= static_cast< int >(val3
);
36572 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
36573 if (PyErr_Occurred()) SWIG_fail
;
36575 resultobj
= result
;
36582 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36583 PyObject
*resultobj
= 0;
36584 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36586 wxDC
*arg3
= (wxDC
*) 0 ;
36593 PyObject
* obj0
= 0 ;
36594 PyObject
* obj1
= 0 ;
36595 PyObject
* obj2
= 0 ;
36596 char * kwnames
[] = {
36597 (char *) "self",(char *) "id",(char *) "dc", NULL
36600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36602 if (!SWIG_IsOK(res1
)) {
36603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36605 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36607 if (!SWIG_IsOK(ecode2
)) {
36608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
36610 arg2
= static_cast< int >(val2
);
36611 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
36612 if (!SWIG_IsOK(res3
)) {
36613 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
36615 arg3
= reinterpret_cast< wxDC
* >(argp3
);
36617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36618 (arg1
)->DrawIdToDC(arg2
,arg3
);
36619 wxPyEndAllowThreads(__tstate
);
36620 if (PyErr_Occurred()) SWIG_fail
;
36622 resultobj
= SWIG_Py_Void();
36629 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36630 PyObject
*resultobj
= 0;
36631 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36639 PyObject
* obj0
= 0 ;
36640 PyObject
* obj1
= 0 ;
36641 PyObject
* obj2
= 0 ;
36642 char * kwnames
[] = {
36643 (char *) "self",(char *) "id",(char *) "rect", NULL
36646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36648 if (!SWIG_IsOK(res1
)) {
36649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36651 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36653 if (!SWIG_IsOK(ecode2
)) {
36654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
36656 arg2
= static_cast< int >(val2
);
36659 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36663 (arg1
)->SetIdBounds(arg2
,*arg3
);
36664 wxPyEndAllowThreads(__tstate
);
36665 if (PyErr_Occurred()) SWIG_fail
;
36667 resultobj
= SWIG_Py_Void();
36674 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36675 PyObject
*resultobj
= 0;
36676 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36683 PyObject
* obj0
= 0 ;
36684 PyObject
* obj1
= 0 ;
36685 char * kwnames
[] = {
36686 (char *) "self",(char *) "id", NULL
36689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36691 if (!SWIG_IsOK(res1
)) {
36692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36694 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36696 if (!SWIG_IsOK(ecode2
)) {
36697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36699 arg2
= static_cast< int >(val2
);
36701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36702 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36703 wxPyEndAllowThreads(__tstate
);
36704 if (PyErr_Occurred()) SWIG_fail
;
36706 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36713 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36714 PyObject
*resultobj
= 0;
36715 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36716 wxDC
*arg2
= (wxDC
*) 0 ;
36723 PyObject
* obj0
= 0 ;
36724 PyObject
* obj1
= 0 ;
36725 PyObject
* obj2
= 0 ;
36726 char * kwnames
[] = {
36727 (char *) "self",(char *) "dc",(char *) "rect", NULL
36730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36732 if (!SWIG_IsOK(res1
)) {
36733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36735 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36736 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36737 if (!SWIG_IsOK(res2
)) {
36738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36740 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36743 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36747 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36748 wxPyEndAllowThreads(__tstate
);
36749 if (PyErr_Occurred()) SWIG_fail
;
36751 resultobj
= SWIG_Py_Void();
36758 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36759 PyObject
*resultobj
= 0;
36760 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36761 wxDC
*arg2
= (wxDC
*) 0 ;
36762 wxRegion
*arg3
= 0 ;
36769 PyObject
* obj0
= 0 ;
36770 PyObject
* obj1
= 0 ;
36771 PyObject
* obj2
= 0 ;
36772 char * kwnames
[] = {
36773 (char *) "self",(char *) "dc",(char *) "region", NULL
36776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36778 if (!SWIG_IsOK(res1
)) {
36779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36781 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36782 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36783 if (!SWIG_IsOK(res2
)) {
36784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36786 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36787 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36788 if (!SWIG_IsOK(res3
)) {
36789 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36794 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36797 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36798 wxPyEndAllowThreads(__tstate
);
36799 if (PyErr_Occurred()) SWIG_fail
;
36801 resultobj
= SWIG_Py_Void();
36808 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36809 PyObject
*resultobj
= 0;
36810 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36811 wxDC
*arg2
= (wxDC
*) 0 ;
36816 PyObject
* obj0
= 0 ;
36817 PyObject
* obj1
= 0 ;
36818 char * kwnames
[] = {
36819 (char *) "self",(char *) "dc", NULL
36822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36824 if (!SWIG_IsOK(res1
)) {
36825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36827 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36828 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36829 if (!SWIG_IsOK(res2
)) {
36830 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36832 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36835 (arg1
)->DrawToDC(arg2
);
36836 wxPyEndAllowThreads(__tstate
);
36837 if (PyErr_Occurred()) SWIG_fail
;
36839 resultobj
= SWIG_Py_Void();
36846 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36847 PyObject
*resultobj
= 0;
36848 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36851 wxColour
*arg4
= 0 ;
36852 int arg5
= (int) wxFLOOD_SURFACE
;
36862 PyObject
* obj0
= 0 ;
36863 PyObject
* obj1
= 0 ;
36864 PyObject
* obj2
= 0 ;
36865 PyObject
* obj3
= 0 ;
36866 PyObject
* obj4
= 0 ;
36867 char * kwnames
[] = {
36868 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36873 if (!SWIG_IsOK(res1
)) {
36874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36876 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36878 if (!SWIG_IsOK(ecode2
)) {
36879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36881 arg2
= static_cast< int >(val2
);
36882 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36883 if (!SWIG_IsOK(ecode3
)) {
36884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36886 arg3
= static_cast< int >(val3
);
36889 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36892 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36893 if (!SWIG_IsOK(ecode5
)) {
36894 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36896 arg5
= static_cast< int >(val5
);
36899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36900 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36901 wxPyEndAllowThreads(__tstate
);
36902 if (PyErr_Occurred()) SWIG_fail
;
36904 resultobj
= SWIG_Py_Void();
36911 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36912 PyObject
*resultobj
= 0;
36913 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36914 wxPoint
*arg2
= 0 ;
36915 wxColour
*arg3
= 0 ;
36916 int arg4
= (int) wxFLOOD_SURFACE
;
36923 PyObject
* obj0
= 0 ;
36924 PyObject
* obj1
= 0 ;
36925 PyObject
* obj2
= 0 ;
36926 PyObject
* obj3
= 0 ;
36927 char * kwnames
[] = {
36928 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36933 if (!SWIG_IsOK(res1
)) {
36934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36936 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36939 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36943 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36946 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36947 if (!SWIG_IsOK(ecode4
)) {
36948 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36950 arg4
= static_cast< int >(val4
);
36953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36954 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36955 wxPyEndAllowThreads(__tstate
);
36956 if (PyErr_Occurred()) SWIG_fail
;
36958 resultobj
= SWIG_Py_Void();
36965 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36966 PyObject
*resultobj
= 0;
36967 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36982 PyObject
* obj0
= 0 ;
36983 PyObject
* obj1
= 0 ;
36984 PyObject
* obj2
= 0 ;
36985 PyObject
* obj3
= 0 ;
36986 PyObject
* obj4
= 0 ;
36987 char * kwnames
[] = {
36988 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36993 if (!SWIG_IsOK(res1
)) {
36994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36996 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36998 if (!SWIG_IsOK(ecode2
)) {
36999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
37001 arg2
= static_cast< int >(val2
);
37002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37003 if (!SWIG_IsOK(ecode3
)) {
37004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
37006 arg3
= static_cast< int >(val3
);
37007 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37008 if (!SWIG_IsOK(ecode4
)) {
37009 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
37011 arg4
= static_cast< int >(val4
);
37012 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37013 if (!SWIG_IsOK(ecode5
)) {
37014 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
37016 arg5
= static_cast< int >(val5
);
37018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37019 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
37020 wxPyEndAllowThreads(__tstate
);
37021 if (PyErr_Occurred()) SWIG_fail
;
37023 resultobj
= SWIG_Py_Void();
37030 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37031 PyObject
*resultobj
= 0;
37032 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37033 wxPoint
*arg2
= 0 ;
37034 wxPoint
*arg3
= 0 ;
37039 PyObject
* obj0
= 0 ;
37040 PyObject
* obj1
= 0 ;
37041 PyObject
* obj2
= 0 ;
37042 char * kwnames
[] = {
37043 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
37046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37048 if (!SWIG_IsOK(res1
)) {
37049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37051 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37054 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37058 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37062 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
37063 wxPyEndAllowThreads(__tstate
);
37064 if (PyErr_Occurred()) SWIG_fail
;
37066 resultobj
= SWIG_Py_Void();
37073 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37074 PyObject
*resultobj
= 0;
37075 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37084 PyObject
* obj0
= 0 ;
37085 PyObject
* obj1
= 0 ;
37086 PyObject
* obj2
= 0 ;
37087 char * kwnames
[] = {
37088 (char *) "self",(char *) "x",(char *) "y", NULL
37091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37093 if (!SWIG_IsOK(res1
)) {
37094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37096 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37098 if (!SWIG_IsOK(ecode2
)) {
37099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
37101 arg2
= static_cast< int >(val2
);
37102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37103 if (!SWIG_IsOK(ecode3
)) {
37104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
37106 arg3
= static_cast< int >(val3
);
37108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37109 (arg1
)->CrossHair(arg2
,arg3
);
37110 wxPyEndAllowThreads(__tstate
);
37111 if (PyErr_Occurred()) SWIG_fail
;
37113 resultobj
= SWIG_Py_Void();
37120 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37121 PyObject
*resultobj
= 0;
37122 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37123 wxPoint
*arg2
= 0 ;
37127 PyObject
* obj0
= 0 ;
37128 PyObject
* obj1
= 0 ;
37129 char * kwnames
[] = {
37130 (char *) "self",(char *) "pt", NULL
37133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37135 if (!SWIG_IsOK(res1
)) {
37136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37138 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37141 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37145 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
37146 wxPyEndAllowThreads(__tstate
);
37147 if (PyErr_Occurred()) SWIG_fail
;
37149 resultobj
= SWIG_Py_Void();
37156 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37157 PyObject
*resultobj
= 0;
37158 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37179 PyObject
* obj0
= 0 ;
37180 PyObject
* obj1
= 0 ;
37181 PyObject
* obj2
= 0 ;
37182 PyObject
* obj3
= 0 ;
37183 PyObject
* obj4
= 0 ;
37184 PyObject
* obj5
= 0 ;
37185 PyObject
* obj6
= 0 ;
37186 char * kwnames
[] = {
37187 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
37190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37192 if (!SWIG_IsOK(res1
)) {
37193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37195 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37197 if (!SWIG_IsOK(ecode2
)) {
37198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
37200 arg2
= static_cast< int >(val2
);
37201 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37202 if (!SWIG_IsOK(ecode3
)) {
37203 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
37205 arg3
= static_cast< int >(val3
);
37206 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37207 if (!SWIG_IsOK(ecode4
)) {
37208 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
37210 arg4
= static_cast< int >(val4
);
37211 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37212 if (!SWIG_IsOK(ecode5
)) {
37213 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
37215 arg5
= static_cast< int >(val5
);
37216 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
37217 if (!SWIG_IsOK(ecode6
)) {
37218 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
37220 arg6
= static_cast< int >(val6
);
37221 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
37222 if (!SWIG_IsOK(ecode7
)) {
37223 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
37225 arg7
= static_cast< int >(val7
);
37227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37228 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37229 wxPyEndAllowThreads(__tstate
);
37230 if (PyErr_Occurred()) SWIG_fail
;
37232 resultobj
= SWIG_Py_Void();
37239 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37240 PyObject
*resultobj
= 0;
37241 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37242 wxPoint
*arg2
= 0 ;
37243 wxPoint
*arg3
= 0 ;
37244 wxPoint
*arg4
= 0 ;
37250 PyObject
* obj0
= 0 ;
37251 PyObject
* obj1
= 0 ;
37252 PyObject
* obj2
= 0 ;
37253 PyObject
* obj3
= 0 ;
37254 char * kwnames
[] = {
37255 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
37258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37260 if (!SWIG_IsOK(res1
)) {
37261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37263 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37266 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37270 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37274 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37278 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
37279 wxPyEndAllowThreads(__tstate
);
37280 if (PyErr_Occurred()) SWIG_fail
;
37282 resultobj
= SWIG_Py_Void();
37289 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37290 PyObject
*resultobj
= 0;
37291 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37306 PyObject
* obj0
= 0 ;
37307 PyObject
* obj1
= 0 ;
37308 PyObject
* obj2
= 0 ;
37309 PyObject
* obj3
= 0 ;
37310 PyObject
* obj4
= 0 ;
37311 char * kwnames
[] = {
37312 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37317 if (!SWIG_IsOK(res1
)) {
37318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37320 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37322 if (!SWIG_IsOK(ecode2
)) {
37323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
37325 arg2
= static_cast< int >(val2
);
37326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37327 if (!SWIG_IsOK(ecode3
)) {
37328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
37330 arg3
= static_cast< int >(val3
);
37331 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37332 if (!SWIG_IsOK(ecode4
)) {
37333 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
37335 arg4
= static_cast< int >(val4
);
37336 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37337 if (!SWIG_IsOK(ecode5
)) {
37338 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
37340 arg5
= static_cast< int >(val5
);
37342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37343 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
37344 wxPyEndAllowThreads(__tstate
);
37345 if (PyErr_Occurred()) SWIG_fail
;
37347 resultobj
= SWIG_Py_Void();
37354 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37355 PyObject
*resultobj
= 0;
37356 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37361 PyObject
* obj0
= 0 ;
37362 PyObject
* obj1
= 0 ;
37363 char * kwnames
[] = {
37364 (char *) "self",(char *) "rect", NULL
37367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37369 if (!SWIG_IsOK(res1
)) {
37370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37372 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37375 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37379 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
37380 wxPyEndAllowThreads(__tstate
);
37381 if (PyErr_Occurred()) SWIG_fail
;
37383 resultobj
= SWIG_Py_Void();
37390 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37391 PyObject
*resultobj
= 0;
37392 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37413 PyObject
* obj0
= 0 ;
37414 PyObject
* obj1
= 0 ;
37415 PyObject
* obj2
= 0 ;
37416 PyObject
* obj3
= 0 ;
37417 PyObject
* obj4
= 0 ;
37418 PyObject
* obj5
= 0 ;
37419 PyObject
* obj6
= 0 ;
37420 char * kwnames
[] = {
37421 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
37424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
37425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37426 if (!SWIG_IsOK(res1
)) {
37427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37429 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37431 if (!SWIG_IsOK(ecode2
)) {
37432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
37434 arg2
= static_cast< int >(val2
);
37435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37436 if (!SWIG_IsOK(ecode3
)) {
37437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
37439 arg3
= static_cast< int >(val3
);
37440 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37441 if (!SWIG_IsOK(ecode4
)) {
37442 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
37444 arg4
= static_cast< int >(val4
);
37445 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37446 if (!SWIG_IsOK(ecode5
)) {
37447 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
37449 arg5
= static_cast< int >(val5
);
37450 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37451 if (!SWIG_IsOK(ecode6
)) {
37452 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
37454 arg6
= static_cast< double >(val6
);
37455 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
37456 if (!SWIG_IsOK(ecode7
)) {
37457 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
37459 arg7
= static_cast< double >(val7
);
37461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37462 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
37463 wxPyEndAllowThreads(__tstate
);
37464 if (PyErr_Occurred()) SWIG_fail
;
37466 resultobj
= SWIG_Py_Void();
37473 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37474 PyObject
*resultobj
= 0;
37475 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37476 wxPoint
*arg2
= 0 ;
37488 PyObject
* obj0
= 0 ;
37489 PyObject
* obj1
= 0 ;
37490 PyObject
* obj2
= 0 ;
37491 PyObject
* obj3
= 0 ;
37492 PyObject
* obj4
= 0 ;
37493 char * kwnames
[] = {
37494 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
37497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37499 if (!SWIG_IsOK(res1
)) {
37500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37502 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37505 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37509 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37511 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37512 if (!SWIG_IsOK(ecode4
)) {
37513 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
37515 arg4
= static_cast< double >(val4
);
37516 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37517 if (!SWIG_IsOK(ecode5
)) {
37518 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
37520 arg5
= static_cast< double >(val5
);
37522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37523 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
37524 wxPyEndAllowThreads(__tstate
);
37525 if (PyErr_Occurred()) SWIG_fail
;
37527 resultobj
= SWIG_Py_Void();
37534 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37535 PyObject
*resultobj
= 0;
37536 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37545 PyObject
* obj0
= 0 ;
37546 PyObject
* obj1
= 0 ;
37547 PyObject
* obj2
= 0 ;
37548 char * kwnames
[] = {
37549 (char *) "self",(char *) "x",(char *) "y", NULL
37552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37554 if (!SWIG_IsOK(res1
)) {
37555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37557 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37559 if (!SWIG_IsOK(ecode2
)) {
37560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
37562 arg2
= static_cast< int >(val2
);
37563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37564 if (!SWIG_IsOK(ecode3
)) {
37565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
37567 arg3
= static_cast< int >(val3
);
37569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37570 (arg1
)->DrawPoint(arg2
,arg3
);
37571 wxPyEndAllowThreads(__tstate
);
37572 if (PyErr_Occurred()) SWIG_fail
;
37574 resultobj
= SWIG_Py_Void();
37581 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37582 PyObject
*resultobj
= 0;
37583 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37584 wxPoint
*arg2
= 0 ;
37588 PyObject
* obj0
= 0 ;
37589 PyObject
* obj1
= 0 ;
37590 char * kwnames
[] = {
37591 (char *) "self",(char *) "pt", NULL
37594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37596 if (!SWIG_IsOK(res1
)) {
37597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37599 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37602 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37606 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
37607 wxPyEndAllowThreads(__tstate
);
37608 if (PyErr_Occurred()) SWIG_fail
;
37610 resultobj
= SWIG_Py_Void();
37617 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37618 PyObject
*resultobj
= 0;
37619 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37634 PyObject
* obj0
= 0 ;
37635 PyObject
* obj1
= 0 ;
37636 PyObject
* obj2
= 0 ;
37637 PyObject
* obj3
= 0 ;
37638 PyObject
* obj4
= 0 ;
37639 char * kwnames
[] = {
37640 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37645 if (!SWIG_IsOK(res1
)) {
37646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37648 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37650 if (!SWIG_IsOK(ecode2
)) {
37651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
37653 arg2
= static_cast< int >(val2
);
37654 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37655 if (!SWIG_IsOK(ecode3
)) {
37656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
37658 arg3
= static_cast< int >(val3
);
37659 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37660 if (!SWIG_IsOK(ecode4
)) {
37661 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
37663 arg4
= static_cast< int >(val4
);
37664 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37665 if (!SWIG_IsOK(ecode5
)) {
37666 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
37668 arg5
= static_cast< int >(val5
);
37670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37671 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
37672 wxPyEndAllowThreads(__tstate
);
37673 if (PyErr_Occurred()) SWIG_fail
;
37675 resultobj
= SWIG_Py_Void();
37682 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37683 PyObject
*resultobj
= 0;
37684 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37689 PyObject
* obj0
= 0 ;
37690 PyObject
* obj1
= 0 ;
37691 char * kwnames
[] = {
37692 (char *) "self",(char *) "rect", NULL
37695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37697 if (!SWIG_IsOK(res1
)) {
37698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37700 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37703 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37707 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37708 wxPyEndAllowThreads(__tstate
);
37709 if (PyErr_Occurred()) SWIG_fail
;
37711 resultobj
= SWIG_Py_Void();
37718 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37719 PyObject
*resultobj
= 0;
37720 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37721 wxPoint
*arg2
= 0 ;
37727 PyObject
* obj0
= 0 ;
37728 PyObject
* obj1
= 0 ;
37729 PyObject
* obj2
= 0 ;
37730 char * kwnames
[] = {
37731 (char *) "self",(char *) "pt",(char *) "sz", NULL
37734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37736 if (!SWIG_IsOK(res1
)) {
37737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37739 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37742 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37746 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37750 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37751 wxPyEndAllowThreads(__tstate
);
37752 if (PyErr_Occurred()) SWIG_fail
;
37754 resultobj
= SWIG_Py_Void();
37761 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37762 PyObject
*resultobj
= 0;
37763 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37781 PyObject
* obj0
= 0 ;
37782 PyObject
* obj1
= 0 ;
37783 PyObject
* obj2
= 0 ;
37784 PyObject
* obj3
= 0 ;
37785 PyObject
* obj4
= 0 ;
37786 PyObject
* obj5
= 0 ;
37787 char * kwnames
[] = {
37788 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37793 if (!SWIG_IsOK(res1
)) {
37794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37796 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37798 if (!SWIG_IsOK(ecode2
)) {
37799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37801 arg2
= static_cast< int >(val2
);
37802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37803 if (!SWIG_IsOK(ecode3
)) {
37804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37806 arg3
= static_cast< int >(val3
);
37807 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37808 if (!SWIG_IsOK(ecode4
)) {
37809 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37811 arg4
= static_cast< int >(val4
);
37812 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37813 if (!SWIG_IsOK(ecode5
)) {
37814 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37816 arg5
= static_cast< int >(val5
);
37817 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37818 if (!SWIG_IsOK(ecode6
)) {
37819 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37821 arg6
= static_cast< double >(val6
);
37823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37824 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37825 wxPyEndAllowThreads(__tstate
);
37826 if (PyErr_Occurred()) SWIG_fail
;
37828 resultobj
= SWIG_Py_Void();
37835 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37836 PyObject
*resultobj
= 0;
37837 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37845 PyObject
* obj0
= 0 ;
37846 PyObject
* obj1
= 0 ;
37847 PyObject
* obj2
= 0 ;
37848 char * kwnames
[] = {
37849 (char *) "self",(char *) "r",(char *) "radius", NULL
37852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37854 if (!SWIG_IsOK(res1
)) {
37855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37857 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37860 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37862 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37863 if (!SWIG_IsOK(ecode3
)) {
37864 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37866 arg3
= static_cast< double >(val3
);
37868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37869 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37870 wxPyEndAllowThreads(__tstate
);
37871 if (PyErr_Occurred()) SWIG_fail
;
37873 resultobj
= SWIG_Py_Void();
37880 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37881 PyObject
*resultobj
= 0;
37882 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37883 wxPoint
*arg2
= 0 ;
37892 PyObject
* obj0
= 0 ;
37893 PyObject
* obj1
= 0 ;
37894 PyObject
* obj2
= 0 ;
37895 PyObject
* obj3
= 0 ;
37896 char * kwnames
[] = {
37897 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37902 if (!SWIG_IsOK(res1
)) {
37903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37905 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37908 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37912 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37914 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37915 if (!SWIG_IsOK(ecode4
)) {
37916 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37918 arg4
= static_cast< double >(val4
);
37920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37921 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37922 wxPyEndAllowThreads(__tstate
);
37923 if (PyErr_Occurred()) SWIG_fail
;
37925 resultobj
= SWIG_Py_Void();
37932 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37933 PyObject
*resultobj
= 0;
37934 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37946 PyObject
* obj0
= 0 ;
37947 PyObject
* obj1
= 0 ;
37948 PyObject
* obj2
= 0 ;
37949 PyObject
* obj3
= 0 ;
37950 char * kwnames
[] = {
37951 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37956 if (!SWIG_IsOK(res1
)) {
37957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37959 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37961 if (!SWIG_IsOK(ecode2
)) {
37962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37964 arg2
= static_cast< int >(val2
);
37965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37966 if (!SWIG_IsOK(ecode3
)) {
37967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37969 arg3
= static_cast< int >(val3
);
37970 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37971 if (!SWIG_IsOK(ecode4
)) {
37972 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37974 arg4
= static_cast< int >(val4
);
37976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37977 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37978 wxPyEndAllowThreads(__tstate
);
37979 if (PyErr_Occurred()) SWIG_fail
;
37981 resultobj
= SWIG_Py_Void();
37988 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37989 PyObject
*resultobj
= 0;
37990 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37991 wxPoint
*arg2
= 0 ;
37998 PyObject
* obj0
= 0 ;
37999 PyObject
* obj1
= 0 ;
38000 PyObject
* obj2
= 0 ;
38001 char * kwnames
[] = {
38002 (char *) "self",(char *) "pt",(char *) "radius", NULL
38005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38007 if (!SWIG_IsOK(res1
)) {
38008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38010 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38013 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38016 if (!SWIG_IsOK(ecode3
)) {
38017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
38019 arg3
= static_cast< int >(val3
);
38021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38022 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
38023 wxPyEndAllowThreads(__tstate
);
38024 if (PyErr_Occurred()) SWIG_fail
;
38026 resultobj
= SWIG_Py_Void();
38033 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38034 PyObject
*resultobj
= 0;
38035 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38050 PyObject
* obj0
= 0 ;
38051 PyObject
* obj1
= 0 ;
38052 PyObject
* obj2
= 0 ;
38053 PyObject
* obj3
= 0 ;
38054 PyObject
* obj4
= 0 ;
38055 char * kwnames
[] = {
38056 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38061 if (!SWIG_IsOK(res1
)) {
38062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38064 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38066 if (!SWIG_IsOK(ecode2
)) {
38067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
38069 arg2
= static_cast< int >(val2
);
38070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38071 if (!SWIG_IsOK(ecode3
)) {
38072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
38074 arg3
= static_cast< int >(val3
);
38075 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38076 if (!SWIG_IsOK(ecode4
)) {
38077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
38079 arg4
= static_cast< int >(val4
);
38080 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38081 if (!SWIG_IsOK(ecode5
)) {
38082 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
38084 arg5
= static_cast< int >(val5
);
38086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38087 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
38088 wxPyEndAllowThreads(__tstate
);
38089 if (PyErr_Occurred()) SWIG_fail
;
38091 resultobj
= SWIG_Py_Void();
38098 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38099 PyObject
*resultobj
= 0;
38100 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38105 PyObject
* obj0
= 0 ;
38106 PyObject
* obj1
= 0 ;
38107 char * kwnames
[] = {
38108 (char *) "self",(char *) "rect", NULL
38111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38113 if (!SWIG_IsOK(res1
)) {
38114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38116 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38119 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
38122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38123 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
38124 wxPyEndAllowThreads(__tstate
);
38125 if (PyErr_Occurred()) SWIG_fail
;
38127 resultobj
= SWIG_Py_Void();
38134 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38135 PyObject
*resultobj
= 0;
38136 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38137 wxPoint
*arg2
= 0 ;
38143 PyObject
* obj0
= 0 ;
38144 PyObject
* obj1
= 0 ;
38145 PyObject
* obj2
= 0 ;
38146 char * kwnames
[] = {
38147 (char *) "self",(char *) "pt",(char *) "sz", NULL
38150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38152 if (!SWIG_IsOK(res1
)) {
38153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38155 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38158 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38162 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
38165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38166 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
38167 wxPyEndAllowThreads(__tstate
);
38168 if (PyErr_Occurred()) SWIG_fail
;
38170 resultobj
= SWIG_Py_Void();
38177 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38178 PyObject
*resultobj
= 0;
38179 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38191 PyObject
* obj0
= 0 ;
38192 PyObject
* obj1
= 0 ;
38193 PyObject
* obj2
= 0 ;
38194 PyObject
* obj3
= 0 ;
38195 char * kwnames
[] = {
38196 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
38199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38201 if (!SWIG_IsOK(res1
)) {
38202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38204 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38205 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38206 if (!SWIG_IsOK(res2
)) {
38207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
38212 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38214 if (!SWIG_IsOK(ecode3
)) {
38215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
38217 arg3
= static_cast< int >(val3
);
38218 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38219 if (!SWIG_IsOK(ecode4
)) {
38220 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
38222 arg4
= static_cast< int >(val4
);
38224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38225 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
38226 wxPyEndAllowThreads(__tstate
);
38227 if (PyErr_Occurred()) SWIG_fail
;
38229 resultobj
= SWIG_Py_Void();
38236 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38237 PyObject
*resultobj
= 0;
38238 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38240 wxPoint
*arg3
= 0 ;
38246 PyObject
* obj0
= 0 ;
38247 PyObject
* obj1
= 0 ;
38248 PyObject
* obj2
= 0 ;
38249 char * kwnames
[] = {
38250 (char *) "self",(char *) "icon",(char *) "pt", NULL
38253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38255 if (!SWIG_IsOK(res1
)) {
38256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38258 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38259 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
38260 if (!SWIG_IsOK(res2
)) {
38261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
38266 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
38269 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38273 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
38274 wxPyEndAllowThreads(__tstate
);
38275 if (PyErr_Occurred()) SWIG_fail
;
38277 resultobj
= SWIG_Py_Void();
38284 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38285 PyObject
*resultobj
= 0;
38286 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38287 wxBitmap
*arg2
= 0 ;
38290 bool arg5
= (bool) false ;
38301 PyObject
* obj0
= 0 ;
38302 PyObject
* obj1
= 0 ;
38303 PyObject
* obj2
= 0 ;
38304 PyObject
* obj3
= 0 ;
38305 PyObject
* obj4
= 0 ;
38306 char * kwnames
[] = {
38307 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
38310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38312 if (!SWIG_IsOK(res1
)) {
38313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38315 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38316 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38317 if (!SWIG_IsOK(res2
)) {
38318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38323 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38324 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38325 if (!SWIG_IsOK(ecode3
)) {
38326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
38328 arg3
= static_cast< int >(val3
);
38329 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38330 if (!SWIG_IsOK(ecode4
)) {
38331 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
38333 arg4
= static_cast< int >(val4
);
38335 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
38336 if (!SWIG_IsOK(ecode5
)) {
38337 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
38339 arg5
= static_cast< bool >(val5
);
38342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38343 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
38344 wxPyEndAllowThreads(__tstate
);
38345 if (PyErr_Occurred()) SWIG_fail
;
38347 resultobj
= SWIG_Py_Void();
38354 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38355 PyObject
*resultobj
= 0;
38356 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38357 wxBitmap
*arg2
= 0 ;
38358 wxPoint
*arg3
= 0 ;
38359 bool arg4
= (bool) false ;
38367 PyObject
* obj0
= 0 ;
38368 PyObject
* obj1
= 0 ;
38369 PyObject
* obj2
= 0 ;
38370 PyObject
* obj3
= 0 ;
38371 char * kwnames
[] = {
38372 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
38375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38377 if (!SWIG_IsOK(res1
)) {
38378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38380 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38381 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38382 if (!SWIG_IsOK(res2
)) {
38383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38386 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
38388 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
38391 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38394 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
38395 if (!SWIG_IsOK(ecode4
)) {
38396 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
38398 arg4
= static_cast< bool >(val4
);
38401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38402 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38403 wxPyEndAllowThreads(__tstate
);
38404 if (PyErr_Occurred()) SWIG_fail
;
38406 resultobj
= SWIG_Py_Void();
38413 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38414 PyObject
*resultobj
= 0;
38415 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38416 wxString
*arg2
= 0 ;
38421 bool temp2
= false ;
38426 PyObject
* obj0
= 0 ;
38427 PyObject
* obj1
= 0 ;
38428 PyObject
* obj2
= 0 ;
38429 PyObject
* obj3
= 0 ;
38430 char * kwnames
[] = {
38431 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
38434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38436 if (!SWIG_IsOK(res1
)) {
38437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38439 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38441 arg2
= wxString_in_helper(obj1
);
38442 if (arg2
== NULL
) SWIG_fail
;
38445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38446 if (!SWIG_IsOK(ecode3
)) {
38447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
38449 arg3
= static_cast< int >(val3
);
38450 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38451 if (!SWIG_IsOK(ecode4
)) {
38452 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
38454 arg4
= static_cast< int >(val4
);
38456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38457 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
38458 wxPyEndAllowThreads(__tstate
);
38459 if (PyErr_Occurred()) SWIG_fail
;
38461 resultobj
= SWIG_Py_Void();
38476 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38477 PyObject
*resultobj
= 0;
38478 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38479 wxString
*arg2
= 0 ;
38480 wxPoint
*arg3
= 0 ;
38483 bool temp2
= false ;
38485 PyObject
* obj0
= 0 ;
38486 PyObject
* obj1
= 0 ;
38487 PyObject
* obj2
= 0 ;
38488 char * kwnames
[] = {
38489 (char *) "self",(char *) "text",(char *) "pt", NULL
38492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38494 if (!SWIG_IsOK(res1
)) {
38495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38497 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38499 arg2
= wxString_in_helper(obj1
);
38500 if (arg2
== NULL
) SWIG_fail
;
38505 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38509 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
38510 wxPyEndAllowThreads(__tstate
);
38511 if (PyErr_Occurred()) SWIG_fail
;
38513 resultobj
= SWIG_Py_Void();
38528 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38529 PyObject
*resultobj
= 0;
38530 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38531 wxString
*arg2
= 0 ;
38537 bool temp2
= false ;
38544 PyObject
* obj0
= 0 ;
38545 PyObject
* obj1
= 0 ;
38546 PyObject
* obj2
= 0 ;
38547 PyObject
* obj3
= 0 ;
38548 PyObject
* obj4
= 0 ;
38549 char * kwnames
[] = {
38550 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
38553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38555 if (!SWIG_IsOK(res1
)) {
38556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38558 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38560 arg2
= wxString_in_helper(obj1
);
38561 if (arg2
== NULL
) SWIG_fail
;
38564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38565 if (!SWIG_IsOK(ecode3
)) {
38566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
38568 arg3
= static_cast< int >(val3
);
38569 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38570 if (!SWIG_IsOK(ecode4
)) {
38571 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
38573 arg4
= static_cast< int >(val4
);
38574 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
38575 if (!SWIG_IsOK(ecode5
)) {
38576 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
38578 arg5
= static_cast< double >(val5
);
38580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38581 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
38582 wxPyEndAllowThreads(__tstate
);
38583 if (PyErr_Occurred()) SWIG_fail
;
38585 resultobj
= SWIG_Py_Void();
38600 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38601 PyObject
*resultobj
= 0;
38602 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38603 wxString
*arg2
= 0 ;
38604 wxPoint
*arg3
= 0 ;
38608 bool temp2
= false ;
38612 PyObject
* obj0
= 0 ;
38613 PyObject
* obj1
= 0 ;
38614 PyObject
* obj2
= 0 ;
38615 PyObject
* obj3
= 0 ;
38616 char * kwnames
[] = {
38617 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
38620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38622 if (!SWIG_IsOK(res1
)) {
38623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38625 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38627 arg2
= wxString_in_helper(obj1
);
38628 if (arg2
== NULL
) SWIG_fail
;
38633 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38635 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
38636 if (!SWIG_IsOK(ecode4
)) {
38637 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
38639 arg4
= static_cast< double >(val4
);
38641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38642 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
38643 wxPyEndAllowThreads(__tstate
);
38644 if (PyErr_Occurred()) SWIG_fail
;
38646 resultobj
= SWIG_Py_Void();
38661 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38662 PyObject
*resultobj
= 0;
38663 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38665 wxPoint
*arg3
= (wxPoint
*) 0 ;
38666 int arg4
= (int) 0 ;
38667 int arg5
= (int) 0 ;
38674 PyObject
* obj0
= 0 ;
38675 PyObject
* obj1
= 0 ;
38676 PyObject
* obj2
= 0 ;
38677 PyObject
* obj3
= 0 ;
38678 char * kwnames
[] = {
38679 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
38682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38684 if (!SWIG_IsOK(res1
)) {
38685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38687 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38689 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38690 if (arg3
== NULL
) SWIG_fail
;
38693 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38694 if (!SWIG_IsOK(ecode4
)) {
38695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38697 arg4
= static_cast< int >(val4
);
38700 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38701 if (!SWIG_IsOK(ecode5
)) {
38702 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38704 arg5
= static_cast< int >(val5
);
38707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38708 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38709 wxPyEndAllowThreads(__tstate
);
38710 if (PyErr_Occurred()) SWIG_fail
;
38712 resultobj
= SWIG_Py_Void();
38714 if (arg3
) delete [] arg3
;
38719 if (arg3
) delete [] arg3
;
38725 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38726 PyObject
*resultobj
= 0;
38727 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38729 wxPoint
*arg3
= (wxPoint
*) 0 ;
38730 int arg4
= (int) 0 ;
38731 int arg5
= (int) 0 ;
38732 int arg6
= (int) wxODDEVEN_RULE
;
38741 PyObject
* obj0
= 0 ;
38742 PyObject
* obj1
= 0 ;
38743 PyObject
* obj2
= 0 ;
38744 PyObject
* obj3
= 0 ;
38745 PyObject
* obj4
= 0 ;
38746 char * kwnames
[] = {
38747 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38752 if (!SWIG_IsOK(res1
)) {
38753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38755 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38757 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38758 if (arg3
== NULL
) SWIG_fail
;
38761 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38762 if (!SWIG_IsOK(ecode4
)) {
38763 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38765 arg4
= static_cast< int >(val4
);
38768 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38769 if (!SWIG_IsOK(ecode5
)) {
38770 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38772 arg5
= static_cast< int >(val5
);
38775 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38776 if (!SWIG_IsOK(ecode6
)) {
38777 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38779 arg6
= static_cast< int >(val6
);
38782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38783 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38784 wxPyEndAllowThreads(__tstate
);
38785 if (PyErr_Occurred()) SWIG_fail
;
38787 resultobj
= SWIG_Py_Void();
38789 if (arg3
) delete [] arg3
;
38794 if (arg3
) delete [] arg3
;
38800 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38801 PyObject
*resultobj
= 0;
38802 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38803 wxString
*arg2
= 0 ;
38805 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38806 int arg5
= (int) -1 ;
38809 bool temp2
= false ;
38815 PyObject
* obj0
= 0 ;
38816 PyObject
* obj1
= 0 ;
38817 PyObject
* obj2
= 0 ;
38818 PyObject
* obj3
= 0 ;
38819 PyObject
* obj4
= 0 ;
38820 char * kwnames
[] = {
38821 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38826 if (!SWIG_IsOK(res1
)) {
38827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38829 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38831 arg2
= wxString_in_helper(obj1
);
38832 if (arg2
== NULL
) SWIG_fail
;
38837 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38840 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38841 if (!SWIG_IsOK(ecode4
)) {
38842 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38844 arg4
= static_cast< int >(val4
);
38847 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38848 if (!SWIG_IsOK(ecode5
)) {
38849 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38851 arg5
= static_cast< int >(val5
);
38854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38855 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38856 wxPyEndAllowThreads(__tstate
);
38857 if (PyErr_Occurred()) SWIG_fail
;
38859 resultobj
= SWIG_Py_Void();
38874 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38875 PyObject
*resultobj
= 0;
38876 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38877 wxString
*arg2
= 0 ;
38878 wxBitmap
*arg3
= 0 ;
38880 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38881 int arg6
= (int) -1 ;
38884 bool temp2
= false ;
38892 PyObject
* obj0
= 0 ;
38893 PyObject
* obj1
= 0 ;
38894 PyObject
* obj2
= 0 ;
38895 PyObject
* obj3
= 0 ;
38896 PyObject
* obj4
= 0 ;
38897 PyObject
* obj5
= 0 ;
38898 char * kwnames
[] = {
38899 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38904 if (!SWIG_IsOK(res1
)) {
38905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38907 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38909 arg2
= wxString_in_helper(obj1
);
38910 if (arg2
== NULL
) SWIG_fail
;
38913 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38914 if (!SWIG_IsOK(res3
)) {
38915 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38920 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38923 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38926 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38927 if (!SWIG_IsOK(ecode5
)) {
38928 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38930 arg5
= static_cast< int >(val5
);
38933 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38934 if (!SWIG_IsOK(ecode6
)) {
38935 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38937 arg6
= static_cast< int >(val6
);
38940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38941 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38942 wxPyEndAllowThreads(__tstate
);
38943 if (PyErr_Occurred()) SWIG_fail
;
38945 resultobj
= SWIG_Py_Void();
38960 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38961 PyObject
*resultobj
= 0;
38962 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38964 wxPoint
*arg3
= (wxPoint
*) 0 ;
38967 PyObject
* obj0
= 0 ;
38968 PyObject
* obj1
= 0 ;
38969 char * kwnames
[] = {
38970 (char *) "self",(char *) "points", NULL
38973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38975 if (!SWIG_IsOK(res1
)) {
38976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38978 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38980 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38981 if (arg3
== NULL
) SWIG_fail
;
38984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38985 (arg1
)->DrawSpline(arg2
,arg3
);
38986 wxPyEndAllowThreads(__tstate
);
38987 if (PyErr_Occurred()) SWIG_fail
;
38989 resultobj
= SWIG_Py_Void();
38991 if (arg3
) delete [] arg3
;
38996 if (arg3
) delete [] arg3
;
39002 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39003 PyObject
*resultobj
= 0;
39004 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39007 PyObject
*swig_obj
[1] ;
39009 if (!args
) SWIG_fail
;
39010 swig_obj
[0] = args
;
39011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39012 if (!SWIG_IsOK(res1
)) {
39013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39015 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39019 wxPyEndAllowThreads(__tstate
);
39020 if (PyErr_Occurred()) SWIG_fail
;
39022 resultobj
= SWIG_Py_Void();
39029 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39030 PyObject
*resultobj
= 0;
39031 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39037 PyObject
* obj0
= 0 ;
39038 PyObject
* obj1
= 0 ;
39039 char * kwnames
[] = {
39040 (char *) "self",(char *) "font", NULL
39043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39045 if (!SWIG_IsOK(res1
)) {
39046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39048 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
39050 if (!SWIG_IsOK(res2
)) {
39051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
39056 arg2
= reinterpret_cast< wxFont
* >(argp2
);
39058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39059 (arg1
)->SetFont((wxFont
const &)*arg2
);
39060 wxPyEndAllowThreads(__tstate
);
39061 if (PyErr_Occurred()) SWIG_fail
;
39063 resultobj
= SWIG_Py_Void();
39070 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39071 PyObject
*resultobj
= 0;
39072 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39078 PyObject
* obj0
= 0 ;
39079 PyObject
* obj1
= 0 ;
39080 char * kwnames
[] = {
39081 (char *) "self",(char *) "pen", NULL
39084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39086 if (!SWIG_IsOK(res1
)) {
39087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39089 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39090 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
39091 if (!SWIG_IsOK(res2
)) {
39092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
39095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
39097 arg2
= reinterpret_cast< wxPen
* >(argp2
);
39099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39100 (arg1
)->SetPen((wxPen
const &)*arg2
);
39101 wxPyEndAllowThreads(__tstate
);
39102 if (PyErr_Occurred()) SWIG_fail
;
39104 resultobj
= SWIG_Py_Void();
39111 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39112 PyObject
*resultobj
= 0;
39113 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39114 wxBrush
*arg2
= 0 ;
39119 PyObject
* obj0
= 0 ;
39120 PyObject
* obj1
= 0 ;
39121 char * kwnames
[] = {
39122 (char *) "self",(char *) "brush", NULL
39125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39127 if (!SWIG_IsOK(res1
)) {
39128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39130 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39132 if (!SWIG_IsOK(res2
)) {
39133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
39136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
39138 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39141 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
39142 wxPyEndAllowThreads(__tstate
);
39143 if (PyErr_Occurred()) SWIG_fail
;
39145 resultobj
= SWIG_Py_Void();
39152 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39153 PyObject
*resultobj
= 0;
39154 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39155 wxBrush
*arg2
= 0 ;
39160 PyObject
* obj0
= 0 ;
39161 PyObject
* obj1
= 0 ;
39162 char * kwnames
[] = {
39163 (char *) "self",(char *) "brush", NULL
39166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39168 if (!SWIG_IsOK(res1
)) {
39169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39171 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39172 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
39173 if (!SWIG_IsOK(res2
)) {
39174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
39179 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
39181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39182 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
39183 wxPyEndAllowThreads(__tstate
);
39184 if (PyErr_Occurred()) SWIG_fail
;
39186 resultobj
= SWIG_Py_Void();
39193 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39194 PyObject
*resultobj
= 0;
39195 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39201 PyObject
* obj0
= 0 ;
39202 PyObject
* obj1
= 0 ;
39203 char * kwnames
[] = {
39204 (char *) "self",(char *) "mode", NULL
39207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39209 if (!SWIG_IsOK(res1
)) {
39210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39212 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39214 if (!SWIG_IsOK(ecode2
)) {
39215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
39217 arg2
= static_cast< int >(val2
);
39219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39220 (arg1
)->SetBackgroundMode(arg2
);
39221 wxPyEndAllowThreads(__tstate
);
39222 if (PyErr_Occurred()) SWIG_fail
;
39224 resultobj
= SWIG_Py_Void();
39231 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39232 PyObject
*resultobj
= 0;
39233 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39234 wxPalette
*arg2
= 0 ;
39239 PyObject
* obj0
= 0 ;
39240 PyObject
* obj1
= 0 ;
39241 char * kwnames
[] = {
39242 (char *) "self",(char *) "palette", NULL
39245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39247 if (!SWIG_IsOK(res1
)) {
39248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39250 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39251 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
39252 if (!SWIG_IsOK(res2
)) {
39253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
39258 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
39260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39261 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
39262 wxPyEndAllowThreads(__tstate
);
39263 if (PyErr_Occurred()) SWIG_fail
;
39265 resultobj
= SWIG_Py_Void();
39272 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39273 PyObject
*resultobj
= 0;
39274 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39275 wxColour
*arg2
= 0 ;
39279 PyObject
* obj0
= 0 ;
39280 PyObject
* obj1
= 0 ;
39281 char * kwnames
[] = {
39282 (char *) "self",(char *) "colour", NULL
39285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39287 if (!SWIG_IsOK(res1
)) {
39288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39290 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39293 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39297 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
39298 wxPyEndAllowThreads(__tstate
);
39299 if (PyErr_Occurred()) SWIG_fail
;
39301 resultobj
= SWIG_Py_Void();
39308 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39309 PyObject
*resultobj
= 0;
39310 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39311 wxColour
*arg2
= 0 ;
39315 PyObject
* obj0
= 0 ;
39316 PyObject
* obj1
= 0 ;
39317 char * kwnames
[] = {
39318 (char *) "self",(char *) "colour", NULL
39321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39323 if (!SWIG_IsOK(res1
)) {
39324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39326 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39329 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
39332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39333 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
39334 wxPyEndAllowThreads(__tstate
);
39335 if (PyErr_Occurred()) SWIG_fail
;
39337 resultobj
= SWIG_Py_Void();
39344 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39345 PyObject
*resultobj
= 0;
39346 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
39352 PyObject
* obj0
= 0 ;
39353 PyObject
* obj1
= 0 ;
39354 char * kwnames
[] = {
39355 (char *) "self",(char *) "function", NULL
39358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
39360 if (!SWIG_IsOK(res1
)) {
39361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
39363 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
39364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39365 if (!SWIG_IsOK(ecode2
)) {
39366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
39368 arg2
= static_cast< int >(val2
);
39370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39371 (arg1
)->SetLogicalFunction(arg2
);
39372 wxPyEndAllowThreads(__tstate
);
39373 if (PyErr_Occurred()) SWIG_fail
;
39375 resultobj
= SWIG_Py_Void();
39382 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39385 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
39386 return SWIG_Py_Void();
39389 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39390 return SWIG_Python_InitShadowInstance(args
);
39393 static PyMethodDef SwigMethods
[] = {
39394 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
39395 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
39396 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
39397 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
39398 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
39399 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
39403 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
39404 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
39405 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
39406 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
39407 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
39408 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39410 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39411 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
39413 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
39417 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
39418 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
39419 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39420 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
39421 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
39424 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
39425 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
39426 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
39427 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
39429 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
39430 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
39431 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
39432 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
39433 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
39434 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
39435 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39436 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39437 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39438 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
39442 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
39444 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
39445 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39446 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
39449 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
39450 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
39453 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
39457 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
39458 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
39459 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
39460 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
39461 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
39462 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
39463 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
39465 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39468 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
39471 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
39473 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
39474 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
39475 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
39476 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
39477 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
39478 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
39479 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39480 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39481 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
39485 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
39497 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
39498 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
39502 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
39503 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
39504 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
39505 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
39506 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
39507 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
39508 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
39509 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
39510 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
39511 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
39512 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
39513 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
39514 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
39515 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
39516 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39517 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
39518 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
39519 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39520 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39522 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39524 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
39525 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39526 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39527 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
39528 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
39529 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
39530 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
39531 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
39532 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
39533 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
39534 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
39535 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
39536 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
39538 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
39539 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
39545 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
39546 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
39547 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
39549 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
39550 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
39551 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
39553 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
39554 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
39559 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
39561 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
39562 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
39563 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
39564 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
39570 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
39571 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
39573 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
39574 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
39576 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
39578 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
39579 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
39580 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
39581 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
39584 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39586 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
39588 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
39589 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
39591 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39593 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
39594 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39595 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
39596 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
39597 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
39598 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
39599 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39600 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39601 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
39604 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
39605 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39606 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39607 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
39610 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
39611 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39613 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39614 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39615 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39616 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
39617 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39619 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39620 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
39621 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39622 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39623 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39624 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39625 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39626 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39627 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39628 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39629 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39631 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
39632 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39633 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39634 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
39635 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
39636 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
39638 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
39639 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
39640 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
39641 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
39642 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
39643 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
39644 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
39645 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
39646 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
39647 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
39648 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
39649 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
39650 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
39651 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
39652 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
39653 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
39654 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39655 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
39656 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
39657 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
39658 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
39659 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
39660 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
39661 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
39662 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
39663 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39667 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39672 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
39673 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
39674 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39675 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
39676 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
39677 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
39678 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
39679 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
39680 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
39681 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
39682 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
39683 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
39684 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39685 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
39686 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
39687 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
39688 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
39691 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
39692 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
39693 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39694 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39695 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
39696 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39697 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39698 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
39702 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39703 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39704 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39705 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39706 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
39707 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
39708 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39709 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
39710 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39711 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39712 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39716 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39719 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39720 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39721 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39722 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39723 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39724 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39725 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39726 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39727 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39728 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39729 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39730 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39731 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39733 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39734 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39735 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39736 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39737 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39740 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39742 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39743 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39744 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39745 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39747 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39748 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39749 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39750 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39751 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39752 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39753 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39757 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39758 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39760 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39761 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39762 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39763 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39764 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39765 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39766 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39767 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39768 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39769 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39770 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39773 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39774 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39775 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39776 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39777 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39778 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39779 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39780 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39783 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39784 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39786 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39788 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39789 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39790 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39791 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39792 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39794 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39798 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39799 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39800 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39801 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39802 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39803 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39804 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39808 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39809 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39810 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39811 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39812 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39817 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39818 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39834 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39841 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39844 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39845 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39846 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39847 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39848 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39849 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39850 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39853 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39861 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39863 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39864 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39865 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39866 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39869 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39870 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39871 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39872 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39873 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39874 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39875 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39876 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39877 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39878 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39879 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39881 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39882 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39883 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39884 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39885 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39886 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39887 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39888 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39891 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39892 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39893 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39894 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39895 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39896 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39897 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39898 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39899 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39900 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39901 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39902 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39903 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39904 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39906 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39907 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39908 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39909 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39910 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39911 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39912 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39913 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39914 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39915 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39916 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39917 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39918 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39919 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39920 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39921 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39922 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39923 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39924 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39927 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39928 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39929 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39930 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39931 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39932 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39933 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39934 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
39935 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39937 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39938 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39939 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39941 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39942 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39943 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39944 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39945 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39946 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39947 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39948 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39949 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39950 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39951 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39952 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39953 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39954 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39955 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39956 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39957 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39958 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39959 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39960 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39961 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39962 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39963 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39964 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39966 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39967 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39968 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39969 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39970 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39971 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39972 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39973 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39974 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39975 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39976 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39977 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39978 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39979 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39980 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39981 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39982 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39983 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39984 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39985 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39986 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39987 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39988 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39989 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39990 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39991 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39992 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39993 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39994 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39995 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39996 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39997 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39998 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39999 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40000 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
40001 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
40002 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
40003 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40004 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
40005 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
40006 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40007 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
40008 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
40009 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
40010 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
40011 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
40012 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
40013 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40014 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
40015 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
40016 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
40017 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40018 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
40019 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
40020 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40021 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
40022 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
40023 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
40024 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
40025 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
40026 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
40027 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
40028 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
40029 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
40030 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
40031 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
40032 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
40033 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
40034 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
40035 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
40036 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
40037 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
40038 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
40039 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
40040 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40041 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40042 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
40043 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
40044 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40045 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
40046 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40047 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40048 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40049 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40050 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40051 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
40052 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
40053 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
40054 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
40055 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
40056 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
40057 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
40058 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
40059 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40060 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
40061 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
40062 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
40063 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40064 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40065 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40066 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40067 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40068 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40069 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
40070 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40071 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40072 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
40073 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
40074 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
40075 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
40076 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
40077 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
40078 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
40079 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40080 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40081 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
40082 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40083 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40084 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40085 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40086 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40087 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40088 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
40089 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
40090 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40091 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40092 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
40093 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
40094 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
40095 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40096 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40097 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40098 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40099 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40100 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40101 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
40102 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
40103 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
40104 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
40105 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40106 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40107 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40108 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40109 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40110 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40111 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40112 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40113 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40114 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40115 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40116 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40117 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40118 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40119 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40120 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40121 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40122 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
40123 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
40124 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
40125 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
40126 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
40127 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
40128 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40129 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40130 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
40131 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40132 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40133 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40134 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40135 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40136 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40137 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
40138 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
40139 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
40140 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
40141 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40142 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
40143 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
40144 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
40145 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
40146 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
40147 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
40148 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
40149 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
40150 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
40151 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
40152 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
40153 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
40154 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40155 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
40156 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40157 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40158 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40159 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40160 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40161 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40162 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40163 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
40164 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40165 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
40166 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40167 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
40168 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
40169 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
40170 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
40171 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
40172 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
40173 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40174 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40175 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40176 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40177 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40178 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
40179 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
40180 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
40181 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
40182 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
40183 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
40184 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40185 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40186 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40187 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
40188 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40189 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40190 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40191 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
40192 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40193 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40194 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40195 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
40196 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
40197 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
40198 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40199 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40200 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40201 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40202 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
40203 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
40204 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
40205 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
40206 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
40207 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
40208 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
40209 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
40210 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
40211 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
40212 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
40213 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
40214 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40215 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40216 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40217 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40218 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40219 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40220 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40221 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40222 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
40223 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
40224 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40225 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
40226 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
40227 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
40228 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
40229 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
40230 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
40231 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
40232 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
40233 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
40234 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
40235 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
40236 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
40237 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
40238 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
40239 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
40240 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
40241 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
40242 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
40243 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
40244 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
40245 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
40246 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
40247 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
40248 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
40249 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40250 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
40251 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40252 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
40253 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
40254 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
40255 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
40256 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40257 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40258 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40259 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40260 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40261 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40262 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40263 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40264 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40265 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40266 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40267 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40268 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
40269 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
40270 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
40271 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40272 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
40273 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
40274 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
40275 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
40276 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
40277 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
40278 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
40279 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
40280 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40281 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40282 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40283 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40284 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40285 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40286 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40287 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40288 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40289 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40290 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40291 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40292 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40293 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40294 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40295 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40296 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40297 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40298 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40299 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40300 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40301 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40302 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40303 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40304 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40305 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40306 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40307 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40308 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40309 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40310 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40311 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40312 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40313 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40314 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40315 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40316 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40317 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40318 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40319 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40320 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40321 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40322 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40323 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40324 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40325 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40326 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40327 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40328 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40329 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40330 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40331 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40332 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
40333 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40334 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40335 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40336 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40337 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40338 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40339 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40340 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40341 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40342 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
40343 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
40344 { NULL
, NULL
, 0, NULL
}
40348 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40350 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
40351 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
40353 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
40354 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
40356 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
40357 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40359 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
40360 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
40362 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
40363 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
40365 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
40366 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
40368 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
40369 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
40371 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
40372 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40374 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
40375 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
40377 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
40378 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40380 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
40381 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40383 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
40384 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40386 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
40387 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40389 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
40390 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40392 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
40393 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40395 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
40396 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
40398 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
40399 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
40401 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
40402 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
40404 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
40405 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
40407 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
40408 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
40410 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
40411 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
40413 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
40414 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
40416 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
40417 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
40419 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
40420 return (void *)((wxDC
*) ((wxGCDC
*) x
));
40422 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
40423 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
40425 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
40426 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40428 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
40429 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
40431 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
40432 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
40434 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
40435 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
40437 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
40438 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
40440 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
40441 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
40443 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
40444 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40446 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
40447 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40449 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
40450 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40452 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
40453 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
40455 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
40456 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
40458 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
40459 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
40461 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
40462 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
40464 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
40465 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
40467 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
40468 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40470 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40471 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40473 static void *_p_wxPenTo_p_wxObject(void *x
) {
40474 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
40476 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
40477 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
40479 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40480 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40482 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40483 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40485 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40486 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40488 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40489 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40491 static void *_p_wxIconTo_p_wxObject(void *x
) {
40492 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
40494 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40495 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40497 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40498 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40500 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40501 return (void *)((wxObject
*) ((wxSizer
*) x
));
40503 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40504 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40506 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40507 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40509 static void *_p_wxEventTo_p_wxObject(void *x
) {
40510 return (void *)((wxObject
*) ((wxEvent
*) x
));
40512 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40513 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40515 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40516 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40518 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40519 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40521 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
40522 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
40524 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
40525 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
40527 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40528 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40530 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40531 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40533 static void *_p_wxDCTo_p_wxObject(void *x
) {
40534 return (void *)((wxObject
*) ((wxDC
*) x
));
40536 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40537 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40539 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40540 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40542 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40543 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40545 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40546 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40548 static void *_p_wxControlTo_p_wxObject(void *x
) {
40549 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40551 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
40552 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
40554 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40555 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40557 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
40558 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
40560 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40561 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40563 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
40564 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
40566 static void *_p_wxRegionTo_p_wxObject(void *x
) {
40567 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
40569 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40570 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40572 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
40573 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
40575 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
40576 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
40578 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
40579 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
40581 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
40582 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
40584 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
40585 return (void *)((wxObject
*) ((wxEffects
*) x
));
40587 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40588 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40590 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40591 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40593 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
40594 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
40596 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
40597 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
40599 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40600 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40602 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40603 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40605 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
40606 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
40608 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40609 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40611 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40612 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40614 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40615 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40617 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40618 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40620 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40621 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40623 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40624 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40626 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40627 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40629 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40630 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40632 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40633 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40635 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40636 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40638 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40639 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40641 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40642 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40644 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40645 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40647 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40648 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40650 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40651 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40653 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40654 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40656 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40657 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40659 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
40660 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
40662 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40663 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40665 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40666 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40668 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40669 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40671 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
40672 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
40674 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40675 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40677 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
40678 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
40680 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
40681 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
40683 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
40684 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
40686 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
40687 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
40689 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
40690 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
40692 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
40693 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
40695 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40696 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40698 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
40699 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
40701 static void *_p_wxImageTo_p_wxObject(void *x
) {
40702 return (void *)((wxObject
*) ((wxImage
*) x
));
40704 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40705 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40707 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
40708 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
40710 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
40711 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
40713 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
40714 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
40716 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
40717 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
40719 static void *_p_wxImageListTo_p_wxObject(void *x
) {
40720 return (void *)((wxObject
*) ((wxImageList
*) x
));
40722 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40723 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40725 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40726 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40728 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40729 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40731 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40732 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40734 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40735 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40737 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40738 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40740 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40741 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40743 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40744 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40746 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40747 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40749 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40750 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40752 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40755 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40756 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40758 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40759 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40761 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40762 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40764 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40765 return (void *)((wxObject
*) ((wxMask
*) x
));
40767 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40768 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40770 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40771 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40773 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40774 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40776 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40777 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40779 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40780 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40782 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40783 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40785 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40786 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40788 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40789 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40791 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40792 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40794 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40795 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40797 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40798 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40800 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40801 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40803 static void *_p_wxFontTo_p_wxObject(void *x
) {
40804 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40806 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40807 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40809 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40810 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40812 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40813 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40815 static void *_p_wxColourTo_p_wxObject(void *x
) {
40816 return (void *)((wxObject
*) ((wxColour
*) x
));
40818 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40821 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40822 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40824 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40825 return (void *)((wxWindow
*) ((wxControl
*) x
));
40827 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40828 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40830 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40831 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40833 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40834 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40836 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40837 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40839 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40840 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40841 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40842 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};
40843 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40844 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40845 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40846 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40847 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40848 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40849 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40850 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40851 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40852 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40853 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40854 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40855 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40856 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40857 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40858 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40859 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40860 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40861 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40862 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40863 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40864 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40865 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40866 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40867 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40868 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40869 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40870 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40871 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40872 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40873 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40874 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40875 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40876 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40877 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40878 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40879 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40880 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40881 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40882 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40883 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40884 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40885 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40886 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40887 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40888 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40889 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40890 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40891 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40892 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40893 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40894 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40895 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40896 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40897 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40898 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40899 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40900 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40901 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40902 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40903 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40904 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40905 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40906 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40907 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40908 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40909 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40910 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40911 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40912 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40913 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40914 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40915 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40916 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40917 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40918 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40919 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40920 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40921 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40922 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40923 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40924 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40925 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40926 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40927 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40928 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40929 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40930 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40931 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40932 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40933 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40934 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40935 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40936 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40937 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40938 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40939 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40940 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40941 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40942 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40943 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40944 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40945 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40946 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40947 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40948 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40949 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40950 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40951 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40952 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40953 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40954 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40955 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40956 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40957 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40958 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40959 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40960 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40961 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40962 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40963 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40964 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40965 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40966 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40967 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40968 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40969 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40970 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40971 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40972 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40973 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40974 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40975 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40976 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40977 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40978 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40979 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40980 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40981 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40982 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40983 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40984 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40985 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40986 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40987 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40988 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40989 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40990 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40991 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40992 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40993 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40994 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40995 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40996 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
40997 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40998 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40999 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
41000 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
41001 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
41002 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
41003 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
41004 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
41005 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
41006 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
41007 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
41009 static swig_type_info
*swig_type_initial
[] = {
41013 &_swigt__p_form_ops_t
,
41015 &_swigt__p_unsigned_char
,
41016 &_swigt__p_unsigned_int
,
41017 &_swigt__p_unsigned_long
,
41019 &_swigt__p_wxANIHandler
,
41020 &_swigt__p_wxAcceleratorTable
,
41021 &_swigt__p_wxActivateEvent
,
41022 &_swigt__p_wxAlphaPixelData
,
41023 &_swigt__p_wxAlphaPixelData_Accessor
,
41024 &_swigt__p_wxAutoBufferedPaintDC
,
41025 &_swigt__p_wxBMPHandler
,
41026 &_swigt__p_wxBitmap
,
41027 &_swigt__p_wxBoxSizer
,
41028 &_swigt__p_wxBrush
,
41029 &_swigt__p_wxBrushList
,
41030 &_swigt__p_wxBufferedDC
,
41031 &_swigt__p_wxBufferedPaintDC
,
41032 &_swigt__p_wxCURHandler
,
41034 &_swigt__p_wxChildFocusEvent
,
41035 &_swigt__p_wxClientDC
,
41036 &_swigt__p_wxClipboardTextEvent
,
41037 &_swigt__p_wxCloseEvent
,
41038 &_swigt__p_wxColour
,
41039 &_swigt__p_wxColourDatabase
,
41040 &_swigt__p_wxCommandEvent
,
41041 &_swigt__p_wxContextMenuEvent
,
41042 &_swigt__p_wxControl
,
41043 &_swigt__p_wxControlWithItems
,
41044 &_swigt__p_wxCursor
,
41046 &_swigt__p_wxDCBrushChanger
,
41047 &_swigt__p_wxDCClipper
,
41048 &_swigt__p_wxDCOverlay
,
41049 &_swigt__p_wxDCPenChanger
,
41050 &_swigt__p_wxDCTextColourChanger
,
41052 &_swigt__p_wxDateEvent
,
41053 &_swigt__p_wxDisplayChangedEvent
,
41054 &_swigt__p_wxDropFilesEvent
,
41055 &_swigt__p_wxDuplexMode
,
41056 &_swigt__p_wxEffects
,
41057 &_swigt__p_wxEncodingConverter
,
41058 &_swigt__p_wxEraseEvent
,
41059 &_swigt__p_wxEvent
,
41060 &_swigt__p_wxEvtHandler
,
41061 &_swigt__p_wxFSFile
,
41062 &_swigt__p_wxFileSystem
,
41063 &_swigt__p_wxFlexGridSizer
,
41064 &_swigt__p_wxFocusEvent
,
41066 &_swigt__p_wxFontList
,
41067 &_swigt__p_wxFontMapper
,
41068 &_swigt__p_wxGBSizerItem
,
41070 &_swigt__p_wxGDIObjListBase
,
41071 &_swigt__p_wxGDIObject
,
41072 &_swigt__p_wxGIFHandler
,
41073 &_swigt__p_wxGraphicsBrush
,
41074 &_swigt__p_wxGraphicsContext
,
41075 &_swigt__p_wxGraphicsFont
,
41076 &_swigt__p_wxGraphicsMatrix
,
41077 &_swigt__p_wxGraphicsObject
,
41078 &_swigt__p_wxGraphicsPath
,
41079 &_swigt__p_wxGraphicsPen
,
41080 &_swigt__p_wxGraphicsRenderer
,
41081 &_swigt__p_wxGridBagSizer
,
41082 &_swigt__p_wxGridSizer
,
41083 &_swigt__p_wxHeaderButtonParams
,
41084 &_swigt__p_wxICOHandler
,
41086 &_swigt__p_wxIconBundle
,
41087 &_swigt__p_wxIconLocation
,
41088 &_swigt__p_wxIconizeEvent
,
41089 &_swigt__p_wxIdleEvent
,
41090 &_swigt__p_wxImage
,
41091 &_swigt__p_wxImageHandler
,
41092 &_swigt__p_wxImageList
,
41093 &_swigt__p_wxIndividualLayoutConstraint
,
41094 &_swigt__p_wxInitDialogEvent
,
41095 &_swigt__p_wxJPEGHandler
,
41096 &_swigt__p_wxKeyEvent
,
41097 &_swigt__p_wxLanguageInfo
,
41098 &_swigt__p_wxLayoutConstraints
,
41099 &_swigt__p_wxLocale
,
41101 &_swigt__p_wxMaximizeEvent
,
41102 &_swigt__p_wxMemoryDC
,
41104 &_swigt__p_wxMenuBar
,
41105 &_swigt__p_wxMenuEvent
,
41106 &_swigt__p_wxMenuItem
,
41107 &_swigt__p_wxMetaFile
,
41108 &_swigt__p_wxMetaFileDC
,
41109 &_swigt__p_wxMirrorDC
,
41110 &_swigt__p_wxMouseCaptureChangedEvent
,
41111 &_swigt__p_wxMouseCaptureLostEvent
,
41112 &_swigt__p_wxMouseEvent
,
41113 &_swigt__p_wxMoveEvent
,
41114 &_swigt__p_wxNativeEncodingInfo
,
41115 &_swigt__p_wxNativeFontInfo
,
41116 &_swigt__p_wxNativePixelData
,
41117 &_swigt__p_wxNativePixelData_Accessor
,
41118 &_swigt__p_wxNavigationKeyEvent
,
41119 &_swigt__p_wxNcPaintEvent
,
41120 &_swigt__p_wxNotifyEvent
,
41121 &_swigt__p_wxObject
,
41122 &_swigt__p_wxOverlay
,
41123 &_swigt__p_wxPCXHandler
,
41124 &_swigt__p_wxPNGHandler
,
41125 &_swigt__p_wxPNMHandler
,
41126 &_swigt__p_wxPaintDC
,
41127 &_swigt__p_wxPaintEvent
,
41128 &_swigt__p_wxPalette
,
41129 &_swigt__p_wxPaletteChangedEvent
,
41130 &_swigt__p_wxPaperSize
,
41132 &_swigt__p_wxPenList
,
41133 &_swigt__p_wxPixelDataBase
,
41134 &_swigt__p_wxPoint
,
41135 &_swigt__p_wxPoint2D
,
41136 &_swigt__p_wxPostScriptDC
,
41137 &_swigt__p_wxPrintData
,
41138 &_swigt__p_wxPrinterDC
,
41139 &_swigt__p_wxPseudoDC
,
41140 &_swigt__p_wxPyApp
,
41141 &_swigt__p_wxPyCommandEvent
,
41142 &_swigt__p_wxPyEvent
,
41143 &_swigt__p_wxPyFontEnumerator
,
41144 &_swigt__p_wxPyImageHandler
,
41145 &_swigt__p_wxPyLocale
,
41146 &_swigt__p_wxPySizer
,
41147 &_swigt__p_wxPyValidator
,
41148 &_swigt__p_wxQueryNewPaletteEvent
,
41150 &_swigt__p_wxRect2D
,
41151 &_swigt__p_wxRegion
,
41152 &_swigt__p_wxRegionIterator
,
41153 &_swigt__p_wxRendererNative
,
41154 &_swigt__p_wxRendererVersion
,
41155 &_swigt__p_wxScreenDC
,
41156 &_swigt__p_wxScrollEvent
,
41157 &_swigt__p_wxScrollWinEvent
,
41158 &_swigt__p_wxSetCursorEvent
,
41159 &_swigt__p_wxShowEvent
,
41161 &_swigt__p_wxSizeEvent
,
41162 &_swigt__p_wxSizer
,
41163 &_swigt__p_wxSizerItem
,
41164 &_swigt__p_wxSplitterRenderParams
,
41165 &_swigt__p_wxStaticBoxSizer
,
41166 &_swigt__p_wxStdDialogButtonSizer
,
41167 &_swigt__p_wxStockGDI
,
41168 &_swigt__p_wxString
,
41169 &_swigt__p_wxSysColourChangedEvent
,
41170 &_swigt__p_wxTGAHandler
,
41171 &_swigt__p_wxTIFFHandler
,
41172 &_swigt__p_wxUpdateUIEvent
,
41173 &_swigt__p_wxValidator
,
41174 &_swigt__p_wxWindow
,
41175 &_swigt__p_wxWindowCreateEvent
,
41176 &_swigt__p_wxWindowDC
,
41177 &_swigt__p_wxWindowDestroyEvent
,
41178 &_swigt__p_wxXPMHandler
,
41181 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
41182 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
41183 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
41184 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
41185 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
41186 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
41187 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
41188 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
41189 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
41190 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
41191 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41192 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41193 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
41194 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
41195 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
41196 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}};
41197 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41198 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
41199 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}};
41200 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
41201 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
41202 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
41203 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}};
41204 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
41205 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
41206 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41207 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
41208 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
41209 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
41210 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
41211 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
41212 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
41213 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
41214 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
41215 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
41216 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
41217 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}};
41218 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}};
41219 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
41220 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
41221 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
41222 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
41223 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}};
41224 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
41225 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
41226 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
41227 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
41228 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
41229 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
41230 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
41231 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
41232 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
41233 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
41234 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}};
41235 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
41236 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}};
41237 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
41238 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
41239 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
41240 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
41241 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
41242 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
41243 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
41244 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
41245 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41246 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
41247 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
41248 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
41249 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41250 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41251 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
41252 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
41253 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
41254 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
41255 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
41256 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41257 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
41258 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
41259 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
41260 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41261 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
41262 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41263 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41264 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41265 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
41266 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
41267 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
41268 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
41269 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
41270 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41271 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41272 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
41273 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
41274 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41275 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
41276 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41277 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
41278 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41279 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41280 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
41281 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
41282 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
41283 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
41284 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
41285 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41286 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41287 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41288 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
41289 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
41290 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
41291 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
41292 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
41293 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41294 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
41295 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
41296 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
41297 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
41298 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
41299 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
41300 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
41301 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
41302 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41303 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41304 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
41305 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
41306 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
41307 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41308 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
41309 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
41310 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41311 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41312 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
41313 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41314 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
41315 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
41316 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41317 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
41318 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
41319 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
41320 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
41321 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}};
41322 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
41323 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
41324 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
41325 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
41326 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
41327 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
41328 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}};
41329 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
41330 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
41331 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
41332 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
41333 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
41334 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
41335 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
41336 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
41337 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
41338 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
41339 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
41340 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
41341 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
41342 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
41343 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
41344 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
41345 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
41346 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
41347 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
41348 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}};
41349 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}};
41351 static swig_cast_info
*swig_cast_initial
[] = {
41355 _swigc__p_form_ops_t
,
41357 _swigc__p_unsigned_char
,
41358 _swigc__p_unsigned_int
,
41359 _swigc__p_unsigned_long
,
41361 _swigc__p_wxANIHandler
,
41362 _swigc__p_wxAcceleratorTable
,
41363 _swigc__p_wxActivateEvent
,
41364 _swigc__p_wxAlphaPixelData
,
41365 _swigc__p_wxAlphaPixelData_Accessor
,
41366 _swigc__p_wxAutoBufferedPaintDC
,
41367 _swigc__p_wxBMPHandler
,
41368 _swigc__p_wxBitmap
,
41369 _swigc__p_wxBoxSizer
,
41371 _swigc__p_wxBrushList
,
41372 _swigc__p_wxBufferedDC
,
41373 _swigc__p_wxBufferedPaintDC
,
41374 _swigc__p_wxCURHandler
,
41376 _swigc__p_wxChildFocusEvent
,
41377 _swigc__p_wxClientDC
,
41378 _swigc__p_wxClipboardTextEvent
,
41379 _swigc__p_wxCloseEvent
,
41380 _swigc__p_wxColour
,
41381 _swigc__p_wxColourDatabase
,
41382 _swigc__p_wxCommandEvent
,
41383 _swigc__p_wxContextMenuEvent
,
41384 _swigc__p_wxControl
,
41385 _swigc__p_wxControlWithItems
,
41386 _swigc__p_wxCursor
,
41388 _swigc__p_wxDCBrushChanger
,
41389 _swigc__p_wxDCClipper
,
41390 _swigc__p_wxDCOverlay
,
41391 _swigc__p_wxDCPenChanger
,
41392 _swigc__p_wxDCTextColourChanger
,
41394 _swigc__p_wxDateEvent
,
41395 _swigc__p_wxDisplayChangedEvent
,
41396 _swigc__p_wxDropFilesEvent
,
41397 _swigc__p_wxDuplexMode
,
41398 _swigc__p_wxEffects
,
41399 _swigc__p_wxEncodingConverter
,
41400 _swigc__p_wxEraseEvent
,
41402 _swigc__p_wxEvtHandler
,
41403 _swigc__p_wxFSFile
,
41404 _swigc__p_wxFileSystem
,
41405 _swigc__p_wxFlexGridSizer
,
41406 _swigc__p_wxFocusEvent
,
41408 _swigc__p_wxFontList
,
41409 _swigc__p_wxFontMapper
,
41410 _swigc__p_wxGBSizerItem
,
41412 _swigc__p_wxGDIObjListBase
,
41413 _swigc__p_wxGDIObject
,
41414 _swigc__p_wxGIFHandler
,
41415 _swigc__p_wxGraphicsBrush
,
41416 _swigc__p_wxGraphicsContext
,
41417 _swigc__p_wxGraphicsFont
,
41418 _swigc__p_wxGraphicsMatrix
,
41419 _swigc__p_wxGraphicsObject
,
41420 _swigc__p_wxGraphicsPath
,
41421 _swigc__p_wxGraphicsPen
,
41422 _swigc__p_wxGraphicsRenderer
,
41423 _swigc__p_wxGridBagSizer
,
41424 _swigc__p_wxGridSizer
,
41425 _swigc__p_wxHeaderButtonParams
,
41426 _swigc__p_wxICOHandler
,
41428 _swigc__p_wxIconBundle
,
41429 _swigc__p_wxIconLocation
,
41430 _swigc__p_wxIconizeEvent
,
41431 _swigc__p_wxIdleEvent
,
41433 _swigc__p_wxImageHandler
,
41434 _swigc__p_wxImageList
,
41435 _swigc__p_wxIndividualLayoutConstraint
,
41436 _swigc__p_wxInitDialogEvent
,
41437 _swigc__p_wxJPEGHandler
,
41438 _swigc__p_wxKeyEvent
,
41439 _swigc__p_wxLanguageInfo
,
41440 _swigc__p_wxLayoutConstraints
,
41441 _swigc__p_wxLocale
,
41443 _swigc__p_wxMaximizeEvent
,
41444 _swigc__p_wxMemoryDC
,
41446 _swigc__p_wxMenuBar
,
41447 _swigc__p_wxMenuEvent
,
41448 _swigc__p_wxMenuItem
,
41449 _swigc__p_wxMetaFile
,
41450 _swigc__p_wxMetaFileDC
,
41451 _swigc__p_wxMirrorDC
,
41452 _swigc__p_wxMouseCaptureChangedEvent
,
41453 _swigc__p_wxMouseCaptureLostEvent
,
41454 _swigc__p_wxMouseEvent
,
41455 _swigc__p_wxMoveEvent
,
41456 _swigc__p_wxNativeEncodingInfo
,
41457 _swigc__p_wxNativeFontInfo
,
41458 _swigc__p_wxNativePixelData
,
41459 _swigc__p_wxNativePixelData_Accessor
,
41460 _swigc__p_wxNavigationKeyEvent
,
41461 _swigc__p_wxNcPaintEvent
,
41462 _swigc__p_wxNotifyEvent
,
41463 _swigc__p_wxObject
,
41464 _swigc__p_wxOverlay
,
41465 _swigc__p_wxPCXHandler
,
41466 _swigc__p_wxPNGHandler
,
41467 _swigc__p_wxPNMHandler
,
41468 _swigc__p_wxPaintDC
,
41469 _swigc__p_wxPaintEvent
,
41470 _swigc__p_wxPalette
,
41471 _swigc__p_wxPaletteChangedEvent
,
41472 _swigc__p_wxPaperSize
,
41474 _swigc__p_wxPenList
,
41475 _swigc__p_wxPixelDataBase
,
41477 _swigc__p_wxPoint2D
,
41478 _swigc__p_wxPostScriptDC
,
41479 _swigc__p_wxPrintData
,
41480 _swigc__p_wxPrinterDC
,
41481 _swigc__p_wxPseudoDC
,
41483 _swigc__p_wxPyCommandEvent
,
41484 _swigc__p_wxPyEvent
,
41485 _swigc__p_wxPyFontEnumerator
,
41486 _swigc__p_wxPyImageHandler
,
41487 _swigc__p_wxPyLocale
,
41488 _swigc__p_wxPySizer
,
41489 _swigc__p_wxPyValidator
,
41490 _swigc__p_wxQueryNewPaletteEvent
,
41492 _swigc__p_wxRect2D
,
41493 _swigc__p_wxRegion
,
41494 _swigc__p_wxRegionIterator
,
41495 _swigc__p_wxRendererNative
,
41496 _swigc__p_wxRendererVersion
,
41497 _swigc__p_wxScreenDC
,
41498 _swigc__p_wxScrollEvent
,
41499 _swigc__p_wxScrollWinEvent
,
41500 _swigc__p_wxSetCursorEvent
,
41501 _swigc__p_wxShowEvent
,
41503 _swigc__p_wxSizeEvent
,
41505 _swigc__p_wxSizerItem
,
41506 _swigc__p_wxSplitterRenderParams
,
41507 _swigc__p_wxStaticBoxSizer
,
41508 _swigc__p_wxStdDialogButtonSizer
,
41509 _swigc__p_wxStockGDI
,
41510 _swigc__p_wxString
,
41511 _swigc__p_wxSysColourChangedEvent
,
41512 _swigc__p_wxTGAHandler
,
41513 _swigc__p_wxTIFFHandler
,
41514 _swigc__p_wxUpdateUIEvent
,
41515 _swigc__p_wxValidator
,
41516 _swigc__p_wxWindow
,
41517 _swigc__p_wxWindowCreateEvent
,
41518 _swigc__p_wxWindowDC
,
41519 _swigc__p_wxWindowDestroyEvent
,
41520 _swigc__p_wxXPMHandler
,
41524 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41526 static swig_const_info swig_const_table
[] = {
41527 {0, 0, 0, 0.0, 0, 0}};
41532 /* -----------------------------------------------------------------------------
41533 * Type initialization:
41534 * This problem is tough by the requirement that no dynamic
41535 * memory is used. Also, since swig_type_info structures store pointers to
41536 * swig_cast_info structures and swig_cast_info structures store pointers back
41537 * to swig_type_info structures, we need some lookup code at initialization.
41538 * The idea is that swig generates all the structures that are needed.
41539 * The runtime then collects these partially filled structures.
41540 * The SWIG_InitializeModule function takes these initial arrays out of
41541 * swig_module, and does all the lookup, filling in the swig_module.types
41542 * array with the correct data and linking the correct swig_cast_info
41543 * structures together.
41545 * The generated swig_type_info structures are assigned staticly to an initial
41546 * array. We just loop though that array, and handle each type individually.
41547 * First we lookup if this type has been already loaded, and if so, use the
41548 * loaded structure instead of the generated one. Then we have to fill in the
41549 * cast linked list. The cast data is initially stored in something like a
41550 * two-dimensional array. Each row corresponds to a type (there are the same
41551 * number of rows as there are in the swig_type_initial array). Each entry in
41552 * a column is one of the swig_cast_info structures for that type.
41553 * The cast_initial array is actually an array of arrays, because each row has
41554 * a variable number of columns. So to actually build the cast linked list,
41555 * we find the array of casts associated with the type, and loop through it
41556 * adding the casts to the list. The one last trick we need to do is making
41557 * sure the type pointer in the swig_cast_info struct is correct.
41559 * First off, we lookup the cast->type name to see if it is already loaded.
41560 * There are three cases to handle:
41561 * 1) If the cast->type has already been loaded AND the type we are adding
41562 * casting info to has not been loaded (it is in this module), THEN we
41563 * replace the cast->type pointer with the type pointer that has already
41565 * 2) If BOTH types (the one we are adding casting info to, and the
41566 * cast->type) are loaded, THEN the cast info has already been loaded by
41567 * the previous module so we just ignore it.
41568 * 3) Finally, if cast->type has not already been loaded, then we add that
41569 * swig_cast_info to the linked list (because the cast->type) pointer will
41571 * ----------------------------------------------------------------------------- */
41581 #define SWIGRUNTIME_DEBUG
41585 SWIG_InitializeModule(void *clientdata
) {
41587 swig_module_info
*module_head
;
41588 static int init_run
= 0;
41590 clientdata
= clientdata
;
41592 if (init_run
) return;
41595 /* Initialize the swig_module */
41596 swig_module
.type_initial
= swig_type_initial
;
41597 swig_module
.cast_initial
= swig_cast_initial
;
41599 /* Try and load any already created modules */
41600 module_head
= SWIG_GetModule(clientdata
);
41602 swig_module
.next
= module_head
->next
;
41603 module_head
->next
= &swig_module
;
41605 /* This is the first module loaded */
41606 swig_module
.next
= &swig_module
;
41607 SWIG_SetModule(clientdata
, &swig_module
);
41610 /* Now work on filling in swig_module.types */
41611 #ifdef SWIGRUNTIME_DEBUG
41612 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
41614 for (i
= 0; i
< swig_module
.size
; ++i
) {
41615 swig_type_info
*type
= 0;
41616 swig_type_info
*ret
;
41617 swig_cast_info
*cast
;
41619 #ifdef SWIGRUNTIME_DEBUG
41620 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41623 /* if there is another module already loaded */
41624 if (swig_module
.next
!= &swig_module
) {
41625 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
41628 /* Overwrite clientdata field */
41629 #ifdef SWIGRUNTIME_DEBUG
41630 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
41632 if (swig_module
.type_initial
[i
]->clientdata
) {
41633 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
41634 #ifdef SWIGRUNTIME_DEBUG
41635 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
41639 type
= swig_module
.type_initial
[i
];
41642 /* Insert casting types */
41643 cast
= swig_module
.cast_initial
[i
];
41644 while (cast
->type
) {
41645 /* Don't need to add information already in the list */
41647 #ifdef SWIGRUNTIME_DEBUG
41648 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
41650 if (swig_module
.next
!= &swig_module
) {
41651 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
41652 #ifdef SWIGRUNTIME_DEBUG
41653 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
41657 if (type
== swig_module
.type_initial
[i
]) {
41658 #ifdef SWIGRUNTIME_DEBUG
41659 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
41664 /* Check for casting already in the list */
41665 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
41666 #ifdef SWIGRUNTIME_DEBUG
41667 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
41669 if (!ocast
) ret
= 0;
41674 #ifdef SWIGRUNTIME_DEBUG
41675 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
41678 type
->cast
->prev
= cast
;
41679 cast
->next
= type
->cast
;
41685 /* Set entry in modules->types array equal to the type */
41686 swig_module
.types
[i
] = type
;
41688 swig_module
.types
[i
] = 0;
41690 #ifdef SWIGRUNTIME_DEBUG
41691 printf("**** SWIG_InitializeModule: Cast List ******\n");
41692 for (i
= 0; i
< swig_module
.size
; ++i
) {
41694 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
41695 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
41696 while (cast
->type
) {
41697 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
41701 printf("---- Total casts: %d\n",j
);
41703 printf("**** SWIG_InitializeModule: Cast List ******\n");
41707 /* This function will propagate the clientdata field of type to
41708 * any new swig_type_info structures that have been added into the list
41709 * of equivalent types. It is like calling
41710 * SWIG_TypeClientData(type, clientdata) a second time.
41713 SWIG_PropagateClientData(void) {
41715 swig_cast_info
*equiv
;
41716 static int init_run
= 0;
41718 if (init_run
) return;
41721 for (i
= 0; i
< swig_module
.size
; i
++) {
41722 if (swig_module
.types
[i
]->clientdata
) {
41723 equiv
= swig_module
.types
[i
]->cast
;
41725 if (!equiv
->converter
) {
41726 if (equiv
->type
&& !equiv
->type
->clientdata
)
41727 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41729 equiv
= equiv
->next
;
41749 /* Python-specific SWIG API */
41750 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41751 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41752 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41754 /* -----------------------------------------------------------------------------
41755 * global variable support code.
41756 * ----------------------------------------------------------------------------- */
41758 typedef struct swig_globalvar
{
41759 char *name
; /* Name of global variable */
41760 PyObject
*(*get_attr
)(void); /* Return the current value */
41761 int (*set_attr
)(PyObject
*); /* Set the value */
41762 struct swig_globalvar
*next
;
41765 typedef struct swig_varlinkobject
{
41767 swig_globalvar
*vars
;
41768 } swig_varlinkobject
;
41770 SWIGINTERN PyObject
*
41771 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41772 return PyString_FromString("<Swig global variables>");
41775 SWIGINTERN PyObject
*
41776 swig_varlink_str(swig_varlinkobject
*v
) {
41777 PyObject
*str
= PyString_FromString("(");
41778 swig_globalvar
*var
;
41779 for (var
= v
->vars
; var
; var
=var
->next
) {
41780 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41781 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41783 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41788 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41789 PyObject
*str
= swig_varlink_str(v
);
41790 fprintf(fp
,"Swig global variables ");
41791 fprintf(fp
,"%s\n", PyString_AsString(str
));
41797 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41798 swig_globalvar
*var
= v
->vars
;
41800 swig_globalvar
*n
= var
->next
;
41807 SWIGINTERN PyObject
*
41808 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41809 PyObject
*res
= NULL
;
41810 swig_globalvar
*var
= v
->vars
;
41812 if (strcmp(var
->name
,n
) == 0) {
41813 res
= (*var
->get_attr
)();
41818 if (res
== NULL
&& !PyErr_Occurred()) {
41819 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41825 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41827 swig_globalvar
*var
= v
->vars
;
41829 if (strcmp(var
->name
,n
) == 0) {
41830 res
= (*var
->set_attr
)(p
);
41835 if (res
== 1 && !PyErr_Occurred()) {
41836 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41841 SWIGINTERN PyTypeObject
*
41842 swig_varlink_type(void) {
41843 static char varlink__doc__
[] = "Swig var link object";
41844 static PyTypeObject varlink_type
;
41845 static int type_init
= 0;
41847 const PyTypeObject tmp
41849 PyObject_HEAD_INIT(NULL
)
41850 0, /* Number of items in variable part (ob_size) */
41851 (char *)"swigvarlink", /* Type name (tp_name) */
41852 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41853 0, /* Itemsize (tp_itemsize) */
41854 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41855 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41856 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41857 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41858 0, /* tp_compare */
41859 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41860 0, /* tp_as_number */
41861 0, /* tp_as_sequence */
41862 0, /* tp_as_mapping */
41865 (reprfunc
)swig_varlink_str
, /* tp_str */
41866 0, /* tp_getattro */
41867 0, /* tp_setattro */
41868 0, /* tp_as_buffer */
41870 varlink__doc__
, /* tp_doc */
41871 0, /* tp_traverse */
41873 0, /* tp_richcompare */
41874 0, /* tp_weaklistoffset */
41875 #if PY_VERSION_HEX >= 0x02020000
41876 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41878 #if PY_VERSION_HEX >= 0x02030000
41881 #ifdef COUNT_ALLOCS
41882 0,0,0,0 /* tp_alloc -> tp_next */
41885 varlink_type
= tmp
;
41886 varlink_type
.ob_type
= &PyType_Type
;
41889 return &varlink_type
;
41892 /* Create a variable linking object for use later */
41893 SWIGINTERN PyObject
*
41894 SWIG_Python_newvarlink(void) {
41895 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41899 return ((PyObject
*) result
);
41903 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41904 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41905 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41907 size_t size
= strlen(name
)+1;
41908 gv
->name
= (char *)malloc(size
);
41910 strncpy(gv
->name
,name
,size
);
41911 gv
->get_attr
= get_attr
;
41912 gv
->set_attr
= set_attr
;
41913 gv
->next
= v
->vars
;
41919 SWIGINTERN PyObject
*
41921 static PyObject
*_SWIG_globals
= 0;
41922 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41923 return _SWIG_globals
;
41926 /* -----------------------------------------------------------------------------
41927 * constants/methods manipulation
41928 * ----------------------------------------------------------------------------- */
41930 /* Install Constants */
41932 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41935 for (i
= 0; constants
[i
].type
; ++i
) {
41936 switch(constants
[i
].type
) {
41937 case SWIG_PY_POINTER
:
41938 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41940 case SWIG_PY_BINARY
:
41941 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41948 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41954 /* -----------------------------------------------------------------------------*/
41955 /* Fix SwigMethods to carry the callback ptrs when needed */
41956 /* -----------------------------------------------------------------------------*/
41959 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41960 swig_const_info
*const_table
,
41961 swig_type_info
**types
,
41962 swig_type_info
**types_initial
) {
41964 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41965 const char *c
= methods
[i
].ml_doc
;
41966 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41968 swig_const_info
*ci
= 0;
41969 const char *name
= c
+ 10;
41970 for (j
= 0; const_table
[j
].type
; ++j
) {
41971 if (strncmp(const_table
[j
].name
, name
,
41972 strlen(const_table
[j
].name
)) == 0) {
41973 ci
= &(const_table
[j
]);
41978 size_t shift
= (ci
->ptype
) - types
;
41979 swig_type_info
*ty
= types_initial
[shift
];
41980 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41981 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41982 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41985 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41987 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41989 strncpy(buff
, "swig_ptr: ", 10);
41991 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41992 methods
[i
].ml_doc
= ndoc
;
42004 /* -----------------------------------------------------------------------------*
42005 * Partial Init method
42006 * -----------------------------------------------------------------------------*/
42011 SWIGEXPORT
void SWIG_init(void) {
42014 /* Fix SwigMethods to carry the callback ptrs when needed */
42015 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
42017 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42018 d
= PyModule_GetDict(m
);
42020 SWIG_InitializeModule(0);
42021 SWIG_InstallConstants(d
,swig_const_table
);
42024 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
42025 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
42026 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
42027 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
42028 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
42029 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
42030 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
42031 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
42032 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
42033 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
42034 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
42035 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
42036 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
42037 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
42038 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
42039 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
42040 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
42041 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
42042 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
42043 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
42044 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
42045 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
42046 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
42047 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
42048 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
42049 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
42050 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
42051 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
42052 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
42053 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
42054 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
42055 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
42056 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
42057 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
42058 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
42059 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
42060 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
42061 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
42062 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
42063 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
42064 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
42065 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
42066 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
42067 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
42068 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
42069 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
42070 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
42071 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
42072 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
42073 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
42074 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
42075 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
42076 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
42077 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
42078 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
42079 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
42080 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
42081 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
42082 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
42083 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
42084 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
42085 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
42086 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
42087 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
42088 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
42089 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
42090 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
42091 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
42092 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
42093 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
42094 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
42095 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
42096 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
42097 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
42098 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
42099 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
42100 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
42101 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
42102 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
42103 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
42104 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
42105 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
42106 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
42107 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
42108 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
42109 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
42110 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
42111 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
42112 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
42113 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
42114 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
42115 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
42116 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
42117 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
42118 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
42119 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
42120 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
42121 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
42122 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
42123 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
42124 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
42125 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
42126 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
42127 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
42128 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
42129 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
42130 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
42131 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
42132 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
42133 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
42134 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
42135 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
42136 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
42137 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
42138 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
42139 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
42140 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
42141 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
42142 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
42143 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
42144 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
42145 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
42146 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
42147 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
42148 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
42149 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
42150 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
42151 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
42152 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
42153 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
42154 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
42155 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
42157 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
42159 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
42160 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
42161 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
42162 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
42163 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
42164 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
42165 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
42166 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
42167 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
42168 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
42169 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
42170 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
42171 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
42172 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
42173 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
42174 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
42175 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
42176 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
42177 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
42178 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
42179 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
42180 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
42181 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
42182 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
42183 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
42184 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
42185 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
42186 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
42187 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
42188 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
42189 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
42190 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
42191 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
42192 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
42193 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
42194 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
42195 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
42196 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
42197 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
42198 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
42199 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
42200 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
42201 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
42202 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
42203 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
42204 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
42205 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
42206 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
42207 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
42208 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
42209 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
42210 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
42211 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
42212 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
42213 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
42214 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
42215 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
42216 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
42217 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
42218 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
42219 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
42220 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
42221 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
42222 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
42223 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
42224 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
42225 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
42226 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
42227 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
42228 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
42229 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
42230 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
42231 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
42232 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
42233 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
42234 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
42235 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
42236 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
42237 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
42238 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
42239 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
42240 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
42241 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
42242 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
42243 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
42244 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
42245 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
42246 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
42247 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
42248 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
42249 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
42250 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
42251 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
42252 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
42253 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
42254 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
42255 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
42256 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
42257 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
42258 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
42259 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
42260 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
42261 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
42262 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
42263 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
42264 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
42265 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
42266 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
42267 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
42268 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
42269 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
42270 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
42271 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
42272 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
42273 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
42274 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
42275 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
42276 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
42277 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
42278 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
42279 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
42280 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
42281 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
42282 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
42283 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
42284 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
42285 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
42286 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
42287 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
42288 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
42289 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
42290 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
42291 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
42292 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
42293 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
42294 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
42295 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
42296 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
42297 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
42298 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
42299 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
42300 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
42301 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
42302 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
42303 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
42304 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
42305 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
42306 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
42307 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
42308 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
42309 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
42310 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
42311 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
42312 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
42313 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
42314 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
42315 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
42316 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
42317 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
42318 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
42319 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
42320 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
42321 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
42322 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
42323 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
42324 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
42325 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
42326 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
42327 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
42328 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
42329 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
42330 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
42331 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
42332 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
42333 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
42334 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
42335 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
42336 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
42337 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
42338 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
42339 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
42340 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
42341 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
42342 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
42343 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
42344 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
42345 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
42346 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
42347 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
42348 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
42349 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
42350 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
42351 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
42352 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
42353 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
42354 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
42355 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
42356 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
42357 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
42358 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
42359 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
42360 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
42361 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
42362 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
42363 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
42364 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
42365 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
42366 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
42367 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
42368 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
42369 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
42370 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
42371 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
42372 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
42373 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
42374 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
42375 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
42376 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
42377 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
42378 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
42379 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
42380 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
42381 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
42382 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
42383 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
42384 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
42385 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
42386 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
42387 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
42388 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
42389 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
42390 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
42391 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
42392 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
42393 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
42394 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
42395 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
42396 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
42397 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
42398 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
42399 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
42400 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
42401 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
42402 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
42403 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
42404 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
42405 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
42406 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
42407 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
42408 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
42409 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
42410 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
42411 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
42412 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
42413 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
42414 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
42415 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
42416 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
42417 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
42418 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
42419 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
42420 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
42421 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
42422 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
42423 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
42424 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
42425 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
42426 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
42427 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
42428 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
42429 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
42430 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
42431 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
42432 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
42433 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
42434 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
42435 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
42436 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
42437 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
42438 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
42439 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
42440 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
42441 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
42442 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
42443 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
42444 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
42445 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
42446 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
42447 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
42448 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
42449 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
42450 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
42451 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
42452 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
42453 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
42454 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
42455 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
42456 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
42457 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
42458 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
42459 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
42460 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
42461 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
42462 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
42463 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
42464 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
42465 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
42466 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
42467 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
42468 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
42469 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
42470 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
42471 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
42472 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
42473 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
42474 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
42475 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
42476 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
42477 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
42478 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
42479 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
42480 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
42481 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
42482 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
42484 // Work around a chicken/egg problem in drawlist.cpp
42485 wxPyDrawList_SetAPIPtr();