1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCBrushChanger swig_types[37]
2504 #define SWIGTYPE_p_wxDCClipper swig_types[38]
2505 #define SWIGTYPE_p_wxDCOverlay swig_types[39]
2506 #define SWIGTYPE_p_wxDCPenChanger swig_types[40]
2507 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[41]
2508 #define SWIGTYPE_p_wxDash swig_types[42]
2509 #define SWIGTYPE_p_wxDateEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2513 #define SWIGTYPE_p_wxEffects swig_types[47]
2514 #define SWIGTYPE_p_wxEncodingConverter swig_types[48]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvent swig_types[50]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2518 #define SWIGTYPE_p_wxFSFile swig_types[52]
2519 #define SWIGTYPE_p_wxFileSystem swig_types[53]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[55]
2522 #define SWIGTYPE_p_wxFont swig_types[56]
2523 #define SWIGTYPE_p_wxFontList swig_types[57]
2524 #define SWIGTYPE_p_wxFontMapper swig_types[58]
2525 #define SWIGTYPE_p_wxGBSizerItem swig_types[59]
2526 #define SWIGTYPE_p_wxGCDC swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObjListBase swig_types[61]
2528 #define SWIGTYPE_p_wxGDIObject swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsBrush swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsContext swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsFont swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsObject swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPath swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsPen swig_types[70]
2537 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[71]
2538 #define SWIGTYPE_p_wxGridBagSizer swig_types[72]
2539 #define SWIGTYPE_p_wxGridSizer swig_types[73]
2540 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconBundle swig_types[77]
2544 #define SWIGTYPE_p_wxIconLocation swig_types[78]
2545 #define SWIGTYPE_p_wxIconizeEvent swig_types[79]
2546 #define SWIGTYPE_p_wxIdleEvent swig_types[80]
2547 #define SWIGTYPE_p_wxImage swig_types[81]
2548 #define SWIGTYPE_p_wxImageHandler swig_types[82]
2549 #define SWIGTYPE_p_wxImageList swig_types[83]
2550 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[84]
2551 #define SWIGTYPE_p_wxInitDialogEvent swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLanguageInfo swig_types[88]
2555 #define SWIGTYPE_p_wxLayoutConstraints swig_types[89]
2556 #define SWIGTYPE_p_wxLocale swig_types[90]
2557 #define SWIGTYPE_p_wxMask swig_types[91]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMemoryDC swig_types[93]
2560 #define SWIGTYPE_p_wxMenu swig_types[94]
2561 #define SWIGTYPE_p_wxMenuBar swig_types[95]
2562 #define SWIGTYPE_p_wxMenuEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMenuItem swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFile swig_types[98]
2565 #define SWIGTYPE_p_wxMetaFileDC swig_types[99]
2566 #define SWIGTYPE_p_wxMirrorDC swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativeFontInfo swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData swig_types[107]
2574 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[108]
2575 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2578 #define SWIGTYPE_p_wxObject swig_types[112]
2579 #define SWIGTYPE_p_wxOverlay swig_types[113]
2580 #define SWIGTYPE_p_wxPCXHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNGHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPNMHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPaintDC swig_types[117]
2584 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPalette swig_types[119]
2586 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2588 #define SWIGTYPE_p_wxPen swig_types[122]
2589 #define SWIGTYPE_p_wxPenList swig_types[123]
2590 #define SWIGTYPE_p_wxPixelDataBase swig_types[124]
2591 #define SWIGTYPE_p_wxPoint swig_types[125]
2592 #define SWIGTYPE_p_wxPoint2D swig_types[126]
2593 #define SWIGTYPE_p_wxPoint2DDouble swig_types[127]
2594 #define SWIGTYPE_p_wxPostScriptDC swig_types[128]
2595 #define SWIGTYPE_p_wxPrintData swig_types[129]
2596 #define SWIGTYPE_p_wxPrinterDC swig_types[130]
2597 #define SWIGTYPE_p_wxPseudoDC swig_types[131]
2598 #define SWIGTYPE_p_wxPyApp swig_types[132]
2599 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[134]
2601 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[135]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[136]
2603 #define SWIGTYPE_p_wxPyLocale swig_types[137]
2604 #define SWIGTYPE_p_wxPySizer swig_types[138]
2605 #define SWIGTYPE_p_wxPyValidator swig_types[139]
2606 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[140]
2607 #define SWIGTYPE_p_wxRect swig_types[141]
2608 #define SWIGTYPE_p_wxRect2DDouble swig_types[142]
2609 #define SWIGTYPE_p_wxRegion swig_types[143]
2610 #define SWIGTYPE_p_wxRegionIterator swig_types[144]
2611 #define SWIGTYPE_p_wxRendererNative swig_types[145]
2612 #define SWIGTYPE_p_wxRendererVersion swig_types[146]
2613 #define SWIGTYPE_p_wxScreenDC swig_types[147]
2614 #define SWIGTYPE_p_wxScrollEvent swig_types[148]
2615 #define SWIGTYPE_p_wxScrollWinEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSetCursorEvent swig_types[150]
2617 #define SWIGTYPE_p_wxShowEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSize swig_types[152]
2619 #define SWIGTYPE_p_wxSizeEvent swig_types[153]
2620 #define SWIGTYPE_p_wxSizer swig_types[154]
2621 #define SWIGTYPE_p_wxSizerItem swig_types[155]
2622 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[156]
2623 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[157]
2624 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[158]
2625 #define SWIGTYPE_p_wxStockGDI swig_types[159]
2626 #define SWIGTYPE_p_wxString swig_types[160]
2627 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTIFFHandler swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDC swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _gdi_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_gdi_
2663 #define SWIG_name "_gdi_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2741 #define SWIG_From_long PyInt_FromLong
2744 SWIGINTERNINLINE PyObject
*
2745 SWIG_From_int (int value
)
2747 return SWIG_From_long (value
);
2753 # define LLONG_MIN LONG_LONG_MIN
2756 # define LLONG_MAX LONG_LONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2764 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2766 if (PyNumber_Check(obj
)) {
2767 if (val
) *val
= PyInt_AsLong(obj
);
2770 return SWIG_TypeError
;
2775 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2778 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2779 return SWIG_TypeError
;
2782 *val
= (unsigned long)v
;
2788 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2791 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
> UCHAR_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< unsigned char >(v
);
2803 SWIGINTERNINLINE PyObject
*
2804 SWIG_From_unsigned_SS_long (unsigned long value
)
2806 return (value
> LONG_MAX
) ?
2807 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2811 SWIGINTERNINLINE PyObject
*
2812 SWIG_From_unsigned_SS_char (unsigned char value
)
2814 return SWIG_From_unsigned_SS_long (value
);
2817 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2818 wxColour temp
, *obj
= &temp
;
2819 if ( other
== Py_None
) return false;
2820 if ( ! wxColour_helper(other
, &obj
) ) {
2824 return self
->operator==(*obj
);
2826 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2827 wxColour temp
, *obj
= &temp
;
2828 if ( other
== Py_None
) return true;
2829 if ( ! wxColour_helper(other
, &obj
)) {
2833 return self
->operator!=(*obj
);
2837 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2839 if (obj
== Py_True
) {
2840 if (val
) *val
= true;
2842 } else if (obj
== Py_False
) {
2843 if (val
) *val
= false;
2847 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2848 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2853 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2854 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2858 int alpha
= wxALPHA_OPAQUE
;
2861 green
= self
->Green();
2862 blue
= self
->Blue();
2863 alpha
= self
->Alpha();
2865 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2866 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2867 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2869 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2872 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2873 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2877 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2880 int res
= SWIG_AsVal_long (obj
, &v
);
2881 if (SWIG_IsOK(res
)) {
2882 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2883 return SWIG_OverflowError
;
2885 if (val
) *val
= static_cast< int >(v
);
2891 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2893 int count
= self
->GetDashes(&dashes
);
2894 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2895 PyObject
* retval
= PyList_New(0);
2896 for (int x
=0; x
<count
; x
++) {
2897 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2898 PyList_Append(retval
, pyint
);
2901 wxPyEndBlockThreads(blocked
);
2904 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2905 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2906 int size
= PyList_Size(pyDashes
);
2907 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2909 // black magic warning! The array of wxDashes needs to exist as
2910 // long as the pen does because wxPen does not copy the array. So
2911 // stick a copy in a Python string object and attach it to _self,
2912 // and then call SetDashes with a pointer to that array. Then
2913 // when the Python pen object is destroyed the array will be
2915 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2916 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2918 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2920 Py_DECREF(strDashes
);
2921 wxPyEndBlockThreads(blocked
);
2923 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2924 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2926 #include <wx/rawbmp.h>
2929 #include <wx/image.h>
2931 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2932 char** cArray
= NULL
;
2935 if (!PyList_Check(listOfStrings
)) {
2936 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2939 count
= PyList_Size(listOfStrings
);
2940 cArray
= new char*[count
];
2942 for(int x
=0; x
<count
; x
++) {
2943 // TODO: Need some validation and error checking here
2944 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2950 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2951 char** cArray
= NULL
;
2954 cArray
= ConvertListOfStrings(listOfStrings
);
2957 bmp
= new wxBitmap(cArray
);
2961 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2964 PyString_AsStringAndSize(bits
, &buf
, &length
);
2965 return new wxBitmap(buf
, width
, height
, depth
);
2967 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2968 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2969 wxSize
size(self
->GetWidth(), self
->GetHeight());
2972 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2973 wxMask
*mask
= new wxMask(*self
, colour
);
2974 self
->SetMask(mask
);
2976 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2977 self
->SetWidth(size
.x
);
2978 self
->SetHeight(size
.y
);
2980 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2981 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2983 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2984 // appears to me that the other platforms are already doing it, so I'll just
2985 // automatically do it for wxMSW here.
2987 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2988 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2990 #define wxPy_premultiply(p, a) (p)
2991 #define wxPy_unpremultiply(p, a) (p)
2995 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2996 buffer data
, int DATASIZE
,
2997 buffer alpha
, int ALPHASIZE
)
2999 if (DATASIZE
!= width
*height
*3) {
3000 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3004 if (ALPHASIZE
!= width
*height
) {
3005 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3009 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3010 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3012 // raise an exception...
3013 wxPyErr_SetString(PyExc_RuntimeError
,
3014 "Failed to gain raw access to bitmap data.");
3019 wxAlphaPixelData::Iterator
p(pixData
);
3020 for (int y
=0; y
<height
; y
++) {
3021 wxAlphaPixelData::Iterator rowStart
= p
;
3022 for (int x
=0; x
<width
; x
++) {
3023 byte a
= *(alpha
++);
3024 p
.Red() = wxPy_premultiply(*(data
++), a
);
3025 p
.Green() = wxPy_premultiply(*(data
++), a
);
3026 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3031 p
.OffsetY(pixData
, 1);
3036 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3038 if (DATASIZE
!= width
*height
*3) {
3039 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3043 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3044 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3046 // raise an exception...
3047 wxPyErr_SetString(PyExc_RuntimeError
,
3048 "Failed to gain raw access to bitmap data.");
3052 wxNativePixelData::Iterator
p(pixData
);
3053 for (int y
=0; y
<height
; y
++) {
3054 wxNativePixelData::Iterator rowStart
= p
;
3055 for (int x
=0; x
<width
; x
++) {
3056 p
.Red() = *(data
++);
3057 p
.Green() = *(data
++);
3058 p
.Blue() = *(data
++);
3062 p
.OffsetY(pixData
, 1);
3068 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3070 if (DATASIZE
!= width
*height
*4) {
3071 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3075 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3076 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3078 // raise an exception...
3079 wxPyErr_SetString(PyExc_RuntimeError
,
3080 "Failed to gain raw access to bitmap data.");
3085 wxAlphaPixelData::Iterator
p(pixData
);
3086 for (int y
=0; y
<height
; y
++) {
3087 wxAlphaPixelData::Iterator rowStart
= p
;
3088 for (int x
=0; x
<width
; x
++) {
3090 p
.Red() = wxPy_premultiply(*(data
++), a
);
3091 p
.Green() = wxPy_premultiply(*(data
++), a
);
3092 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3093 p
.Alpha() = a
; data
++;
3097 p
.OffsetY(pixData
, 1);
3103 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3105 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3106 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3107 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3109 self
->Green() = green
;
3110 self
->Blue() = blue
;
3112 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3113 PyObject
* rv
= PyTuple_New(3);
3114 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3115 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3116 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3120 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3122 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3123 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3124 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3125 self
->Red() = wxPy_premultiply(red
, alpha
);
3126 self
->Green() = wxPy_premultiply(green
, alpha
);
3127 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3128 self
->Alpha() = alpha
;
3130 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3131 PyObject
* rv
= PyTuple_New(4);
3132 int red
= self
->Red();
3133 int green
= self
->Green();
3134 int blue
= self
->Blue();
3135 int alpha
= self
->Alpha();
3137 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3138 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3139 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3140 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3143 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3144 if ( !colour
.IsOk() )
3145 return new wxMask(bitmap
, *wxBLACK
);
3147 return new wxMask(bitmap
, colour
);
3150 #include <wx/iconbndl.h>
3152 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3153 wxIcon
* icon
= new wxIcon();
3154 icon
->CopyFromBitmap(bmp
);
3157 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3158 char** cArray
= NULL
;
3161 cArray
= ConvertListOfStrings(listOfStrings
);
3164 icon
= new wxIcon(cArray
);
3168 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3169 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3171 return new wxIconLocation(*filename
, num
);
3176 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3178 self
->SetIndex(num
);
3183 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3185 return self
->GetIndex();
3190 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3192 wxImage
img(cursorName
, type
);
3193 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3194 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3195 return new wxCursor(img
);
3197 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3200 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3203 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3206 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3207 return self
->operator bool();
3210 #include <wx/fontutil.h>
3211 #include <wx/fontmap.h>
3212 #include <wx/fontenum.h>
3214 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3215 return self
->ToString();
3218 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3219 { wxPyRaiseNotImplemented(); return NULL
; }
3221 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3222 { wxPyRaiseNotImplemented(); return false; }
3225 SWIGINTERNINLINE PyObject
*
3226 SWIG_From_size_t (size_t value
)
3228 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3232 SWIGINTERNINLINE
int
3233 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3236 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3237 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3241 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3242 wxFontEncoding alt_enc
;
3243 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3244 return PyInt_FromLong(alt_enc
);
3250 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3251 wxNativeFontInfo nfi
;
3252 nfi
.FromString(info
);
3253 return new wxFont(nfi
);
3255 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3256 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3258 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3259 return wxFontBase::New(pixelSize
, family
,
3260 style
, weight
, underlined
,
3263 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3264 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3266 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3267 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3269 class wxPyFontEnumerator
: public wxFontEnumerator
{
3271 wxPyFontEnumerator() {}
3272 ~wxPyFontEnumerator() {}
3274 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3275 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3280 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3281 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3284 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3286 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3287 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3288 ret
= wxArrayString2PyList_helper(arr
);
3289 wxPyEndBlockThreads(blocked
);
3292 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3294 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3295 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3296 ret
= wxArrayString2PyList_helper(arr
);
3297 wxPyEndBlockThreads(blocked
);
3303 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3306 loc
= new wxLocale();
3308 loc
= new wxLocale(language
, flags
);
3309 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3310 // for the floating point conversions and such to work right.
3311 #if PY_VERSION_HEX < 0x02040000
3312 setlocale(LC_NUMERIC
, "C");
3316 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3317 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3318 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3319 // for the floating point conversions and such to work right.
3320 #if PY_VERSION_HEX < 0x02040000
3321 setlocale(LC_NUMERIC
, "C");
3325 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3326 bool rc
= self
->Init(language
, flags
);
3327 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3328 // for the floating point conversions and such to work right.
3329 #if PY_VERSION_HEX < 0x02040000
3330 setlocale(LC_NUMERIC
, "C");
3335 class wxPyLocale
: public wxLocale
3340 wxPyLocale(const wxChar
*szName
, // name (for messages)
3341 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3342 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3343 bool bLoadDefault
= true, // preload wxstd.mo?
3344 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3346 wxPyLocale(int language
, // wxLanguage id or custom language
3347 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3351 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3352 const wxChar
*szDomain
= NULL
) const;
3353 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3354 const wxChar
*szOrigString2
, size_t n
,
3355 const wxChar
*szDomain
= NULL
) const;
3357 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3358 const wxChar
*szDomain
= NULL
) const;
3359 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3360 const wxChar
*szOrigString2
, size_t n
,
3361 const wxChar
*szDomain
= NULL
) const;
3365 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3368 wxPyLocale::wxPyLocale() : wxLocale()
3372 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3373 const wxChar
*szShort
, // dir prefix (for msg files)
3374 const wxChar
*szLocale
, // locale (for setlocale)
3375 bool bLoadDefault
, // preload wxstd.mo?
3376 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3377 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3381 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3382 int flags
) : wxLocale(language
, flags
)
3386 wxPyLocale::~wxPyLocale()
3390 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3391 const wxChar
*szDomain
) const
3393 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3394 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3397 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3398 const wxChar
*szOrigString2
, size_t n
,
3399 const wxChar
*szDomain
) const
3401 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3402 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3405 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3406 const wxChar
*szDomain
) const
3409 static wxString str
;
3410 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.
3411 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3412 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3413 PyObject
* param1
= wx2PyString(szOrigString
);
3414 PyObject
* param2
= wx2PyString(szDomain
);
3415 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3419 str
= Py2wxString(ret
);
3423 wxPyEndBlockThreads(blocked
);
3424 return (found
? (wxChar
*)str
.c_str() : NULL
);
3427 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3428 const wxChar
*szOrigString2
, size_t n
,
3429 const wxChar
*szDomain
) const
3432 static wxString str
;
3433 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.
3434 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3435 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3436 PyObject
* param1
= wx2PyString(szOrigString
);
3437 PyObject
* param2
= wx2PyString(szOrigString2
);
3438 PyObject
* param4
= wx2PyString(szDomain
);
3439 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3444 str
= Py2wxString(ret
);
3448 wxPyEndBlockThreads(blocked
);
3449 return (found
? (wxChar
*)str
.c_str() : NULL
);
3452 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3455 loc
= new wxPyLocale();
3457 loc
= new wxPyLocale(language
, flags
);
3458 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3459 // for the floating point conversions and such to work right.
3460 #if PY_VERSION_HEX < 0x02040000
3461 setlocale(LC_NUMERIC
, "C");
3466 #include "wx/wxPython/pydrawxxx.h"
3468 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3470 self
->GetPixel(x
, y
, &col
);
3473 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3475 self
->GetPixel(pt
, &col
);
3480 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3482 if (PyNumber_Check(obj
)) {
3483 if (val
) *val
= PyFloat_AsDouble(obj
);
3486 return SWIG_TypeError
;
3489 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3491 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3494 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3496 self
->GetClippingBox(rect
);
3499 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3501 self
->GetPartialTextExtents(text
, widths
);
3505 #define SWIG_From_double PyFloat_FromDouble
3507 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3508 self
->SetLogicalOrigin(point
.x
, point
.y
);
3510 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3511 self
->SetDeviceOrigin(point
.x
, point
.y
);
3513 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3514 self
->CalcBoundingBox(point
.x
, point
.y
);
3516 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3517 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3519 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3520 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3522 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3523 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3525 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3526 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3528 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3529 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3531 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3532 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3535 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3543 #include <wx/dcbuffer.h>
3546 #include <wx/dcps.h>
3549 #include <wx/metafile.h>
3552 #include <wx/graphics.h>
3555 #if !wxUSE_GRAPHICS_CONTEXT
3556 // C++ stub classes for platforms or build configurations that don't have
3557 // wxGraphicsContext yet.
3560 class wxGraphicsObject
: public wxObject
3563 wxGraphicsObject( wxGraphicsRenderer
* ) {
3564 PyErr_SetString(PyExc_NotImplementedError
,
3565 "wx.GraphicsObject is not available on this platform.");
3567 wxGraphicsObject( const wxGraphicsObject
& ) {}
3568 virtual ~wxGraphicsObject() {}
3569 bool IsNull() const { return false; }
3570 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3575 class wxGraphicsPen
: public wxGraphicsObject
3578 virtual ~wxGraphicsPen() {}
3580 wxGraphicsPen wxNullGraphicsPen
;
3584 class wxGraphicsBrush
: public wxGraphicsObject
3587 wxGraphicsBrush() {}
3588 virtual ~wxGraphicsBrush() {}
3590 wxGraphicsBrush wxNullGraphicsBrush
;
3594 class wxGraphicsFont
: public wxGraphicsObject
3598 virtual ~wxGraphicsFont() {}
3600 wxGraphicsFont wxNullGraphicsFont
;
3604 class wxGraphicsPath
: public wxGraphicsObject
3607 wxGraphicsPath(wxGraphicsRenderer
* ) {
3608 PyErr_SetString(PyExc_NotImplementedError
,
3609 "wx.GraphicsPath is not available on this platform.");
3611 virtual ~wxGraphicsPath() {}
3613 virtual wxGraphicsPath
*Clone() const { return NULL
; }
3615 void MoveToPoint( wxDouble
, wxDouble
) {}
3616 void MoveToPoint( const wxPoint2DDouble
& ) {}
3617 void AddLineToPoint( wxDouble
, wxDouble
) {}
3618 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3619 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3620 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3621 void AddPath( const wxGraphicsPath
* ) {}
3622 void CloseSubpath() {}
3623 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3624 wxPoint2DDouble
GetCurrentPoint() { reutrn
wxPoint2D(0,0); }
3625 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3626 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3628 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3629 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3630 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3631 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3633 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3634 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3635 void * GetNativePath() const { return NULL
; }
3636 void UnGetNativePath(void *) {}
3637 void Transform( wxGraphicsMatrix
* ) {}
3638 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) {}
3639 wxRect2D
GetBox() { return wxRect2D(0,0,0,0); }
3641 bool Contains( wxDouble
, wxDouble
, int ) { return false; }
3642 bool Contains( const wxPoint2DDouble
& , int ) { return false; }
3646 class wxGraphicsMatrix
: public wxGraphicsObject
3649 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3650 PyErr_SetString(PyExc_NotImplementedError
,
3651 "wx.GraphicsMatrix is not available on this platform.");
3653 virtual ~wxGraphicsMatrix() {}
3654 virtual wxGraphicsMatrix
*Clone() const { return NULL
; }
3655 virtual void Concat( const wxGraphicsMatrix
* ) {}
3656 virtual void Copy( const wxGraphicsMatrix
* ) {}
3657 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3658 wxDouble
, wxDouble
) {}
3659 virtual void Invert() {}
3660 virtual bool IsEqual( const wxGraphicsMatrix
* t
) const {}
3661 virtual bool IsIdentity() { return false; }
3662 virtual void Translate( wxDouble
, wxDouble
) {}
3663 virtual void Scale( wxDouble
, wxDouble
) {}
3664 virtual void Rotate( wxDouble
) {}
3665 virtual void TransformPoint( wxDouble
*, wxDouble
* ) {}
3666 virtual void TransformDistance( wxDouble
*, wxDouble
* ) {}
3667 virtual void * GetNativeMatrix() const { return NULL
; }
3672 class wxGraphicsContext
: public wxGraphicsObject
3676 wxGraphicsContext(wxGraphicsRenderer
* ) {
3677 PyErr_SetString(PyExc_NotImplementedError
,
3678 "wx.GraphicsContext is not available on this platform.");
3681 virtual ~wxGraphicsContext() {}
3683 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3684 PyErr_SetString(PyExc_NotImplementedError
,
3685 "wx.GraphicsContext is not available on this platform.");
3688 static wxGraphicsContext
* CreateFromNative( void * ) {
3689 PyErr_SetString(PyExc_NotImplementedError
,
3690 "wx.GraphicsContext is not available on this platform.");
3693 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3694 PyErr_SetString(PyExc_NotImplementedError
,
3695 "wx.GraphicsContext is not available on this platform.");
3698 static wxGraphicsContext
* Create( wxWindow
* ) {
3699 PyErr_SetString(PyExc_NotImplementedError
,
3700 "wx.GraphicsContext is not available on this platform.");
3703 wxGraphicsPath
* CreatePath() { return NULL
; }
3705 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return NULL
; }
3707 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return NULL
; }
3709 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3710 const wxColour
&, const wxColour
&) { return NULL
; }
3712 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3713 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3714 const wxColour
&oColor
, const wxColour
&cColor
) { return NULL
; }
3716 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return NULL
; }
3718 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3719 wxDouble
, wxDouble
) { return NULL
; }
3721 virtual void PushState() {}
3722 virtual void PopState() {}
3723 virtual void Clip( const wxRegion
& ) {}
3724 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3725 virtual void ResetClip() {}
3726 virtual void * GetNativeContext() { return NULL
; }
3727 virtual void Translate( wxDouble
, wxDouble
) {}
3728 virtual void Scale( wxDouble
, wxDouble
) {}
3729 virtual void Rotate( wxDouble
) {}
3730 virtual void ConcatTransform( const wxGraphicsMatrix
* ) {}
3731 virtual void SetTransform( const wxGraphicsMatrix
* ) {}
3732 virtual void GetTransform( wxGraphicsMatrix
* ) {}
3734 virtual void SetPen( const wxGraphicsPen
& ) {}
3735 void SetPen( const wxPen
& ) {}
3737 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3738 void SetBrush( const wxBrush
& ) {}
3740 virtual void SetFont( const wxGraphicsFont
& ) {}
3741 void SetFont( const wxFont
&, const wxColour
& ) {}
3743 virtual void StrokePath( const wxGraphicsPath
* ) {}
3744 virtual void FillPath( const wxGraphicsPath
*, int ) {}
3745 virtual void DrawPath( const wxGraphicsPath
*, int ) {}
3747 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3748 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3749 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3750 wxDouble
*, wxDouble
* ) const {}
3751 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3753 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3754 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3756 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3757 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3758 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3759 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3760 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3761 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3762 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3763 virtual bool ShouldOffset() const { return false; }
3767 class wxGraphicsRenderer
: public wxObject
3770 wxGraphicsRenderer() {
3771 PyErr_SetString(PyExc_NotImplementedError
,
3772 "wx.GraphicsRenderer is not available on this platform.");
3775 virtual ~wxGraphicsRenderer() {}
3777 static wxGraphicsRenderer
* GetDefaultRenderer(
3778 PyErr_SetString(PyExc_NotImplementedError
,
3779 "wx.GraphicsRenderer is not available on this platform.");
3782 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3783 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3784 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3785 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3787 virtual wxGraphicsPath
* CreatePath() { return NULL
; }
3789 virtual wxGraphicsMatrix
* CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3790 wxDouble
, wxDouble
) { return NULL
; }
3792 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGaphicsPen
; }
3793 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGaphicsBrush
; }
3794 virtual wxGraphicsBrush
CreateLinearGradientBrush(xDouble
, wxDouble
, wxDouble
, wxDouble
,
3795 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3796 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3797 const wxColour
&, const wxColour
&) { return wxNullGaphicsBrush
; }
3798 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGaphicsFont
; }
3803 class wxGCDC
: public wxWindowDC
3806 wxGCDC(const wxWindowDC
&) {
3807 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3808 PyErr_SetString(PyExc_NotImplementedError
,
3809 "wxGCDC is not available on this platform.");
3810 wxPyEndBlockThreads(blocked
);
3814 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3815 PyErr_SetString(PyExc_NotImplementedError
,
3816 "wxGCDC is not available on this platform.");
3817 wxPyEndBlockThreads(blocked
);
3820 virtual ~wxGCDC() {}
3822 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3823 void SetGraphicsContext( wxGraphicsContext
* ) {}
3828 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3829 wxDouble width
= 0.0,
3831 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3832 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3833 PyObject
* rv
= PyTuple_New(2);
3834 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3835 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3838 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3839 wxArrayDouble widths
;
3840 self
->GetPartialTextExtents(text
, widths
);
3843 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3844 size_t c1
, c2
, count
;
3845 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3846 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3848 if ( beginP
!= NULL
&& endP
!= NULL
)
3850 count
= wxMin(c1
, c2
);
3851 self
->StrokeLines(count
, beginP
, endP
);
3857 #include "wx/dcgraph.h"
3860 #include <wx/overlay.h>
3864 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3865 self
->AddColour(name
, wxColour(red
, green
, blue
));
3868 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3869 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3870 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3871 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3874 #include <wx/effects.h>
3877 #include "wx/renderer.h"
3880 SWIGINTERNINLINE PyObject
*
3881 SWIG_From_bool (bool value
)
3883 return PyBool_FromLong(value
? 1 : 0);
3887 #include "wx/wxPython/pseudodc.h"
3889 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3891 self
->GetIdBounds(id
, rect
);
3897 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3898 PyObject
*resultobj
= 0;
3899 wxGDIObject
*result
= 0 ;
3901 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3903 if (!wxPyCheckForApp()) SWIG_fail
;
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 result
= (wxGDIObject
*)new wxGDIObject();
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3916 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3917 PyObject
*resultobj
= 0;
3918 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3921 PyObject
*swig_obj
[1] ;
3923 if (!args
) SWIG_fail
;
3925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3926 if (!SWIG_IsOK(res1
)) {
3927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3929 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= SWIG_Py_Void();
3944 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3945 PyObject
*resultobj
= 0;
3946 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3950 PyObject
*swig_obj
[1] ;
3952 if (!args
) SWIG_fail
;
3954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3955 if (!SWIG_IsOK(res1
)) {
3956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3958 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 result
= (bool)(arg1
)->IsNull();
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3974 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3976 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3977 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3978 return SWIG_Py_Void();
3981 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3982 return SWIG_Python_InitShadowInstance(args
);
3985 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
= 0;
3987 byte arg1
= (byte
) 0 ;
3988 byte arg2
= (byte
) 0 ;
3989 byte arg3
= (byte
) 0 ;
3990 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3991 wxColour
*result
= 0 ;
3992 unsigned char val1
;
3994 unsigned char val2
;
3996 unsigned char val3
;
3998 unsigned char val4
;
4000 PyObject
* obj0
= 0 ;
4001 PyObject
* obj1
= 0 ;
4002 PyObject
* obj2
= 0 ;
4003 PyObject
* obj3
= 0 ;
4004 char * kwnames
[] = {
4005 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4010 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4011 if (!SWIG_IsOK(ecode1
)) {
4012 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4014 arg1
= static_cast< byte
>(val1
);
4017 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4018 if (!SWIG_IsOK(ecode2
)) {
4019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4021 arg2
= static_cast< byte
>(val2
);
4024 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4025 if (!SWIG_IsOK(ecode3
)) {
4026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4028 arg3
= static_cast< byte
>(val3
);
4031 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4032 if (!SWIG_IsOK(ecode4
)) {
4033 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4035 arg4
= static_cast< byte
>(val4
);
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4050 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
= 0;
4052 wxString
*arg1
= 0 ;
4053 wxColour
*result
= 0 ;
4054 bool temp1
= false ;
4055 PyObject
* obj0
= 0 ;
4056 char * kwnames
[] = {
4057 (char *) "colorName", NULL
4060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4062 arg1
= wxString_in_helper(obj0
);
4063 if (arg1
== NULL
) SWIG_fail
;
4067 if (!wxPyCheckForApp()) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4088 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
*resultobj
= 0;
4090 unsigned long arg1
;
4091 wxColour
*result
= 0 ;
4092 unsigned long val1
;
4094 PyObject
* obj0
= 0 ;
4095 char * kwnames
[] = {
4096 (char *) "colRGB", NULL
4099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4100 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4101 if (!SWIG_IsOK(ecode1
)) {
4102 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4104 arg1
= static_cast< unsigned long >(val1
);
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 result
= (wxColour
*)new wxColour(arg1
);
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4118 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4119 PyObject
*resultobj
= 0;
4120 wxColour
*arg1
= (wxColour
*) 0 ;
4123 PyObject
*swig_obj
[1] ;
4125 if (!args
) SWIG_fail
;
4127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4128 if (!SWIG_IsOK(res1
)) {
4129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4131 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4139 resultobj
= SWIG_Py_Void();
4146 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4147 PyObject
*resultobj
= 0;
4148 wxColour
*arg1
= (wxColour
*) 0 ;
4152 PyObject
*swig_obj
[1] ;
4154 if (!args
) SWIG_fail
;
4156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4157 if (!SWIG_IsOK(res1
)) {
4158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4160 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 result
= (byte
)(arg1
)->Red();
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4174 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4175 PyObject
*resultobj
= 0;
4176 wxColour
*arg1
= (wxColour
*) 0 ;
4180 PyObject
*swig_obj
[1] ;
4182 if (!args
) SWIG_fail
;
4184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4185 if (!SWIG_IsOK(res1
)) {
4186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4188 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 result
= (byte
)(arg1
)->Green();
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4195 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4202 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4203 PyObject
*resultobj
= 0;
4204 wxColour
*arg1
= (wxColour
*) 0 ;
4208 PyObject
*swig_obj
[1] ;
4210 if (!args
) SWIG_fail
;
4212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4213 if (!SWIG_IsOK(res1
)) {
4214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4216 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 result
= (byte
)(arg1
)->Blue();
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4223 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4230 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4231 PyObject
*resultobj
= 0;
4232 wxColour
*arg1
= (wxColour
*) 0 ;
4236 PyObject
*swig_obj
[1] ;
4238 if (!args
) SWIG_fail
;
4240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4241 if (!SWIG_IsOK(res1
)) {
4242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4244 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 result
= (byte
)(arg1
)->Alpha();
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4251 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4258 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4259 PyObject
*resultobj
= 0;
4260 wxColour
*arg1
= (wxColour
*) 0 ;
4264 PyObject
*swig_obj
[1] ;
4266 if (!args
) SWIG_fail
;
4268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4269 if (!SWIG_IsOK(res1
)) {
4270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4272 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (bool)(arg1
)->IsOk();
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4288 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
= 0;
4290 wxColour
*arg1
= (wxColour
*) 0 ;
4294 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4297 unsigned char val2
;
4299 unsigned char val3
;
4301 unsigned char val4
;
4303 unsigned char val5
;
4305 PyObject
* obj0
= 0 ;
4306 PyObject
* obj1
= 0 ;
4307 PyObject
* obj2
= 0 ;
4308 PyObject
* obj3
= 0 ;
4309 PyObject
* obj4
= 0 ;
4310 char * kwnames
[] = {
4311 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4316 if (!SWIG_IsOK(res1
)) {
4317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4319 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4320 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4321 if (!SWIG_IsOK(ecode2
)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4324 arg2
= static_cast< byte
>(val2
);
4325 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4326 if (!SWIG_IsOK(ecode3
)) {
4327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4329 arg3
= static_cast< byte
>(val3
);
4330 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4331 if (!SWIG_IsOK(ecode4
)) {
4332 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4334 arg4
= static_cast< byte
>(val4
);
4336 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4337 if (!SWIG_IsOK(ecode5
)) {
4338 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4340 arg5
= static_cast< byte
>(val5
);
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4348 resultobj
= SWIG_Py_Void();
4355 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
= 0;
4357 wxColour
*arg1
= (wxColour
*) 0 ;
4358 unsigned long arg2
;
4361 unsigned long val2
;
4363 PyObject
* obj0
= 0 ;
4364 PyObject
* obj1
= 0 ;
4365 char * kwnames
[] = {
4366 (char *) "self",(char *) "colRGB", NULL
4369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4371 if (!SWIG_IsOK(res1
)) {
4372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4374 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4375 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4376 if (!SWIG_IsOK(ecode2
)) {
4377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4379 arg2
= static_cast< unsigned long >(val2
);
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= SWIG_Py_Void();
4393 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
= 0;
4395 wxColour
*arg1
= (wxColour
*) 0 ;
4396 wxString
*arg2
= 0 ;
4399 bool temp2
= false ;
4400 PyObject
* obj0
= 0 ;
4401 PyObject
* obj1
= 0 ;
4402 char * kwnames
[] = {
4403 (char *) "self",(char *) "colourName", NULL
4406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4408 if (!SWIG_IsOK(res1
)) {
4409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4411 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4413 arg2
= wxString_in_helper(obj1
);
4414 if (arg2
== NULL
) SWIG_fail
;
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 (arg1
)->Set((wxString
const &)*arg2
);
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= SWIG_Py_Void();
4438 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
*resultobj
= 0;
4440 wxColour
*arg1
= (wxColour
*) 0 ;
4441 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4447 PyObject
* obj0
= 0 ;
4448 PyObject
* obj1
= 0 ;
4449 char * kwnames
[] = {
4450 (char *) "self",(char *) "flags", NULL
4453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4455 if (!SWIG_IsOK(res1
)) {
4456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4458 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4460 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4461 if (!SWIG_IsOK(ecode2
)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4464 arg2
= static_cast< long >(val2
);
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4485 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4486 PyObject
*resultobj
= 0;
4487 wxColour
*arg1
= (wxColour
*) 0 ;
4491 PyObject
*swig_obj
[1] ;
4493 if (!args
) SWIG_fail
;
4495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4496 if (!SWIG_IsOK(res1
)) {
4497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4499 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= SWIG_From_long(static_cast< long >(result
));
4513 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
= 0;
4515 wxColour
*arg1
= (wxColour
*) 0 ;
4516 PyObject
*arg2
= (PyObject
*) 0 ;
4520 PyObject
* obj0
= 0 ;
4521 PyObject
* obj1
= 0 ;
4522 char * kwnames
[] = {
4523 (char *) "self",(char *) "other", NULL
4526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4528 if (!SWIG_IsOK(res1
)) {
4529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4531 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4534 result
= (bool)wxColour___eq__(arg1
,arg2
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4546 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4547 PyObject
*resultobj
= 0;
4548 wxColour
*arg1
= (wxColour
*) 0 ;
4549 PyObject
*arg2
= (PyObject
*) 0 ;
4553 PyObject
* obj0
= 0 ;
4554 PyObject
* obj1
= 0 ;
4555 char * kwnames
[] = {
4556 (char *) "self",(char *) "other", NULL
4559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4561 if (!SWIG_IsOK(res1
)) {
4562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4564 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4567 result
= (bool)wxColour___ne__(arg1
,arg2
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4579 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
= 0;
4581 wxColour
*arg1
= (wxColour
*) 0 ;
4582 bool arg2
= (bool) false ;
4583 PyObject
*result
= 0 ;
4588 PyObject
* obj0
= 0 ;
4589 PyObject
* obj1
= 0 ;
4590 char * kwnames
[] = {
4591 (char *) "self",(char *) "includeAlpha", NULL
4594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4596 if (!SWIG_IsOK(res1
)) {
4597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4599 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4601 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4602 if (!SWIG_IsOK(ecode2
)) {
4603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4605 arg2
= static_cast< bool >(val2
);
4608 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4618 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4619 PyObject
*resultobj
= 0;
4620 wxColour
*arg1
= (wxColour
*) 0 ;
4621 unsigned long result
;
4624 PyObject
*swig_obj
[1] ;
4626 if (!args
) SWIG_fail
;
4628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4629 if (!SWIG_IsOK(res1
)) {
4630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4632 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4634 result
= (unsigned long)wxColour_GetRGB(arg1
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4637 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4644 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4646 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4647 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4648 return SWIG_Py_Void();
4651 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4652 return SWIG_Python_InitShadowInstance(args
);
4655 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
*resultobj
= 0;
4658 unsigned char *arg2
= (unsigned char *) 0 ;
4659 unsigned char *arg3
= (unsigned char *) 0 ;
4660 unsigned char *arg4
= (unsigned char *) 0 ;
4661 wxPalette
*result
= 0 ;
4670 PyObject
* obj0
= 0 ;
4671 PyObject
* obj1
= 0 ;
4672 PyObject
* obj2
= 0 ;
4673 PyObject
* obj3
= 0 ;
4674 char * kwnames
[] = {
4675 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4679 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4680 if (!SWIG_IsOK(ecode1
)) {
4681 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4683 arg1
= static_cast< int >(val1
);
4684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4685 if (!SWIG_IsOK(res2
)) {
4686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4688 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4689 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4690 if (!SWIG_IsOK(res3
)) {
4691 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4693 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4694 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4695 if (!SWIG_IsOK(res4
)) {
4696 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4698 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4700 if (!wxPyCheckForApp()) SWIG_fail
;
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4713 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4714 PyObject
*resultobj
= 0;
4715 wxPalette
*arg1
= (wxPalette
*) 0 ;
4718 PyObject
*swig_obj
[1] ;
4720 if (!args
) SWIG_fail
;
4722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4723 if (!SWIG_IsOK(res1
)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4726 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= SWIG_Py_Void();
4741 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
= 0;
4743 wxPalette
*arg1
= (wxPalette
*) 0 ;
4750 unsigned char val2
;
4752 unsigned char val3
;
4754 unsigned char val4
;
4756 PyObject
* obj0
= 0 ;
4757 PyObject
* obj1
= 0 ;
4758 PyObject
* obj2
= 0 ;
4759 PyObject
* obj3
= 0 ;
4760 char * kwnames
[] = {
4761 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4766 if (!SWIG_IsOK(res1
)) {
4767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4769 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4770 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4771 if (!SWIG_IsOK(ecode2
)) {
4772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4774 arg2
= static_cast< byte
>(val2
);
4775 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4776 if (!SWIG_IsOK(ecode3
)) {
4777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4779 arg3
= static_cast< byte
>(val3
);
4780 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4781 if (!SWIG_IsOK(ecode4
)) {
4782 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4784 arg4
= static_cast< byte
>(val4
);
4786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4787 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4791 resultobj
= SWIG_From_int(static_cast< int >(result
));
4798 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
*resultobj
= 0;
4800 wxPalette
*arg1
= (wxPalette
*) 0 ;
4802 byte
*arg3
= (byte
*) 0 ;
4803 byte
*arg4
= (byte
*) 0 ;
4804 byte
*arg5
= (byte
*) 0 ;
4811 int res3
= SWIG_TMPOBJ
;
4813 int res4
= SWIG_TMPOBJ
;
4815 int res5
= SWIG_TMPOBJ
;
4816 PyObject
* obj0
= 0 ;
4817 PyObject
* obj1
= 0 ;
4818 char * kwnames
[] = {
4819 (char *) "self",(char *) "pixel", NULL
4825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4827 if (!SWIG_IsOK(res1
)) {
4828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4830 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4832 if (!SWIG_IsOK(ecode2
)) {
4833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4835 arg2
= static_cast< int >(val2
);
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4845 if (SWIG_IsTmpObj(res3
)) {
4846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4848 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4851 if (SWIG_IsTmpObj(res4
)) {
4852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4854 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4857 if (SWIG_IsTmpObj(res5
)) {
4858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4860 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4869 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4870 PyObject
*resultobj
= 0;
4871 wxPalette
*arg1
= (wxPalette
*) 0 ;
4875 PyObject
*swig_obj
[1] ;
4877 if (!args
) SWIG_fail
;
4879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4880 if (!SWIG_IsOK(res1
)) {
4881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4883 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 resultobj
= SWIG_From_int(static_cast< int >(result
));
4897 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4898 PyObject
*resultobj
= 0;
4899 wxPalette
*arg1
= (wxPalette
*) 0 ;
4903 PyObject
*swig_obj
[1] ;
4905 if (!args
) SWIG_fail
;
4907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4908 if (!SWIG_IsOK(res1
)) {
4909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4911 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4914 result
= (bool)(arg1
)->IsOk();
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4927 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4929 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4930 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4931 return SWIG_Py_Void();
4934 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4935 return SWIG_Python_InitShadowInstance(args
);
4938 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
= 0;
4940 wxColour
*arg1
= 0 ;
4941 int arg2
= (int) 1 ;
4942 int arg3
= (int) wxSOLID
;
4949 PyObject
* obj0
= 0 ;
4950 PyObject
* obj1
= 0 ;
4951 PyObject
* obj2
= 0 ;
4952 char * kwnames
[] = {
4953 (char *) "colour",(char *) "width",(char *) "style", NULL
4956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4959 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4963 if (!SWIG_IsOK(ecode2
)) {
4964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4966 arg2
= static_cast< int >(val2
);
4969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4970 if (!SWIG_IsOK(ecode3
)) {
4971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4973 arg3
= static_cast< int >(val3
);
4976 if (!wxPyCheckForApp()) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4989 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4990 PyObject
*resultobj
= 0;
4991 wxPen
*arg1
= (wxPen
*) 0 ;
4994 PyObject
*swig_obj
[1] ;
4996 if (!args
) SWIG_fail
;
4998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4999 if (!SWIG_IsOK(res1
)) {
5000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5002 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= SWIG_Py_Void();
5017 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5018 PyObject
*resultobj
= 0;
5019 wxPen
*arg1
= (wxPen
*) 0 ;
5023 PyObject
*swig_obj
[1] ;
5025 if (!args
) SWIG_fail
;
5027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5028 if (!SWIG_IsOK(res1
)) {
5029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5031 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 result
= (int)(arg1
)->GetCap();
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= SWIG_From_int(static_cast< int >(result
));
5045 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5046 PyObject
*resultobj
= 0;
5047 wxPen
*arg1
= (wxPen
*) 0 ;
5051 PyObject
*swig_obj
[1] ;
5053 if (!args
) SWIG_fail
;
5055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5056 if (!SWIG_IsOK(res1
)) {
5057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5059 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 result
= (arg1
)->GetColour();
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5073 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5074 PyObject
*resultobj
= 0;
5075 wxPen
*arg1
= (wxPen
*) 0 ;
5079 PyObject
*swig_obj
[1] ;
5081 if (!args
) SWIG_fail
;
5083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5084 if (!SWIG_IsOK(res1
)) {
5085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5087 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 result
= (int)(arg1
)->GetJoin();
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 resultobj
= SWIG_From_int(static_cast< int >(result
));
5101 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5102 PyObject
*resultobj
= 0;
5103 wxPen
*arg1
= (wxPen
*) 0 ;
5107 PyObject
*swig_obj
[1] ;
5109 if (!args
) SWIG_fail
;
5111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5112 if (!SWIG_IsOK(res1
)) {
5113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5115 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 result
= (int)(arg1
)->GetStyle();
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= SWIG_From_int(static_cast< int >(result
));
5129 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5130 PyObject
*resultobj
= 0;
5131 wxPen
*arg1
= (wxPen
*) 0 ;
5135 PyObject
*swig_obj
[1] ;
5137 if (!args
) SWIG_fail
;
5139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5140 if (!SWIG_IsOK(res1
)) {
5141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5143 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 result
= (int)(arg1
)->GetWidth();
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5150 resultobj
= SWIG_From_int(static_cast< int >(result
));
5157 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5158 PyObject
*resultobj
= 0;
5159 wxPen
*arg1
= (wxPen
*) 0 ;
5163 PyObject
*swig_obj
[1] ;
5165 if (!args
) SWIG_fail
;
5167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5168 if (!SWIG_IsOK(res1
)) {
5169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5171 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= (bool)(arg1
)->IsOk();
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5187 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
= 0;
5189 wxPen
*arg1
= (wxPen
*) 0 ;
5195 PyObject
* obj0
= 0 ;
5196 PyObject
* obj1
= 0 ;
5197 char * kwnames
[] = {
5198 (char *) "self",(char *) "cap_style", NULL
5201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5203 if (!SWIG_IsOK(res1
)) {
5204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5206 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5208 if (!SWIG_IsOK(ecode2
)) {
5209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5211 arg2
= static_cast< int >(val2
);
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 (arg1
)->SetCap(arg2
);
5215 wxPyEndAllowThreads(__tstate
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5218 resultobj
= SWIG_Py_Void();
5225 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
*resultobj
= 0;
5227 wxPen
*arg1
= (wxPen
*) 0 ;
5228 wxColour
*arg2
= 0 ;
5232 PyObject
* obj0
= 0 ;
5233 PyObject
* obj1
= 0 ;
5234 char * kwnames
[] = {
5235 (char *) "self",(char *) "colour", NULL
5238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5240 if (!SWIG_IsOK(res1
)) {
5241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5243 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5246 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 (arg1
)->SetColour(*arg2
);
5251 wxPyEndAllowThreads(__tstate
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5254 resultobj
= SWIG_Py_Void();
5261 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
*resultobj
= 0;
5263 wxPen
*arg1
= (wxPen
*) 0 ;
5269 PyObject
* obj0
= 0 ;
5270 PyObject
* obj1
= 0 ;
5271 char * kwnames
[] = {
5272 (char *) "self",(char *) "join_style", NULL
5275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5277 if (!SWIG_IsOK(res1
)) {
5278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5280 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5282 if (!SWIG_IsOK(ecode2
)) {
5283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5285 arg2
= static_cast< int >(val2
);
5287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5288 (arg1
)->SetJoin(arg2
);
5289 wxPyEndAllowThreads(__tstate
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5292 resultobj
= SWIG_Py_Void();
5299 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5300 PyObject
*resultobj
= 0;
5301 wxPen
*arg1
= (wxPen
*) 0 ;
5307 PyObject
* obj0
= 0 ;
5308 PyObject
* obj1
= 0 ;
5309 char * kwnames
[] = {
5310 (char *) "self",(char *) "style", NULL
5313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5315 if (!SWIG_IsOK(res1
)) {
5316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5318 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5320 if (!SWIG_IsOK(ecode2
)) {
5321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5323 arg2
= static_cast< int >(val2
);
5325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 (arg1
)->SetStyle(arg2
);
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5330 resultobj
= SWIG_Py_Void();
5337 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
*resultobj
= 0;
5339 wxPen
*arg1
= (wxPen
*) 0 ;
5345 PyObject
* obj0
= 0 ;
5346 PyObject
* obj1
= 0 ;
5347 char * kwnames
[] = {
5348 (char *) "self",(char *) "width", NULL
5351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5353 if (!SWIG_IsOK(res1
)) {
5354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5356 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5358 if (!SWIG_IsOK(ecode2
)) {
5359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5361 arg2
= static_cast< int >(val2
);
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 (arg1
)->SetWidth(arg2
);
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= SWIG_Py_Void();
5375 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
= 0;
5377 wxPen
*arg1
= (wxPen
*) 0 ;
5379 wxDash
*arg3
= (wxDash
*) 0 ;
5382 PyObject
* obj0
= 0 ;
5383 PyObject
* obj1
= 0 ;
5384 char * kwnames
[] = {
5385 (char *) "self",(char *) "dashes", NULL
5388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5390 if (!SWIG_IsOK(res1
)) {
5391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5393 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5395 arg2
= PyList_Size(obj1
);
5396 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5397 if (arg3
== NULL
) SWIG_fail
;
5400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5401 (arg1
)->SetDashes(arg2
,arg3
);
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5405 resultobj
= SWIG_Py_Void();
5407 if (arg3
) delete [] arg3
;
5412 if (arg3
) delete [] arg3
;
5418 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5419 PyObject
*resultobj
= 0;
5420 wxPen
*arg1
= (wxPen
*) 0 ;
5421 PyObject
*result
= 0 ;
5424 PyObject
*swig_obj
[1] ;
5426 if (!args
) SWIG_fail
;
5428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5429 if (!SWIG_IsOK(res1
)) {
5430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5432 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5446 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
= 0;
5448 wxPen
*arg1
= (wxPen
*) 0 ;
5449 PyObject
*arg2
= (PyObject
*) 0 ;
5450 PyObject
*arg3
= (PyObject
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5454 PyObject
* obj1
= 0 ;
5455 PyObject
* obj2
= 0 ;
5456 char * kwnames
[] = {
5457 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5462 if (!SWIG_IsOK(res1
)) {
5463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5465 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5470 wxPen__SetDashes(arg1
,arg2
,arg3
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= SWIG_Py_Void();
5481 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5482 PyObject
*resultobj
= 0;
5483 wxPen
*arg1
= (wxPen
*) 0 ;
5487 PyObject
*swig_obj
[1] ;
5489 if (!args
) SWIG_fail
;
5491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5492 if (!SWIG_IsOK(res1
)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5495 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5502 resultobj
= SWIG_From_int(static_cast< int >(result
));
5509 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5510 PyObject
*resultobj
= 0;
5511 wxPen
*arg1
= (wxPen
*) 0 ;
5512 wxBitmap
*result
= 0 ;
5515 PyObject
*swig_obj
[1] ;
5517 if (!args
) SWIG_fail
;
5519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5520 if (!SWIG_IsOK(res1
)) {
5521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5523 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 result
= (wxBitmap
*)(arg1
)->GetStipple();
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5537 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
= 0;
5539 wxPen
*arg1
= (wxPen
*) 0 ;
5540 wxBitmap
*arg2
= 0 ;
5545 PyObject
* obj0
= 0 ;
5546 PyObject
* obj1
= 0 ;
5547 char * kwnames
[] = {
5548 (char *) "self",(char *) "stipple", NULL
5551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5553 if (!SWIG_IsOK(res1
)) {
5554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5556 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5557 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5558 if (!SWIG_IsOK(res2
)) {
5559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5564 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 (arg1
)->SetStipple(*arg2
);
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5571 resultobj
= SWIG_Py_Void();
5578 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
= 0;
5580 wxPen
*arg1
= (wxPen
*) 0 ;
5581 wxPen
*arg2
= (wxPen
*) 0 ;
5587 PyObject
* obj0
= 0 ;
5588 PyObject
* obj1
= 0 ;
5589 char * kwnames
[] = {
5590 (char *) "self",(char *) "other", NULL
5593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5595 if (!SWIG_IsOK(res1
)) {
5596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5598 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5599 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5600 if (!SWIG_IsOK(res2
)) {
5601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5603 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5606 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5619 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
= 0;
5621 wxPen
*arg1
= (wxPen
*) 0 ;
5622 wxPen
*arg2
= (wxPen
*) 0 ;
5628 PyObject
* obj0
= 0 ;
5629 PyObject
* obj1
= 0 ;
5630 char * kwnames
[] = {
5631 (char *) "self",(char *) "other", NULL
5634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5636 if (!SWIG_IsOK(res1
)) {
5637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5639 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5640 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5641 if (!SWIG_IsOK(res2
)) {
5642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5644 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5660 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5662 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5663 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5664 return SWIG_Py_Void();
5667 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5668 return SWIG_Python_InitShadowInstance(args
);
5671 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
= 0;
5673 wxColour
*arg1
= 0 ;
5674 int arg2
= (int) wxSOLID
;
5675 wxBrush
*result
= 0 ;
5679 PyObject
* obj0
= 0 ;
5680 PyObject
* obj1
= 0 ;
5681 char * kwnames
[] = {
5682 (char *) "colour",(char *) "style", NULL
5685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5688 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5692 if (!SWIG_IsOK(ecode2
)) {
5693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5695 arg2
= static_cast< int >(val2
);
5698 if (!wxPyCheckForApp()) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5711 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
= 0;
5713 wxBitmap
*arg1
= 0 ;
5714 wxBrush
*result
= 0 ;
5717 PyObject
* obj0
= 0 ;
5718 char * kwnames
[] = {
5719 (char *) "stippleBitmap", NULL
5722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5723 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5724 if (!SWIG_IsOK(res1
)) {
5725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5728 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5730 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5732 if (!wxPyCheckForApp()) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5745 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5746 PyObject
*resultobj
= 0;
5747 wxBrush
*arg1
= (wxBrush
*) 0 ;
5750 PyObject
*swig_obj
[1] ;
5752 if (!args
) SWIG_fail
;
5754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5755 if (!SWIG_IsOK(res1
)) {
5756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5758 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5766 resultobj
= SWIG_Py_Void();
5773 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
*resultobj
= 0;
5775 wxBrush
*arg1
= (wxBrush
*) 0 ;
5776 wxColour
*arg2
= 0 ;
5780 PyObject
* obj0
= 0 ;
5781 PyObject
* obj1
= 0 ;
5782 char * kwnames
[] = {
5783 (char *) "self",(char *) "col", NULL
5786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5788 if (!SWIG_IsOK(res1
)) {
5789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5791 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5794 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 (arg1
)->SetColour((wxColour
const &)*arg2
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 resultobj
= SWIG_Py_Void();
5809 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
= 0;
5811 wxBrush
*arg1
= (wxBrush
*) 0 ;
5817 PyObject
* obj0
= 0 ;
5818 PyObject
* obj1
= 0 ;
5819 char * kwnames
[] = {
5820 (char *) "self",(char *) "style", NULL
5823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5825 if (!SWIG_IsOK(res1
)) {
5826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5828 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5830 if (!SWIG_IsOK(ecode2
)) {
5831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5833 arg2
= static_cast< int >(val2
);
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 (arg1
)->SetStyle(arg2
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= SWIG_Py_Void();
5847 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
*resultobj
= 0;
5849 wxBrush
*arg1
= (wxBrush
*) 0 ;
5850 wxBitmap
*arg2
= 0 ;
5855 PyObject
* obj0
= 0 ;
5856 PyObject
* obj1
= 0 ;
5857 char * kwnames
[] = {
5858 (char *) "self",(char *) "stipple", NULL
5861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5863 if (!SWIG_IsOK(res1
)) {
5864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5866 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5867 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5868 if (!SWIG_IsOK(res2
)) {
5869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5874 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= SWIG_Py_Void();
5888 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5889 PyObject
*resultobj
= 0;
5890 wxBrush
*arg1
= (wxBrush
*) 0 ;
5894 PyObject
*swig_obj
[1] ;
5896 if (!args
) SWIG_fail
;
5898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5899 if (!SWIG_IsOK(res1
)) {
5900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5902 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 result
= ((wxBrush
const *)arg1
)->GetColour();
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5916 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5917 PyObject
*resultobj
= 0;
5918 wxBrush
*arg1
= (wxBrush
*) 0 ;
5922 PyObject
*swig_obj
[1] ;
5924 if (!args
) SWIG_fail
;
5926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5927 if (!SWIG_IsOK(res1
)) {
5928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5930 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5937 resultobj
= SWIG_From_int(static_cast< int >(result
));
5944 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5945 PyObject
*resultobj
= 0;
5946 wxBrush
*arg1
= (wxBrush
*) 0 ;
5947 wxBitmap
*result
= 0 ;
5950 PyObject
*swig_obj
[1] ;
5952 if (!args
) SWIG_fail
;
5954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5955 if (!SWIG_IsOK(res1
)) {
5956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5958 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5961 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5972 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5973 PyObject
*resultobj
= 0;
5974 wxBrush
*arg1
= (wxBrush
*) 0 ;
5978 PyObject
*swig_obj
[1] ;
5980 if (!args
) SWIG_fail
;
5982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5983 if (!SWIG_IsOK(res1
)) {
5984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5986 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5990 wxPyEndAllowThreads(__tstate
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6002 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6003 PyObject
*resultobj
= 0;
6004 wxBrush
*arg1
= (wxBrush
*) 0 ;
6008 PyObject
*swig_obj
[1] ;
6010 if (!args
) SWIG_fail
;
6012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6013 if (!SWIG_IsOK(res1
)) {
6014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6016 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= (bool)(arg1
)->IsOk();
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6032 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6035 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6036 return SWIG_Py_Void();
6039 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6040 return SWIG_Python_InitShadowInstance(args
);
6043 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
= 0;
6045 wxString
*arg1
= 0 ;
6046 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6047 wxBitmap
*result
= 0 ;
6048 bool temp1
= false ;
6051 PyObject
* obj0
= 0 ;
6052 PyObject
* obj1
= 0 ;
6053 char * kwnames
[] = {
6054 (char *) "name",(char *) "type", NULL
6057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6059 arg1
= wxString_in_helper(obj0
);
6060 if (arg1
== NULL
) SWIG_fail
;
6064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6065 if (!SWIG_IsOK(ecode2
)) {
6066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6068 arg2
= static_cast< wxBitmapType
>(val2
);
6071 if (!wxPyCheckForApp()) SWIG_fail
;
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6074 wxPyEndAllowThreads(__tstate
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6092 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6093 PyObject
*resultobj
= 0;
6094 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6097 PyObject
*swig_obj
[1] ;
6099 if (!args
) SWIG_fail
;
6101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6102 if (!SWIG_IsOK(res1
)) {
6103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6105 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6111 resultobj
= SWIG_Py_Void();
6118 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
*resultobj
= 0;
6122 int arg3
= (int) -1 ;
6123 wxBitmap
*result
= 0 ;
6130 PyObject
* obj0
= 0 ;
6131 PyObject
* obj1
= 0 ;
6132 PyObject
* obj2
= 0 ;
6133 char * kwnames
[] = {
6134 (char *) "width",(char *) "height",(char *) "depth", NULL
6137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6138 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6139 if (!SWIG_IsOK(ecode1
)) {
6140 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6142 arg1
= static_cast< int >(val1
);
6143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6144 if (!SWIG_IsOK(ecode2
)) {
6145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6147 arg2
= static_cast< int >(val2
);
6149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6150 if (!SWIG_IsOK(ecode3
)) {
6151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6153 arg3
= static_cast< int >(val3
);
6156 if (!wxPyCheckForApp()) SWIG_fail
;
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6169 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
= 0;
6172 wxBitmap
*result
= 0 ;
6175 PyObject
* obj0
= 0 ;
6176 char * kwnames
[] = {
6177 (char *) "icon", NULL
6180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6181 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6182 if (!SWIG_IsOK(res1
)) {
6183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6188 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6190 if (!wxPyCheckForApp()) SWIG_fail
;
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6193 wxPyEndAllowThreads(__tstate
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6203 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
*resultobj
= 0;
6206 int arg2
= (int) -1 ;
6207 wxBitmap
*result
= 0 ;
6212 PyObject
* obj0
= 0 ;
6213 PyObject
* obj1
= 0 ;
6214 char * kwnames
[] = {
6215 (char *) "image",(char *) "depth", NULL
6218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6219 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6220 if (!SWIG_IsOK(res1
)) {
6221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6226 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6229 if (!SWIG_IsOK(ecode2
)) {
6230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6232 arg2
= static_cast< int >(val2
);
6235 if (!wxPyCheckForApp()) SWIG_fail
;
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6248 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
*resultobj
= 0;
6250 PyObject
*arg1
= (PyObject
*) 0 ;
6251 wxBitmap
*result
= 0 ;
6252 PyObject
* obj0
= 0 ;
6253 char * kwnames
[] = {
6254 (char *) "listOfStrings", NULL
6257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6260 if (!wxPyCheckForApp()) SWIG_fail
;
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6273 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
= 0;
6275 PyObject
*arg1
= (PyObject
*) 0 ;
6278 int arg4
= (int) 1 ;
6279 wxBitmap
*result
= 0 ;
6286 PyObject
* obj0
= 0 ;
6287 PyObject
* obj1
= 0 ;
6288 PyObject
* obj2
= 0 ;
6289 PyObject
* obj3
= 0 ;
6290 char * kwnames
[] = {
6291 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6297 if (!SWIG_IsOK(ecode2
)) {
6298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6300 arg2
= static_cast< int >(val2
);
6301 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6302 if (!SWIG_IsOK(ecode3
)) {
6303 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6305 arg3
= static_cast< int >(val3
);
6307 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6308 if (!SWIG_IsOK(ecode4
)) {
6309 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6311 arg4
= static_cast< int >(val4
);
6314 if (!wxPyCheckForApp()) SWIG_fail
;
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6327 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6328 PyObject
*resultobj
= 0;
6329 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6333 PyObject
*swig_obj
[1] ;
6335 if (!args
) SWIG_fail
;
6337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6338 if (!SWIG_IsOK(res1
)) {
6339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6341 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6343 result
= (long)(arg1
)->GetHandle();
6344 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= SWIG_From_long(static_cast< long >(result
));
6353 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6354 PyObject
*resultobj
= 0;
6355 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6361 PyObject
* obj0
= 0 ;
6362 PyObject
* obj1
= 0 ;
6363 char * kwnames
[] = {
6364 (char *) "self",(char *) "handle", NULL
6367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6369 if (!SWIG_IsOK(res1
)) {
6370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6372 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6373 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6374 if (!SWIG_IsOK(ecode2
)) {
6375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6377 arg2
= static_cast< long >(val2
);
6379 wxBitmap_SetHandle(arg1
,arg2
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 resultobj
= SWIG_Py_Void();
6389 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6390 PyObject
*resultobj
= 0;
6391 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6395 PyObject
*swig_obj
[1] ;
6397 if (!args
) SWIG_fail
;
6399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6400 if (!SWIG_IsOK(res1
)) {
6401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6403 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6405 result
= (bool)(arg1
)->IsOk();
6406 if (PyErr_Occurred()) SWIG_fail
;
6409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6417 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6418 PyObject
*resultobj
= 0;
6419 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6423 PyObject
*swig_obj
[1] ;
6425 if (!args
) SWIG_fail
;
6427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6428 if (!SWIG_IsOK(res1
)) {
6429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6431 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6433 result
= (int)(arg1
)->GetWidth();
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= SWIG_From_int(static_cast< int >(result
));
6443 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6444 PyObject
*resultobj
= 0;
6445 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6449 PyObject
*swig_obj
[1] ;
6451 if (!args
) SWIG_fail
;
6453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6454 if (!SWIG_IsOK(res1
)) {
6455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6457 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6459 result
= (int)(arg1
)->GetHeight();
6460 if (PyErr_Occurred()) SWIG_fail
;
6462 resultobj
= SWIG_From_int(static_cast< int >(result
));
6469 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6470 PyObject
*resultobj
= 0;
6471 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6475 PyObject
*swig_obj
[1] ;
6477 if (!args
) SWIG_fail
;
6479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6480 if (!SWIG_IsOK(res1
)) {
6481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6483 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6485 result
= (int)(arg1
)->GetDepth();
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 resultobj
= SWIG_From_int(static_cast< int >(result
));
6495 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6496 PyObject
*resultobj
= 0;
6497 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6501 PyObject
*swig_obj
[1] ;
6503 if (!args
) SWIG_fail
;
6505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6506 if (!SWIG_IsOK(res1
)) {
6507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6509 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6511 result
= wxBitmap_GetSize(arg1
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6521 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6522 PyObject
*resultobj
= 0;
6523 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6524 SwigValueWrapper
<wxImage
> result
;
6527 PyObject
*swig_obj
[1] ;
6529 if (!args
) SWIG_fail
;
6531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6532 if (!SWIG_IsOK(res1
)) {
6533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6535 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6537 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6538 if (PyErr_Occurred()) SWIG_fail
;
6540 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6547 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6548 PyObject
*resultobj
= 0;
6549 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6550 wxMask
*result
= 0 ;
6553 PyObject
*swig_obj
[1] ;
6555 if (!args
) SWIG_fail
;
6557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6558 if (!SWIG_IsOK(res1
)) {
6559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6561 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6563 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6564 if (PyErr_Occurred()) SWIG_fail
;
6566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6573 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
*resultobj
= 0;
6575 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6576 wxMask
*arg2
= (wxMask
*) 0 ;
6580 PyObject
* obj0
= 0 ;
6581 PyObject
* obj1
= 0 ;
6582 char * kwnames
[] = {
6583 (char *) "self",(char *) "mask", NULL
6586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6588 if (!SWIG_IsOK(res1
)) {
6589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6591 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6592 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6593 if (!SWIG_IsOK(res2
)) {
6594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6597 (arg1
)->SetMask(arg2
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6600 resultobj
= SWIG_Py_Void();
6607 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
= 0;
6609 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6610 wxColour
*arg2
= 0 ;
6614 PyObject
* obj0
= 0 ;
6615 PyObject
* obj1
= 0 ;
6616 char * kwnames
[] = {
6617 (char *) "self",(char *) "colour", NULL
6620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6622 if (!SWIG_IsOK(res1
)) {
6623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6625 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6628 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6631 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 resultobj
= SWIG_Py_Void();
6641 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
*resultobj
= 0;
6643 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6645 SwigValueWrapper
<wxBitmap
> result
;
6649 PyObject
* obj0
= 0 ;
6650 PyObject
* obj1
= 0 ;
6651 char * kwnames
[] = {
6652 (char *) "self",(char *) "rect", NULL
6655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6657 if (!SWIG_IsOK(res1
)) {
6658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6660 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6663 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6666 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6669 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6676 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
= 0;
6678 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6679 wxString
*arg2
= 0 ;
6681 wxPalette
*arg4
= (wxPalette
*) NULL
;
6685 bool temp2
= false ;
6690 PyObject
* obj0
= 0 ;
6691 PyObject
* obj1
= 0 ;
6692 PyObject
* obj2
= 0 ;
6693 PyObject
* obj3
= 0 ;
6694 char * kwnames
[] = {
6695 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6700 if (!SWIG_IsOK(res1
)) {
6701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6703 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6705 arg2
= wxString_in_helper(obj1
);
6706 if (arg2
== NULL
) SWIG_fail
;
6709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6710 if (!SWIG_IsOK(ecode3
)) {
6711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6713 arg3
= static_cast< wxBitmapType
>(val3
);
6715 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6716 if (!SWIG_IsOK(res4
)) {
6717 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6719 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6722 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6742 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
= 0;
6744 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6745 wxString
*arg2
= 0 ;
6750 bool temp2
= false ;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6755 PyObject
* obj2
= 0 ;
6756 char * kwnames
[] = {
6757 (char *) "self",(char *) "name",(char *) "type", NULL
6760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6762 if (!SWIG_IsOK(res1
)) {
6763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6765 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6767 arg2
= wxString_in_helper(obj1
);
6768 if (arg2
== NULL
) SWIG_fail
;
6771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6772 if (!SWIG_IsOK(ecode3
)) {
6773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6775 arg3
= static_cast< wxBitmapType
>(val3
);
6777 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6797 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6798 PyObject
*resultobj
= 0;
6799 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6800 wxPalette
*result
= 0 ;
6803 PyObject
*swig_obj
[1] ;
6805 if (!args
) SWIG_fail
;
6807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6808 if (!SWIG_IsOK(res1
)) {
6809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6811 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6813 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6823 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
= 0;
6825 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6826 wxPalette
*arg2
= 0 ;
6831 PyObject
* obj0
= 0 ;
6832 PyObject
* obj1
= 0 ;
6833 char * kwnames
[] = {
6834 (char *) "self",(char *) "palette", NULL
6837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6839 if (!SWIG_IsOK(res1
)) {
6840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6842 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6843 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6844 if (!SWIG_IsOK(res2
)) {
6845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6850 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6852 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= SWIG_Py_Void();
6862 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
= 0;
6864 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6871 PyObject
* obj0
= 0 ;
6872 PyObject
* obj1
= 0 ;
6873 char * kwnames
[] = {
6874 (char *) "self",(char *) "icon", NULL
6877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6879 if (!SWIG_IsOK(res1
)) {
6880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6882 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6883 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6884 if (!SWIG_IsOK(res2
)) {
6885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6890 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6892 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6904 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
*resultobj
= 0;
6906 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6912 PyObject
* obj0
= 0 ;
6913 PyObject
* obj1
= 0 ;
6914 char * kwnames
[] = {
6915 (char *) "self",(char *) "height", NULL
6918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6920 if (!SWIG_IsOK(res1
)) {
6921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6923 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6925 if (!SWIG_IsOK(ecode2
)) {
6926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6928 arg2
= static_cast< int >(val2
);
6930 (arg1
)->SetHeight(arg2
);
6931 if (PyErr_Occurred()) SWIG_fail
;
6933 resultobj
= SWIG_Py_Void();
6940 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6941 PyObject
*resultobj
= 0;
6942 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6948 PyObject
* obj0
= 0 ;
6949 PyObject
* obj1
= 0 ;
6950 char * kwnames
[] = {
6951 (char *) "self",(char *) "width", NULL
6954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6956 if (!SWIG_IsOK(res1
)) {
6957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6959 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6961 if (!SWIG_IsOK(ecode2
)) {
6962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6964 arg2
= static_cast< int >(val2
);
6966 (arg1
)->SetWidth(arg2
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6969 resultobj
= SWIG_Py_Void();
6976 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
= 0;
6978 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6984 PyObject
* obj0
= 0 ;
6985 PyObject
* obj1
= 0 ;
6986 char * kwnames
[] = {
6987 (char *) "self",(char *) "depth", NULL
6990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6992 if (!SWIG_IsOK(res1
)) {
6993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6995 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6997 if (!SWIG_IsOK(ecode2
)) {
6998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
7000 arg2
= static_cast< int >(val2
);
7002 (arg1
)->SetDepth(arg2
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 resultobj
= SWIG_Py_Void();
7012 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
*resultobj
= 0;
7014 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7019 PyObject
* obj0
= 0 ;
7020 PyObject
* obj1
= 0 ;
7021 char * kwnames
[] = {
7022 (char *) "self",(char *) "size", NULL
7025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7027 if (!SWIG_IsOK(res1
)) {
7028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7030 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7033 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7036 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= SWIG_Py_Void();
7046 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
= 0;
7048 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7049 wxCursor
*arg2
= 0 ;
7055 PyObject
* obj0
= 0 ;
7056 PyObject
* obj1
= 0 ;
7057 char * kwnames
[] = {
7058 (char *) "self",(char *) "cursor", NULL
7061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7063 if (!SWIG_IsOK(res1
)) {
7064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
7066 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7067 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
7068 if (!SWIG_IsOK(res2
)) {
7069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
7074 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
7076 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7088 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
= 0;
7090 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7091 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7099 char * kwnames
[] = {
7100 (char *) "self",(char *) "other", NULL
7103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7105 if (!SWIG_IsOK(res1
)) {
7106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7108 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7109 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7110 if (!SWIG_IsOK(res2
)) {
7111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7113 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7115 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7116 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7127 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
= 0;
7129 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7130 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7136 PyObject
* obj0
= 0 ;
7137 PyObject
* obj1
= 0 ;
7138 char * kwnames
[] = {
7139 (char *) "self",(char *) "other", NULL
7142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7144 if (!SWIG_IsOK(res1
)) {
7145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7147 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7148 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7149 if (!SWIG_IsOK(res2
)) {
7150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7152 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7154 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7166 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7169 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7170 return SWIG_Py_Void();
7173 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7174 return SWIG_Python_InitShadowInstance(args
);
7177 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
= 0;
7185 wxBitmap
*result
= 0 ;
7192 PyObject
* obj0
= 0 ;
7193 PyObject
* obj1
= 0 ;
7194 PyObject
* obj2
= 0 ;
7195 PyObject
* obj3
= 0 ;
7196 char * kwnames
[] = {
7197 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7201 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7202 if (!SWIG_IsOK(ecode1
)) {
7203 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7205 arg1
= static_cast< int >(val1
);
7206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7207 if (!SWIG_IsOK(ecode2
)) {
7208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7210 arg2
= static_cast< int >(val2
);
7212 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7216 if (obj3
!= Py_None
) {
7217 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7222 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7232 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
*resultobj
= 0;
7238 wxBitmap
*result
= 0 ;
7244 PyObject
* obj0
= 0 ;
7245 PyObject
* obj1
= 0 ;
7246 PyObject
* obj2
= 0 ;
7247 char * kwnames
[] = {
7248 (char *) "width",(char *) "height",(char *) "data", NULL
7251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7252 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7253 if (!SWIG_IsOK(ecode1
)) {
7254 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7256 arg1
= static_cast< int >(val1
);
7257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7258 if (!SWIG_IsOK(ecode2
)) {
7259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7261 arg2
= static_cast< int >(val2
);
7263 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7267 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7277 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
= 0;
7283 wxBitmap
*result
= 0 ;
7289 PyObject
* obj0
= 0 ;
7290 PyObject
* obj1
= 0 ;
7291 PyObject
* obj2
= 0 ;
7292 char * kwnames
[] = {
7293 (char *) "width",(char *) "height",(char *) "data", NULL
7296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7297 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7298 if (!SWIG_IsOK(ecode1
)) {
7299 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7301 arg1
= static_cast< int >(val1
);
7302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7303 if (!SWIG_IsOK(ecode2
)) {
7304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7306 arg2
= static_cast< int >(val2
);
7308 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7312 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7322 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7323 PyObject
*resultobj
= 0;
7324 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7328 PyObject
*swig_obj
[1] ;
7330 if (!args
) SWIG_fail
;
7332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7333 if (!SWIG_IsOK(res1
)) {
7334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7336 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7338 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7348 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7349 PyObject
*resultobj
= 0;
7350 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7354 PyObject
*swig_obj
[1] ;
7356 if (!args
) SWIG_fail
;
7358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7359 if (!SWIG_IsOK(res1
)) {
7360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7362 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7364 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 resultobj
= SWIG_From_int(static_cast< int >(result
));
7374 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7375 PyObject
*resultobj
= 0;
7376 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7380 PyObject
*swig_obj
[1] ;
7382 if (!args
) SWIG_fail
;
7384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7385 if (!SWIG_IsOK(res1
)) {
7386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7388 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7390 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 resultobj
= SWIG_From_int(static_cast< int >(result
));
7400 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7401 PyObject
*resultobj
= 0;
7402 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7406 PyObject
*swig_obj
[1] ;
7408 if (!args
) SWIG_fail
;
7410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7411 if (!SWIG_IsOK(res1
)) {
7412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7414 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7416 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7417 if (PyErr_Occurred()) SWIG_fail
;
7419 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7426 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7427 PyObject
*resultobj
= 0;
7428 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7432 PyObject
*swig_obj
[1] ;
7434 if (!args
) SWIG_fail
;
7436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7437 if (!SWIG_IsOK(res1
)) {
7438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7440 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7442 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7443 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= SWIG_From_int(static_cast< int >(result
));
7452 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7454 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7455 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7456 return SWIG_Py_Void();
7459 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7460 PyObject
*resultobj
= 0;
7461 wxBitmap
*arg1
= 0 ;
7462 wxNativePixelData
*result
= 0 ;
7466 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7468 if (!SWIG_IsOK(res1
)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7474 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7476 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7486 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7487 PyObject
*resultobj
= 0;
7488 wxBitmap
*arg1
= 0 ;
7490 wxNativePixelData
*result
= 0 ;
7495 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7497 if (!SWIG_IsOK(res1
)) {
7498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7503 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7506 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7509 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7519 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7520 PyObject
*resultobj
= 0;
7521 wxBitmap
*arg1
= 0 ;
7524 wxNativePixelData
*result
= 0 ;
7530 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7532 if (!SWIG_IsOK(res1
)) {
7533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7538 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7541 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7545 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7548 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7558 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7562 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7565 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7568 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7571 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7575 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7580 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7581 PyObject
*resultobj
= 0;
7582 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7585 PyObject
*swig_obj
[1] ;
7587 if (!args
) SWIG_fail
;
7589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7590 if (!SWIG_IsOK(res1
)) {
7591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7593 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= SWIG_Py_Void();
7606 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7607 PyObject
*resultobj
= 0;
7608 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7609 wxNativePixelData_Accessor result
;
7612 PyObject
*swig_obj
[1] ;
7614 if (!args
) SWIG_fail
;
7616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7617 if (!SWIG_IsOK(res1
)) {
7618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7620 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7622 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7632 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7633 PyObject
*resultobj
= 0;
7634 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7637 PyObject
*swig_obj
[1] ;
7639 if (!args
) SWIG_fail
;
7641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7642 if (!SWIG_IsOK(res1
)) {
7643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7645 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7650 resultobj
= SWIG_Py_Void();
7657 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7658 PyObject
*resultobj
= 0;
7659 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7663 PyObject
*swig_obj
[1] ;
7665 if (!args
) SWIG_fail
;
7667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7668 if (!SWIG_IsOK(res1
)) {
7669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7671 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7673 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7685 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7687 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7688 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7689 return SWIG_Py_Void();
7692 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7693 return SWIG_Python_InitShadowInstance(args
);
7696 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7697 PyObject
*resultobj
= 0;
7698 wxNativePixelData
*arg1
= 0 ;
7699 wxNativePixelData_Accessor
*result
= 0 ;
7703 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7705 if (!SWIG_IsOK(res1
)) {
7706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7711 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7713 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7723 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7724 PyObject
*resultobj
= 0;
7725 wxBitmap
*arg1
= 0 ;
7726 wxNativePixelData
*arg2
= 0 ;
7727 wxNativePixelData_Accessor
*result
= 0 ;
7733 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7735 if (!SWIG_IsOK(res1
)) {
7736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7741 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7742 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7743 if (!SWIG_IsOK(res2
)) {
7744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7749 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7751 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7761 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7762 PyObject
*resultobj
= 0;
7763 wxNativePixelData_Accessor
*result
= 0 ;
7765 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7767 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7777 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7781 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7784 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7787 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7790 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7794 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7799 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7800 PyObject
*resultobj
= 0;
7801 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7804 PyObject
*swig_obj
[1] ;
7806 if (!args
) SWIG_fail
;
7808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7809 if (!SWIG_IsOK(res1
)) {
7810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7812 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7818 resultobj
= SWIG_Py_Void();
7825 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7826 PyObject
*resultobj
= 0;
7827 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7828 wxNativePixelData
*arg2
= 0 ;
7833 PyObject
* obj0
= 0 ;
7834 PyObject
* obj1
= 0 ;
7835 char * kwnames
[] = {
7836 (char *) "self",(char *) "data", NULL
7839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7841 if (!SWIG_IsOK(res1
)) {
7842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7844 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7846 if (!SWIG_IsOK(res2
)) {
7847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7852 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7854 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_Py_Void();
7864 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7865 PyObject
*resultobj
= 0;
7866 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7870 PyObject
*swig_obj
[1] ;
7872 if (!args
) SWIG_fail
;
7874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7875 if (!SWIG_IsOK(res1
)) {
7876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7878 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7880 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7881 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7892 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7893 PyObject
*resultobj
= 0;
7894 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7897 PyObject
*swig_obj
[1] ;
7899 if (!args
) SWIG_fail
;
7901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7902 if (!SWIG_IsOK(res1
)) {
7903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7905 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7907 wxNativePixelData_Accessor_nextPixel(arg1
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7910 resultobj
= SWIG_Py_Void();
7917 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
= 0;
7919 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7920 wxNativePixelData
*arg2
= 0 ;
7931 PyObject
* obj0
= 0 ;
7932 PyObject
* obj1
= 0 ;
7933 PyObject
* obj2
= 0 ;
7934 PyObject
* obj3
= 0 ;
7935 char * kwnames
[] = {
7936 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7941 if (!SWIG_IsOK(res1
)) {
7942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7944 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7945 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7946 if (!SWIG_IsOK(res2
)) {
7947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7952 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7954 if (!SWIG_IsOK(ecode3
)) {
7955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7957 arg3
= static_cast< int >(val3
);
7958 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7959 if (!SWIG_IsOK(ecode4
)) {
7960 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7962 arg4
= static_cast< int >(val4
);
7964 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= SWIG_Py_Void();
7974 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
= 0;
7976 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7977 wxNativePixelData
*arg2
= 0 ;
7985 PyObject
* obj0
= 0 ;
7986 PyObject
* obj1
= 0 ;
7987 PyObject
* obj2
= 0 ;
7988 char * kwnames
[] = {
7989 (char *) "self",(char *) "data",(char *) "x", NULL
7992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7994 if (!SWIG_IsOK(res1
)) {
7995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7997 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7998 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7999 if (!SWIG_IsOK(res2
)) {
8000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8005 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8006 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8007 if (!SWIG_IsOK(ecode3
)) {
8008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8010 arg3
= static_cast< int >(val3
);
8012 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8015 resultobj
= SWIG_Py_Void();
8022 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8023 PyObject
*resultobj
= 0;
8024 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8025 wxNativePixelData
*arg2
= 0 ;
8033 PyObject
* obj0
= 0 ;
8034 PyObject
* obj1
= 0 ;
8035 PyObject
* obj2
= 0 ;
8036 char * kwnames
[] = {
8037 (char *) "self",(char *) "data",(char *) "y", NULL
8040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8042 if (!SWIG_IsOK(res1
)) {
8043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8045 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8047 if (!SWIG_IsOK(res2
)) {
8048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8053 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8054 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8055 if (!SWIG_IsOK(ecode3
)) {
8056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8058 arg3
= static_cast< int >(val3
);
8060 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8063 resultobj
= SWIG_Py_Void();
8070 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
*resultobj
= 0;
8072 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8073 wxNativePixelData
*arg2
= 0 ;
8084 PyObject
* obj0
= 0 ;
8085 PyObject
* obj1
= 0 ;
8086 PyObject
* obj2
= 0 ;
8087 PyObject
* obj3
= 0 ;
8088 char * kwnames
[] = {
8089 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8094 if (!SWIG_IsOK(res1
)) {
8095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8097 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8098 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8099 if (!SWIG_IsOK(res2
)) {
8100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8105 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8107 if (!SWIG_IsOK(ecode3
)) {
8108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8110 arg3
= static_cast< int >(val3
);
8111 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8112 if (!SWIG_IsOK(ecode4
)) {
8113 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8115 arg4
= static_cast< int >(val4
);
8117 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 resultobj
= SWIG_Py_Void();
8127 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
= 0;
8129 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8135 unsigned char val2
;
8137 unsigned char val3
;
8139 unsigned char val4
;
8141 PyObject
* obj0
= 0 ;
8142 PyObject
* obj1
= 0 ;
8143 PyObject
* obj2
= 0 ;
8144 PyObject
* obj3
= 0 ;
8145 char * kwnames
[] = {
8146 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8151 if (!SWIG_IsOK(res1
)) {
8152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8154 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8155 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8156 if (!SWIG_IsOK(ecode2
)) {
8157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8159 arg2
= static_cast< byte
>(val2
);
8160 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8161 if (!SWIG_IsOK(ecode3
)) {
8162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8164 arg3
= static_cast< byte
>(val3
);
8165 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8166 if (!SWIG_IsOK(ecode4
)) {
8167 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8169 arg4
= static_cast< byte
>(val4
);
8171 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8174 resultobj
= SWIG_Py_Void();
8181 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8182 PyObject
*resultobj
= 0;
8183 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8184 PyObject
*result
= 0 ;
8187 PyObject
*swig_obj
[1] ;
8189 if (!args
) SWIG_fail
;
8191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8192 if (!SWIG_IsOK(res1
)) {
8193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8195 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8197 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8207 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8209 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8210 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8211 return SWIG_Py_Void();
8214 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8215 return SWIG_Python_InitShadowInstance(args
);
8218 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8219 PyObject
*resultobj
= 0;
8220 wxBitmap
*arg1
= 0 ;
8221 wxAlphaPixelData
*result
= 0 ;
8225 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8227 if (!SWIG_IsOK(res1
)) {
8228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8233 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8235 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8245 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8246 PyObject
*resultobj
= 0;
8247 wxBitmap
*arg1
= 0 ;
8249 wxAlphaPixelData
*result
= 0 ;
8254 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8256 if (!SWIG_IsOK(res1
)) {
8257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8262 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8265 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8268 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8278 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8279 PyObject
*resultobj
= 0;
8280 wxBitmap
*arg1
= 0 ;
8283 wxAlphaPixelData
*result
= 0 ;
8289 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8291 if (!SWIG_IsOK(res1
)) {
8292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8297 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8300 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8304 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8307 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8317 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8321 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8324 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8327 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8330 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8334 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8339 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8340 PyObject
*resultobj
= 0;
8341 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8344 PyObject
*swig_obj
[1] ;
8346 if (!args
) SWIG_fail
;
8348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8349 if (!SWIG_IsOK(res1
)) {
8350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8352 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8358 resultobj
= SWIG_Py_Void();
8365 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8366 PyObject
*resultobj
= 0;
8367 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8368 wxAlphaPixelData_Accessor result
;
8371 PyObject
*swig_obj
[1] ;
8373 if (!args
) SWIG_fail
;
8375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8376 if (!SWIG_IsOK(res1
)) {
8377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8379 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8381 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8391 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8392 PyObject
*resultobj
= 0;
8393 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8396 PyObject
*swig_obj
[1] ;
8398 if (!args
) SWIG_fail
;
8400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8401 if (!SWIG_IsOK(res1
)) {
8402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8404 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 resultobj
= SWIG_Py_Void();
8416 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8417 PyObject
*resultobj
= 0;
8418 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8422 PyObject
*swig_obj
[1] ;
8424 if (!args
) SWIG_fail
;
8426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8427 if (!SWIG_IsOK(res1
)) {
8428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8430 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8432 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8444 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8447 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8448 return SWIG_Py_Void();
8451 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8452 return SWIG_Python_InitShadowInstance(args
);
8455 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8456 PyObject
*resultobj
= 0;
8457 wxAlphaPixelData
*arg1
= 0 ;
8458 wxAlphaPixelData_Accessor
*result
= 0 ;
8462 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8464 if (!SWIG_IsOK(res1
)) {
8465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8470 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8472 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8482 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8483 PyObject
*resultobj
= 0;
8484 wxBitmap
*arg1
= 0 ;
8485 wxAlphaPixelData
*arg2
= 0 ;
8486 wxAlphaPixelData_Accessor
*result
= 0 ;
8492 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8494 if (!SWIG_IsOK(res1
)) {
8495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8500 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8501 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8502 if (!SWIG_IsOK(res2
)) {
8503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8508 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8510 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8520 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8521 PyObject
*resultobj
= 0;
8522 wxAlphaPixelData_Accessor
*result
= 0 ;
8524 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8526 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8527 if (PyErr_Occurred()) SWIG_fail
;
8529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8536 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8540 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8543 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8546 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8549 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8553 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8558 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8559 PyObject
*resultobj
= 0;
8560 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8563 PyObject
*swig_obj
[1] ;
8565 if (!args
) SWIG_fail
;
8567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8568 if (!SWIG_IsOK(res1
)) {
8569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8571 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= SWIG_Py_Void();
8584 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8585 PyObject
*resultobj
= 0;
8586 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8587 wxAlphaPixelData
*arg2
= 0 ;
8592 PyObject
* obj0
= 0 ;
8593 PyObject
* obj1
= 0 ;
8594 char * kwnames
[] = {
8595 (char *) "self",(char *) "data", NULL
8598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8600 if (!SWIG_IsOK(res1
)) {
8601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8603 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8605 if (!SWIG_IsOK(res2
)) {
8606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8611 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8613 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8616 resultobj
= SWIG_Py_Void();
8623 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8624 PyObject
*resultobj
= 0;
8625 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8629 PyObject
*swig_obj
[1] ;
8631 if (!args
) SWIG_fail
;
8633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8634 if (!SWIG_IsOK(res1
)) {
8635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8637 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8639 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8640 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8651 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8652 PyObject
*resultobj
= 0;
8653 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8656 PyObject
*swig_obj
[1] ;
8658 if (!args
) SWIG_fail
;
8660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8661 if (!SWIG_IsOK(res1
)) {
8662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8664 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8666 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= SWIG_Py_Void();
8676 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
*resultobj
= 0;
8678 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8679 wxAlphaPixelData
*arg2
= 0 ;
8690 PyObject
* obj0
= 0 ;
8691 PyObject
* obj1
= 0 ;
8692 PyObject
* obj2
= 0 ;
8693 PyObject
* obj3
= 0 ;
8694 char * kwnames
[] = {
8695 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8700 if (!SWIG_IsOK(res1
)) {
8701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8703 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8705 if (!SWIG_IsOK(res2
)) {
8706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8711 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8713 if (!SWIG_IsOK(ecode3
)) {
8714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8716 arg3
= static_cast< int >(val3
);
8717 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8718 if (!SWIG_IsOK(ecode4
)) {
8719 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8721 arg4
= static_cast< int >(val4
);
8723 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 resultobj
= SWIG_Py_Void();
8733 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
= 0;
8735 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8736 wxAlphaPixelData
*arg2
= 0 ;
8744 PyObject
* obj0
= 0 ;
8745 PyObject
* obj1
= 0 ;
8746 PyObject
* obj2
= 0 ;
8747 char * kwnames
[] = {
8748 (char *) "self",(char *) "data",(char *) "x", NULL
8751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8753 if (!SWIG_IsOK(res1
)) {
8754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8756 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8758 if (!SWIG_IsOK(res2
)) {
8759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8764 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8766 if (!SWIG_IsOK(ecode3
)) {
8767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8769 arg3
= static_cast< int >(val3
);
8771 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8772 if (PyErr_Occurred()) SWIG_fail
;
8774 resultobj
= SWIG_Py_Void();
8781 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8782 PyObject
*resultobj
= 0;
8783 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8784 wxAlphaPixelData
*arg2
= 0 ;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8794 PyObject
* obj2
= 0 ;
8795 char * kwnames
[] = {
8796 (char *) "self",(char *) "data",(char *) "y", NULL
8799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8801 if (!SWIG_IsOK(res1
)) {
8802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8804 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8805 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8806 if (!SWIG_IsOK(res2
)) {
8807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8812 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8814 if (!SWIG_IsOK(ecode3
)) {
8815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8817 arg3
= static_cast< int >(val3
);
8819 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 resultobj
= SWIG_Py_Void();
8829 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
= 0;
8831 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8832 wxAlphaPixelData
*arg2
= 0 ;
8843 PyObject
* obj0
= 0 ;
8844 PyObject
* obj1
= 0 ;
8845 PyObject
* obj2
= 0 ;
8846 PyObject
* obj3
= 0 ;
8847 char * kwnames
[] = {
8848 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8853 if (!SWIG_IsOK(res1
)) {
8854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8856 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8857 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8858 if (!SWIG_IsOK(res2
)) {
8859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8864 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8866 if (!SWIG_IsOK(ecode3
)) {
8867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8869 arg3
= static_cast< int >(val3
);
8870 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8871 if (!SWIG_IsOK(ecode4
)) {
8872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8874 arg4
= static_cast< int >(val4
);
8876 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 resultobj
= SWIG_Py_Void();
8886 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
*resultobj
= 0;
8888 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8895 unsigned char val2
;
8897 unsigned char val3
;
8899 unsigned char val4
;
8901 unsigned char val5
;
8903 PyObject
* obj0
= 0 ;
8904 PyObject
* obj1
= 0 ;
8905 PyObject
* obj2
= 0 ;
8906 PyObject
* obj3
= 0 ;
8907 PyObject
* obj4
= 0 ;
8908 char * kwnames
[] = {
8909 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8914 if (!SWIG_IsOK(res1
)) {
8915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8917 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8918 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8919 if (!SWIG_IsOK(ecode2
)) {
8920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8922 arg2
= static_cast< byte
>(val2
);
8923 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8924 if (!SWIG_IsOK(ecode3
)) {
8925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8927 arg3
= static_cast< byte
>(val3
);
8928 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8929 if (!SWIG_IsOK(ecode4
)) {
8930 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8932 arg4
= static_cast< byte
>(val4
);
8933 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8934 if (!SWIG_IsOK(ecode5
)) {
8935 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8937 arg5
= static_cast< byte
>(val5
);
8939 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 resultobj
= SWIG_Py_Void();
8949 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8950 PyObject
*resultobj
= 0;
8951 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8952 PyObject
*result
= 0 ;
8955 PyObject
*swig_obj
[1] ;
8957 if (!args
) SWIG_fail
;
8959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8960 if (!SWIG_IsOK(res1
)) {
8961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8963 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8965 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8975 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8978 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8979 return SWIG_Py_Void();
8982 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8983 return SWIG_Python_InitShadowInstance(args
);
8986 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
= 0;
8988 wxBitmap
*arg1
= 0 ;
8989 wxColour
const &arg2_defvalue
= wxNullColour
;
8990 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8991 wxMask
*result
= 0 ;
8995 PyObject
* obj0
= 0 ;
8996 PyObject
* obj1
= 0 ;
8997 char * kwnames
[] = {
8998 (char *) "bitmap",(char *) "colour", NULL
9001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9002 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9003 if (!SWIG_IsOK(res1
)) {
9004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9009 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9013 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9017 if (!wxPyCheckForApp()) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9030 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9031 PyObject
*resultobj
= 0;
9032 wxMask
*arg1
= (wxMask
*) 0 ;
9035 PyObject
*swig_obj
[1] ;
9037 if (!args
) SWIG_fail
;
9039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9040 if (!SWIG_IsOK(res1
)) {
9041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9043 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9049 resultobj
= SWIG_Py_Void();
9056 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9059 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9060 return SWIG_Py_Void();
9063 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9064 return SWIG_Python_InitShadowInstance(args
);
9067 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
*resultobj
= 0;
9069 wxString
*arg1
= 0 ;
9071 int arg3
= (int) -1 ;
9072 int arg4
= (int) -1 ;
9073 wxIcon
*result
= 0 ;
9074 bool temp1
= false ;
9081 PyObject
* obj0
= 0 ;
9082 PyObject
* obj1
= 0 ;
9083 PyObject
* obj2
= 0 ;
9084 PyObject
* obj3
= 0 ;
9085 char * kwnames
[] = {
9086 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9091 arg1
= wxString_in_helper(obj0
);
9092 if (arg1
== NULL
) SWIG_fail
;
9095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9096 if (!SWIG_IsOK(ecode2
)) {
9097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9099 arg2
= static_cast< wxBitmapType
>(val2
);
9101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9102 if (!SWIG_IsOK(ecode3
)) {
9103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9105 arg3
= static_cast< int >(val3
);
9108 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9109 if (!SWIG_IsOK(ecode4
)) {
9110 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9112 arg4
= static_cast< int >(val4
);
9115 if (!wxPyCheckForApp()) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9136 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9137 PyObject
*resultobj
= 0;
9138 wxIcon
*arg1
= (wxIcon
*) 0 ;
9141 PyObject
*swig_obj
[1] ;
9143 if (!args
) SWIG_fail
;
9145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9146 if (!SWIG_IsOK(res1
)) {
9147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9149 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_Py_Void();
9164 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9165 PyObject
*resultobj
= 0;
9166 wxIcon
*result
= 0 ;
9168 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9170 if (!wxPyCheckForApp()) SWIG_fail
;
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 result
= (wxIcon
*)new wxIcon();
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9183 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
= 0;
9185 wxIconLocation
*arg1
= 0 ;
9186 wxIcon
*result
= 0 ;
9189 PyObject
* obj0
= 0 ;
9190 char * kwnames
[] = {
9191 (char *) "loc", NULL
9194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9195 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9196 if (!SWIG_IsOK(res1
)) {
9197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9202 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9204 if (!wxPyCheckForApp()) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9217 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9218 PyObject
*resultobj
= 0;
9219 wxBitmap
*arg1
= 0 ;
9220 wxIcon
*result
= 0 ;
9223 PyObject
* obj0
= 0 ;
9224 char * kwnames
[] = {
9225 (char *) "bmp", NULL
9228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9229 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9230 if (!SWIG_IsOK(res1
)) {
9231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9236 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9238 if (!wxPyCheckForApp()) SWIG_fail
;
9239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9240 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9251 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
*resultobj
= 0;
9253 PyObject
*arg1
= (PyObject
*) 0 ;
9254 wxIcon
*result
= 0 ;
9255 PyObject
* obj0
= 0 ;
9256 char * kwnames
[] = {
9257 (char *) "listOfStrings", NULL
9260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9263 if (!wxPyCheckForApp()) SWIG_fail
;
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 result
= (wxIcon
*)new_wxIcon(arg1
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9269 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9276 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9277 PyObject
*resultobj
= 0;
9278 wxIcon
*arg1
= (wxIcon
*) 0 ;
9279 wxString
*arg2
= 0 ;
9284 bool temp2
= false ;
9287 PyObject
* obj0
= 0 ;
9288 PyObject
* obj1
= 0 ;
9289 PyObject
* obj2
= 0 ;
9290 char * kwnames
[] = {
9291 (char *) "self",(char *) "name",(char *) "type", NULL
9294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9296 if (!SWIG_IsOK(res1
)) {
9297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
9299 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9301 arg2
= wxString_in_helper(obj1
);
9302 if (arg2
== NULL
) SWIG_fail
;
9305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9306 if (!SWIG_IsOK(ecode3
)) {
9307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
9309 arg3
= static_cast< wxBitmapType
>(val3
);
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9333 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9334 PyObject
*resultobj
= 0;
9335 wxIcon
*arg1
= (wxIcon
*) 0 ;
9339 PyObject
*swig_obj
[1] ;
9341 if (!args
) SWIG_fail
;
9343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9344 if (!SWIG_IsOK(res1
)) {
9345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9347 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= (long)(arg1
)->GetHandle();
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= SWIG_From_long(static_cast< long >(result
));
9361 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
= 0;
9363 wxIcon
*arg1
= (wxIcon
*) 0 ;
9369 PyObject
* obj0
= 0 ;
9370 PyObject
* obj1
= 0 ;
9371 char * kwnames
[] = {
9372 (char *) "self",(char *) "handle", NULL
9375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9377 if (!SWIG_IsOK(res1
)) {
9378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9380 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9381 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9382 if (!SWIG_IsOK(ecode2
)) {
9383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9385 arg2
= static_cast< long >(val2
);
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 wxIcon_SetHandle(arg1
,arg2
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9392 resultobj
= SWIG_Py_Void();
9399 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9400 PyObject
*resultobj
= 0;
9401 wxIcon
*arg1
= (wxIcon
*) 0 ;
9405 PyObject
*swig_obj
[1] ;
9407 if (!args
) SWIG_fail
;
9409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9410 if (!SWIG_IsOK(res1
)) {
9411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9413 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 result
= (bool)(arg1
)->IsOk();
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9429 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9430 PyObject
*resultobj
= 0;
9431 wxIcon
*arg1
= (wxIcon
*) 0 ;
9435 PyObject
*swig_obj
[1] ;
9437 if (!args
) SWIG_fail
;
9439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9440 if (!SWIG_IsOK(res1
)) {
9441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9443 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= (int)(arg1
)->GetWidth();
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_From_int(static_cast< int >(result
));
9457 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9458 PyObject
*resultobj
= 0;
9459 wxIcon
*arg1
= (wxIcon
*) 0 ;
9463 PyObject
*swig_obj
[1] ;
9465 if (!args
) SWIG_fail
;
9467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9468 if (!SWIG_IsOK(res1
)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9471 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 result
= (int)(arg1
)->GetHeight();
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= SWIG_From_int(static_cast< int >(result
));
9485 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9486 PyObject
*resultobj
= 0;
9487 wxIcon
*arg1
= (wxIcon
*) 0 ;
9491 PyObject
*swig_obj
[1] ;
9493 if (!args
) SWIG_fail
;
9495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9496 if (!SWIG_IsOK(res1
)) {
9497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9499 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 result
= (int)(arg1
)->GetDepth();
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= SWIG_From_int(static_cast< int >(result
));
9513 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
= 0;
9515 wxIcon
*arg1
= (wxIcon
*) 0 ;
9521 PyObject
* obj0
= 0 ;
9522 PyObject
* obj1
= 0 ;
9523 char * kwnames
[] = {
9524 (char *) "self",(char *) "w", NULL
9527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9529 if (!SWIG_IsOK(res1
)) {
9530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9532 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9534 if (!SWIG_IsOK(ecode2
)) {
9535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9537 arg2
= static_cast< int >(val2
);
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 (arg1
)->SetWidth(arg2
);
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= SWIG_Py_Void();
9551 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
= 0;
9553 wxIcon
*arg1
= (wxIcon
*) 0 ;
9559 PyObject
* obj0
= 0 ;
9560 PyObject
* obj1
= 0 ;
9561 char * kwnames
[] = {
9562 (char *) "self",(char *) "h", NULL
9565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9567 if (!SWIG_IsOK(res1
)) {
9568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9570 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9572 if (!SWIG_IsOK(ecode2
)) {
9573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9575 arg2
= static_cast< int >(val2
);
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 (arg1
)->SetHeight(arg2
);
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= SWIG_Py_Void();
9589 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
= 0;
9591 wxIcon
*arg1
= (wxIcon
*) 0 ;
9597 PyObject
* obj0
= 0 ;
9598 PyObject
* obj1
= 0 ;
9599 char * kwnames
[] = {
9600 (char *) "self",(char *) "d", NULL
9603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9605 if (!SWIG_IsOK(res1
)) {
9606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9608 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9610 if (!SWIG_IsOK(ecode2
)) {
9611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9613 arg2
= static_cast< int >(val2
);
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 (arg1
)->SetDepth(arg2
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 resultobj
= SWIG_Py_Void();
9627 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
= 0;
9629 wxIcon
*arg1
= (wxIcon
*) 0 ;
9634 PyObject
* obj0
= 0 ;
9635 PyObject
* obj1
= 0 ;
9636 char * kwnames
[] = {
9637 (char *) "self",(char *) "size", NULL
9640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9642 if (!SWIG_IsOK(res1
)) {
9643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9645 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9648 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 (arg1
)->SetSize((wxSize
const &)*arg2
);
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 resultobj
= SWIG_Py_Void();
9663 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
= 0;
9665 wxIcon
*arg1
= (wxIcon
*) 0 ;
9666 wxBitmap
*arg2
= 0 ;
9671 PyObject
* obj0
= 0 ;
9672 PyObject
* obj1
= 0 ;
9673 char * kwnames
[] = {
9674 (char *) "self",(char *) "bmp", NULL
9677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9679 if (!SWIG_IsOK(res1
)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9682 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9683 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9684 if (!SWIG_IsOK(res2
)) {
9685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9690 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= SWIG_Py_Void();
9704 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9707 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9708 return SWIG_Py_Void();
9711 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9712 return SWIG_Python_InitShadowInstance(args
);
9715 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
= 0;
9717 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9718 int arg2
= (int) 0 ;
9719 wxIconLocation
*result
= 0 ;
9720 bool temp1
= false ;
9723 PyObject
* obj0
= 0 ;
9724 PyObject
* obj1
= 0 ;
9725 char * kwnames
[] = {
9726 (char *) "filename",(char *) "num", NULL
9729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9732 arg1
= wxString_in_helper(obj0
);
9733 if (arg1
== NULL
) SWIG_fail
;
9738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9739 if (!SWIG_IsOK(ecode2
)) {
9740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9742 arg2
= static_cast< int >(val2
);
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9765 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9766 PyObject
*resultobj
= 0;
9767 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9770 PyObject
*swig_obj
[1] ;
9772 if (!args
) SWIG_fail
;
9774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9775 if (!SWIG_IsOK(res1
)) {
9776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9778 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= SWIG_Py_Void();
9793 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9794 PyObject
*resultobj
= 0;
9795 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9799 PyObject
*swig_obj
[1] ;
9801 if (!args
) SWIG_fail
;
9803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9804 if (!SWIG_IsOK(res1
)) {
9805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9807 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9823 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9824 PyObject
*resultobj
= 0;
9825 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9826 wxString
*arg2
= 0 ;
9829 bool temp2
= false ;
9830 PyObject
* obj0
= 0 ;
9831 PyObject
* obj1
= 0 ;
9832 char * kwnames
[] = {
9833 (char *) "self",(char *) "filename", NULL
9836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9838 if (!SWIG_IsOK(res1
)) {
9839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9841 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9843 arg2
= wxString_in_helper(obj1
);
9844 if (arg2
== NULL
) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 (arg1
)->SetFileName((wxString
const &)*arg2
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= SWIG_Py_Void();
9868 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9869 PyObject
*resultobj
= 0;
9870 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9871 wxString
*result
= 0 ;
9874 PyObject
*swig_obj
[1] ;
9876 if (!args
) SWIG_fail
;
9878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9879 if (!SWIG_IsOK(res1
)) {
9880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9882 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9887 result
= (wxString
*) &_result_ref
;
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9894 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9896 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9905 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
*resultobj
= 0;
9907 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9913 PyObject
* obj0
= 0 ;
9914 PyObject
* obj1
= 0 ;
9915 char * kwnames
[] = {
9916 (char *) "self",(char *) "num", NULL
9919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9921 if (!SWIG_IsOK(res1
)) {
9922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9924 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9925 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9926 if (!SWIG_IsOK(ecode2
)) {
9927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9929 arg2
= static_cast< int >(val2
);
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 wxIconLocation_SetIndex(arg1
,arg2
);
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= SWIG_Py_Void();
9943 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9944 PyObject
*resultobj
= 0;
9945 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9949 PyObject
*swig_obj
[1] ;
9951 if (!args
) SWIG_fail
;
9953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9954 if (!SWIG_IsOK(res1
)) {
9955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9957 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 result
= (int)wxIconLocation_GetIndex(arg1
);
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9964 resultobj
= SWIG_From_int(static_cast< int >(result
));
9971 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9973 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9974 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9975 return SWIG_Py_Void();
9978 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9979 return SWIG_Python_InitShadowInstance(args
);
9982 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9983 PyObject
*resultobj
= 0;
9984 wxIconBundle
*result
= 0 ;
9986 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 result
= (wxIconBundle
*)new wxIconBundle();
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
10000 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
= 0;
10002 wxString
*arg1
= 0 ;
10004 wxIconBundle
*result
= 0 ;
10005 bool temp1
= false ;
10008 PyObject
* obj0
= 0 ;
10009 PyObject
* obj1
= 0 ;
10010 char * kwnames
[] = {
10011 (char *) "file",(char *) "type", NULL
10014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10016 arg1
= wxString_in_helper(obj0
);
10017 if (arg1
== NULL
) SWIG_fail
;
10020 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10021 if (!SWIG_IsOK(ecode2
)) {
10022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
10024 arg2
= static_cast< long >(val2
);
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10046 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
= 0;
10049 wxIconBundle
*result
= 0 ;
10052 PyObject
* obj0
= 0 ;
10053 char * kwnames
[] = {
10054 (char *) "icon", NULL
10057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
10058 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
10059 if (!SWIG_IsOK(res1
)) {
10060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
10065 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
10067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10068 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
10079 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10080 PyObject
*resultobj
= 0;
10081 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10084 PyObject
*swig_obj
[1] ;
10086 if (!args
) SWIG_fail
;
10087 swig_obj
[0] = args
;
10088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
10089 if (!SWIG_IsOK(res1
)) {
10090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10092 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 wxPyEndAllowThreads(__tstate
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10100 resultobj
= SWIG_Py_Void();
10107 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10108 PyObject
*resultobj
= 0;
10109 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10115 PyObject
* obj0
= 0 ;
10116 PyObject
* obj1
= 0 ;
10117 char * kwnames
[] = {
10118 (char *) "self",(char *) "icon", NULL
10121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10123 if (!SWIG_IsOK(res1
)) {
10124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10126 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
10128 if (!SWIG_IsOK(res2
)) {
10129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10134 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10141 resultobj
= SWIG_Py_Void();
10148 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10149 PyObject
*resultobj
= 0;
10150 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10151 wxString
*arg2
= 0 ;
10155 bool temp2
= false ;
10158 PyObject
* obj0
= 0 ;
10159 PyObject
* obj1
= 0 ;
10160 PyObject
* obj2
= 0 ;
10161 char * kwnames
[] = {
10162 (char *) "self",(char *) "file",(char *) "type", NULL
10165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10167 if (!SWIG_IsOK(res1
)) {
10168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10170 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10172 arg2
= wxString_in_helper(obj1
);
10173 if (arg2
== NULL
) SWIG_fail
;
10176 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10177 if (!SWIG_IsOK(ecode3
)) {
10178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10180 arg3
= static_cast< long >(val3
);
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10187 resultobj
= SWIG_Py_Void();
10202 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
= 0;
10204 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10206 wxIcon
*result
= 0 ;
10210 PyObject
* obj0
= 0 ;
10211 PyObject
* obj1
= 0 ;
10212 char * kwnames
[] = {
10213 (char *) "self",(char *) "size", NULL
10216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10218 if (!SWIG_IsOK(res1
)) {
10219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10221 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10224 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10230 result
= (wxIcon
*) &_result_ref
;
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10236 wxIcon
* resultptr
= new wxIcon(*result
);
10237 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10245 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10248 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10249 return SWIG_Py_Void();
10252 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10253 return SWIG_Python_InitShadowInstance(args
);
10256 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
= 0;
10258 wxString
*arg1
= 0 ;
10260 int arg3
= (int) 0 ;
10261 int arg4
= (int) 0 ;
10262 wxCursor
*result
= 0 ;
10263 bool temp1
= false ;
10270 PyObject
* obj0
= 0 ;
10271 PyObject
* obj1
= 0 ;
10272 PyObject
* obj2
= 0 ;
10273 PyObject
* obj3
= 0 ;
10274 char * kwnames
[] = {
10275 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10280 arg1
= wxString_in_helper(obj0
);
10281 if (arg1
== NULL
) SWIG_fail
;
10284 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10285 if (!SWIG_IsOK(ecode2
)) {
10286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10288 arg2
= static_cast< long >(val2
);
10290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10291 if (!SWIG_IsOK(ecode3
)) {
10292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10294 arg3
= static_cast< int >(val3
);
10297 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10298 if (!SWIG_IsOK(ecode4
)) {
10299 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10301 arg4
= static_cast< int >(val4
);
10304 if (!wxPyCheckForApp()) SWIG_fail
;
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10325 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10326 PyObject
*resultobj
= 0;
10327 wxCursor
*arg1
= (wxCursor
*) 0 ;
10330 PyObject
*swig_obj
[1] ;
10332 if (!args
) SWIG_fail
;
10333 swig_obj
[0] = args
;
10334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10335 if (!SWIG_IsOK(res1
)) {
10336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10338 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10346 resultobj
= SWIG_Py_Void();
10353 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
= 0;
10356 wxCursor
*result
= 0 ;
10359 PyObject
* obj0
= 0 ;
10360 char * kwnames
[] = {
10361 (char *) "id", NULL
10364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10365 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10366 if (!SWIG_IsOK(ecode1
)) {
10367 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10369 arg1
= static_cast< int >(val1
);
10371 if (!wxPyCheckForApp()) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= (wxCursor
*)new wxCursor(arg1
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10384 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
= 0;
10386 wxImage
*arg1
= 0 ;
10387 wxCursor
*result
= 0 ;
10390 PyObject
* obj0
= 0 ;
10391 char * kwnames
[] = {
10392 (char *) "image", NULL
10395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10396 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10397 if (!SWIG_IsOK(res1
)) {
10398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10401 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10403 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10405 if (!wxPyCheckForApp()) SWIG_fail
;
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10418 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10419 PyObject
*resultobj
= 0;
10420 wxCursor
*arg1
= (wxCursor
*) 0 ;
10424 PyObject
*swig_obj
[1] ;
10426 if (!args
) SWIG_fail
;
10427 swig_obj
[0] = args
;
10428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10429 if (!SWIG_IsOK(res1
)) {
10430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10432 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= (long)(arg1
)->GetHandle();
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 resultobj
= SWIG_From_long(static_cast< long >(result
));
10446 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
= 0;
10448 wxCursor
*arg1
= (wxCursor
*) 0 ;
10454 PyObject
* obj0
= 0 ;
10455 PyObject
* obj1
= 0 ;
10456 char * kwnames
[] = {
10457 (char *) "self",(char *) "handle", NULL
10460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10462 if (!SWIG_IsOK(res1
)) {
10463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10465 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10466 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10467 if (!SWIG_IsOK(ecode2
)) {
10468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10470 arg2
= static_cast< long >(val2
);
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 wxCursor_SetHandle(arg1
,arg2
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= SWIG_Py_Void();
10484 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10485 PyObject
*resultobj
= 0;
10486 wxCursor
*arg1
= (wxCursor
*) 0 ;
10490 PyObject
*swig_obj
[1] ;
10492 if (!args
) SWIG_fail
;
10493 swig_obj
[0] = args
;
10494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10495 if (!SWIG_IsOK(res1
)) {
10496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10498 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 result
= (bool)(arg1
)->IsOk();
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10514 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10515 PyObject
*resultobj
= 0;
10516 wxCursor
*arg1
= (wxCursor
*) 0 ;
10520 PyObject
*swig_obj
[1] ;
10522 if (!args
) SWIG_fail
;
10523 swig_obj
[0] = args
;
10524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10525 if (!SWIG_IsOK(res1
)) {
10526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10528 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 result
= (int)(arg1
)->GetWidth();
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= SWIG_From_int(static_cast< int >(result
));
10542 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10543 PyObject
*resultobj
= 0;
10544 wxCursor
*arg1
= (wxCursor
*) 0 ;
10548 PyObject
*swig_obj
[1] ;
10550 if (!args
) SWIG_fail
;
10551 swig_obj
[0] = args
;
10552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10553 if (!SWIG_IsOK(res1
)) {
10554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10556 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= (int)(arg1
)->GetHeight();
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= SWIG_From_int(static_cast< int >(result
));
10570 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10571 PyObject
*resultobj
= 0;
10572 wxCursor
*arg1
= (wxCursor
*) 0 ;
10576 PyObject
*swig_obj
[1] ;
10578 if (!args
) SWIG_fail
;
10579 swig_obj
[0] = args
;
10580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10581 if (!SWIG_IsOK(res1
)) {
10582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10584 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 result
= (int)(arg1
)->GetDepth();
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= SWIG_From_int(static_cast< int >(result
));
10598 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
= 0;
10600 wxCursor
*arg1
= (wxCursor
*) 0 ;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 char * kwnames
[] = {
10609 (char *) "self",(char *) "w", NULL
10612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10614 if (!SWIG_IsOK(res1
)) {
10615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10617 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10619 if (!SWIG_IsOK(ecode2
)) {
10620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10622 arg2
= static_cast< int >(val2
);
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 (arg1
)->SetWidth(arg2
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10629 resultobj
= SWIG_Py_Void();
10636 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
= 0;
10638 wxCursor
*arg1
= (wxCursor
*) 0 ;
10644 PyObject
* obj0
= 0 ;
10645 PyObject
* obj1
= 0 ;
10646 char * kwnames
[] = {
10647 (char *) "self",(char *) "h", NULL
10650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10652 if (!SWIG_IsOK(res1
)) {
10653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10655 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10657 if (!SWIG_IsOK(ecode2
)) {
10658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10660 arg2
= static_cast< int >(val2
);
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 (arg1
)->SetHeight(arg2
);
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= SWIG_Py_Void();
10674 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
= 0;
10676 wxCursor
*arg1
= (wxCursor
*) 0 ;
10682 PyObject
* obj0
= 0 ;
10683 PyObject
* obj1
= 0 ;
10684 char * kwnames
[] = {
10685 (char *) "self",(char *) "d", NULL
10688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10690 if (!SWIG_IsOK(res1
)) {
10691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10693 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10695 if (!SWIG_IsOK(ecode2
)) {
10696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10698 arg2
= static_cast< int >(val2
);
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 (arg1
)->SetDepth(arg2
);
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10705 resultobj
= SWIG_Py_Void();
10712 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
= 0;
10714 wxCursor
*arg1
= (wxCursor
*) 0 ;
10719 PyObject
* obj0
= 0 ;
10720 PyObject
* obj1
= 0 ;
10721 char * kwnames
[] = {
10722 (char *) "self",(char *) "size", NULL
10725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10727 if (!SWIG_IsOK(res1
)) {
10728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10730 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10733 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 (arg1
)->SetSize((wxSize
const &)*arg2
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10741 resultobj
= SWIG_Py_Void();
10748 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10751 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10752 return SWIG_Py_Void();
10755 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10756 return SWIG_Python_InitShadowInstance(args
);
10759 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
= 0;
10761 int arg1
= (int) 0 ;
10762 int arg2
= (int) 0 ;
10763 int arg3
= (int) 0 ;
10764 int arg4
= (int) 0 ;
10765 wxRegion
*result
= 0 ;
10774 PyObject
* obj0
= 0 ;
10775 PyObject
* obj1
= 0 ;
10776 PyObject
* obj2
= 0 ;
10777 PyObject
* obj3
= 0 ;
10778 char * kwnames
[] = {
10779 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10784 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10785 if (!SWIG_IsOK(ecode1
)) {
10786 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10788 arg1
= static_cast< int >(val1
);
10791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10792 if (!SWIG_IsOK(ecode2
)) {
10793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10795 arg2
= static_cast< int >(val2
);
10798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10799 if (!SWIG_IsOK(ecode3
)) {
10800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10802 arg3
= static_cast< int >(val3
);
10805 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10806 if (!SWIG_IsOK(ecode4
)) {
10807 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10809 arg4
= static_cast< int >(val4
);
10812 if (!wxPyCheckForApp()) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10825 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
= 0;
10827 wxBitmap
*arg1
= 0 ;
10828 wxRegion
*result
= 0 ;
10831 PyObject
* obj0
= 0 ;
10832 char * kwnames
[] = {
10833 (char *) "bmp", NULL
10836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10837 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10838 if (!SWIG_IsOK(res1
)) {
10839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10844 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10846 if (!wxPyCheckForApp()) SWIG_fail
;
10847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10848 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10859 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
= 0;
10861 wxBitmap
*arg1
= 0 ;
10862 wxColour
*arg2
= 0 ;
10863 int arg3
= (int) 0 ;
10864 wxRegion
*result
= 0 ;
10870 PyObject
* obj0
= 0 ;
10871 PyObject
* obj1
= 0 ;
10872 PyObject
* obj2
= 0 ;
10873 char * kwnames
[] = {
10874 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10878 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10879 if (!SWIG_IsOK(res1
)) {
10880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10885 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10888 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10892 if (!SWIG_IsOK(ecode3
)) {
10893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10895 arg3
= static_cast< int >(val3
);
10898 if (!wxPyCheckForApp()) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10911 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
= 0;
10914 wxPoint
*arg2
= (wxPoint
*) 0 ;
10915 int arg3
= (int) wxWINDING_RULE
;
10916 wxRegion
*result
= 0 ;
10919 PyObject
* obj0
= 0 ;
10920 PyObject
* obj1
= 0 ;
10921 char * kwnames
[] = {
10922 (char *) "points",(char *) "fillStyle", NULL
10925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10927 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10928 if (arg2
== NULL
) SWIG_fail
;
10931 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10932 if (!SWIG_IsOK(ecode3
)) {
10933 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10935 arg3
= static_cast< int >(val3
);
10938 if (!wxPyCheckForApp()) SWIG_fail
;
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10940 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10946 if (arg2
) delete [] arg2
;
10951 if (arg2
) delete [] arg2
;
10957 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10958 PyObject
*resultobj
= 0;
10959 wxRegion
*arg1
= (wxRegion
*) 0 ;
10962 PyObject
*swig_obj
[1] ;
10964 if (!args
) SWIG_fail
;
10965 swig_obj
[0] = args
;
10966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10967 if (!SWIG_IsOK(res1
)) {
10968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10970 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 wxPyEndAllowThreads(__tstate
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10978 resultobj
= SWIG_Py_Void();
10985 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10986 PyObject
*resultobj
= 0;
10987 wxRegion
*arg1
= (wxRegion
*) 0 ;
10990 PyObject
*swig_obj
[1] ;
10992 if (!args
) SWIG_fail
;
10993 swig_obj
[0] = args
;
10994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10995 if (!SWIG_IsOK(res1
)) {
10996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10998 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11005 resultobj
= SWIG_Py_Void();
11012 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
= 0;
11014 wxRegion
*arg1
= (wxRegion
*) 0 ;
11024 PyObject
* obj0
= 0 ;
11025 PyObject
* obj1
= 0 ;
11026 PyObject
* obj2
= 0 ;
11027 char * kwnames
[] = {
11028 (char *) "self",(char *) "x",(char *) "y", NULL
11031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11033 if (!SWIG_IsOK(res1
)) {
11034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
11036 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11038 if (!SWIG_IsOK(ecode2
)) {
11039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
11041 arg2
= static_cast< int >(val2
);
11042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11043 if (!SWIG_IsOK(ecode3
)) {
11044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
11046 arg3
= static_cast< int >(val3
);
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11062 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
= 0;
11064 wxRegion
*arg1
= (wxRegion
*) 0 ;
11067 wxRegionContain result
;
11074 PyObject
* obj0
= 0 ;
11075 PyObject
* obj1
= 0 ;
11076 PyObject
* obj2
= 0 ;
11077 char * kwnames
[] = {
11078 (char *) "self",(char *) "x",(char *) "y", NULL
11081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11083 if (!SWIG_IsOK(res1
)) {
11084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
11086 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11088 if (!SWIG_IsOK(ecode2
)) {
11089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
11091 arg2
= static_cast< int >(val2
);
11092 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11093 if (!SWIG_IsOK(ecode3
)) {
11094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
11096 arg3
= static_cast< int >(val3
);
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= SWIG_From_int(static_cast< int >(result
));
11110 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
= 0;
11112 wxRegion
*arg1
= (wxRegion
*) 0 ;
11113 wxPoint
*arg2
= 0 ;
11114 wxRegionContain result
;
11118 PyObject
* obj0
= 0 ;
11119 PyObject
* obj1
= 0 ;
11120 char * kwnames
[] = {
11121 (char *) "self",(char *) "pt", NULL
11124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11126 if (!SWIG_IsOK(res1
)) {
11127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
11129 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11132 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= SWIG_From_int(static_cast< int >(result
));
11147 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
= 0;
11149 wxRegion
*arg1
= (wxRegion
*) 0 ;
11151 wxRegionContain result
;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char * kwnames
[] = {
11158 (char *) "self",(char *) "rect", NULL
11161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11163 if (!SWIG_IsOK(res1
)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11166 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11169 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= SWIG_From_int(static_cast< int >(result
));
11184 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
= 0;
11186 wxRegion
*arg1
= (wxRegion
*) 0 ;
11191 wxRegionContain result
;
11202 PyObject
* obj0
= 0 ;
11203 PyObject
* obj1
= 0 ;
11204 PyObject
* obj2
= 0 ;
11205 PyObject
* obj3
= 0 ;
11206 PyObject
* obj4
= 0 ;
11207 char * kwnames
[] = {
11208 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
11211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11213 if (!SWIG_IsOK(res1
)) {
11214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
11216 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11218 if (!SWIG_IsOK(ecode2
)) {
11219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
11221 arg2
= static_cast< int >(val2
);
11222 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11223 if (!SWIG_IsOK(ecode3
)) {
11224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
11226 arg3
= static_cast< int >(val3
);
11227 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11228 if (!SWIG_IsOK(ecode4
)) {
11229 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
11231 arg4
= static_cast< int >(val4
);
11232 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11233 if (!SWIG_IsOK(ecode5
)) {
11234 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
11236 arg5
= static_cast< int >(val5
);
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11243 resultobj
= SWIG_From_int(static_cast< int >(result
));
11250 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11251 PyObject
*resultobj
= 0;
11252 wxRegion
*arg1
= (wxRegion
*) 0 ;
11256 PyObject
*swig_obj
[1] ;
11258 if (!args
) SWIG_fail
;
11259 swig_obj
[0] = args
;
11260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11261 if (!SWIG_IsOK(res1
)) {
11262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
11264 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (arg1
)->GetBox();
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11278 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
= 0;
11280 wxRegion
*arg1
= (wxRegion
*) 0 ;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 PyObject
* obj2
= 0 ;
11299 PyObject
* obj3
= 0 ;
11300 PyObject
* obj4
= 0 ;
11301 char * kwnames
[] = {
11302 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11307 if (!SWIG_IsOK(res1
)) {
11308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
11310 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11312 if (!SWIG_IsOK(ecode2
)) {
11313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
11315 arg2
= static_cast< int >(val2
);
11316 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11317 if (!SWIG_IsOK(ecode3
)) {
11318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
11320 arg3
= static_cast< int >(val3
);
11321 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11322 if (!SWIG_IsOK(ecode4
)) {
11323 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
11325 arg4
= static_cast< int >(val4
);
11326 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11327 if (!SWIG_IsOK(ecode5
)) {
11328 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
11330 arg5
= static_cast< int >(val5
);
11332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
11334 wxPyEndAllowThreads(__tstate
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11346 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11347 PyObject
*resultobj
= 0;
11348 wxRegion
*arg1
= (wxRegion
*) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 PyObject
* obj1
= 0 ;
11356 char * kwnames
[] = {
11357 (char *) "self",(char *) "rect", NULL
11360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11362 if (!SWIG_IsOK(res1
)) {
11363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11365 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11368 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11385 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
= 0;
11387 wxRegion
*arg1
= (wxRegion
*) 0 ;
11388 wxRegion
*arg2
= 0 ;
11394 PyObject
* obj0
= 0 ;
11395 PyObject
* obj1
= 0 ;
11396 char * kwnames
[] = {
11397 (char *) "self",(char *) "region", NULL
11400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11402 if (!SWIG_IsOK(res1
)) {
11403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11405 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11406 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11407 if (!SWIG_IsOK(res2
)) {
11408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11413 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11429 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11430 PyObject
*resultobj
= 0;
11431 wxRegion
*arg1
= (wxRegion
*) 0 ;
11435 PyObject
*swig_obj
[1] ;
11437 if (!args
) SWIG_fail
;
11438 swig_obj
[0] = args
;
11439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11440 if (!SWIG_IsOK(res1
)) {
11441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11443 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11446 result
= (bool)(arg1
)->IsEmpty();
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11459 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
= 0;
11461 wxRegion
*arg1
= (wxRegion
*) 0 ;
11462 wxRegion
*arg2
= 0 ;
11468 PyObject
* obj0
= 0 ;
11469 PyObject
* obj1
= 0 ;
11470 char * kwnames
[] = {
11471 (char *) "self",(char *) "region", NULL
11474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11476 if (!SWIG_IsOK(res1
)) {
11477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11479 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11480 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11481 if (!SWIG_IsOK(res2
)) {
11482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11487 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11503 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
= 0;
11505 wxRegion
*arg1
= (wxRegion
*) 0 ;
11521 PyObject
* obj0
= 0 ;
11522 PyObject
* obj1
= 0 ;
11523 PyObject
* obj2
= 0 ;
11524 PyObject
* obj3
= 0 ;
11525 PyObject
* obj4
= 0 ;
11526 char * kwnames
[] = {
11527 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11535 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11537 if (!SWIG_IsOK(ecode2
)) {
11538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11540 arg2
= static_cast< int >(val2
);
11541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11542 if (!SWIG_IsOK(ecode3
)) {
11543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11545 arg3
= static_cast< int >(val3
);
11546 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11547 if (!SWIG_IsOK(ecode4
)) {
11548 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11550 arg4
= static_cast< int >(val4
);
11551 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11552 if (!SWIG_IsOK(ecode5
)) {
11553 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11555 arg5
= static_cast< int >(val5
);
11557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11558 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11571 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
*resultobj
= 0;
11573 wxRegion
*arg1
= (wxRegion
*) 0 ;
11579 PyObject
* obj0
= 0 ;
11580 PyObject
* obj1
= 0 ;
11581 char * kwnames
[] = {
11582 (char *) "self",(char *) "rect", NULL
11585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11587 if (!SWIG_IsOK(res1
)) {
11588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11590 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11593 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11610 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11611 PyObject
*resultobj
= 0;
11612 wxRegion
*arg1
= (wxRegion
*) 0 ;
11613 wxRegion
*arg2
= 0 ;
11619 PyObject
* obj0
= 0 ;
11620 PyObject
* obj1
= 0 ;
11621 char * kwnames
[] = {
11622 (char *) "self",(char *) "region", NULL
11625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11627 if (!SWIG_IsOK(res1
)) {
11628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11630 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11631 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11632 if (!SWIG_IsOK(res2
)) {
11633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11636 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11638 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11654 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
= 0;
11656 wxRegion
*arg1
= (wxRegion
*) 0 ;
11672 PyObject
* obj0
= 0 ;
11673 PyObject
* obj1
= 0 ;
11674 PyObject
* obj2
= 0 ;
11675 PyObject
* obj3
= 0 ;
11676 PyObject
* obj4
= 0 ;
11677 char * kwnames
[] = {
11678 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11683 if (!SWIG_IsOK(res1
)) {
11684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11686 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11688 if (!SWIG_IsOK(ecode2
)) {
11689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11691 arg2
= static_cast< int >(val2
);
11692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11693 if (!SWIG_IsOK(ecode3
)) {
11694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11696 arg3
= static_cast< int >(val3
);
11697 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11698 if (!SWIG_IsOK(ecode4
)) {
11699 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11701 arg4
= static_cast< int >(val4
);
11702 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11703 if (!SWIG_IsOK(ecode5
)) {
11704 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11706 arg5
= static_cast< int >(val5
);
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11722 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11723 PyObject
*resultobj
= 0;
11724 wxRegion
*arg1
= (wxRegion
*) 0 ;
11730 PyObject
* obj0
= 0 ;
11731 PyObject
* obj1
= 0 ;
11732 char * kwnames
[] = {
11733 (char *) "self",(char *) "rect", NULL
11736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11738 if (!SWIG_IsOK(res1
)) {
11739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11741 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11744 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11761 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
= 0;
11763 wxRegion
*arg1
= (wxRegion
*) 0 ;
11764 wxRegion
*arg2
= 0 ;
11770 PyObject
* obj0
= 0 ;
11771 PyObject
* obj1
= 0 ;
11772 char * kwnames
[] = {
11773 (char *) "self",(char *) "region", NULL
11776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11778 if (!SWIG_IsOK(res1
)) {
11779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11781 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11783 if (!SWIG_IsOK(res2
)) {
11784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11789 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11792 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11793 wxPyEndAllowThreads(__tstate
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11805 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
= 0;
11807 wxRegion
*arg1
= (wxRegion
*) 0 ;
11823 PyObject
* obj0
= 0 ;
11824 PyObject
* obj1
= 0 ;
11825 PyObject
* obj2
= 0 ;
11826 PyObject
* obj3
= 0 ;
11827 PyObject
* obj4
= 0 ;
11828 char * kwnames
[] = {
11829 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11834 if (!SWIG_IsOK(res1
)) {
11835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11837 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11839 if (!SWIG_IsOK(ecode2
)) {
11840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11842 arg2
= static_cast< int >(val2
);
11843 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11844 if (!SWIG_IsOK(ecode3
)) {
11845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11847 arg3
= static_cast< int >(val3
);
11848 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11849 if (!SWIG_IsOK(ecode4
)) {
11850 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11852 arg4
= static_cast< int >(val4
);
11853 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11854 if (!SWIG_IsOK(ecode5
)) {
11855 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11857 arg5
= static_cast< int >(val5
);
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11860 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11873 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11874 PyObject
*resultobj
= 0;
11875 wxRegion
*arg1
= (wxRegion
*) 0 ;
11881 PyObject
* obj0
= 0 ;
11882 PyObject
* obj1
= 0 ;
11883 char * kwnames
[] = {
11884 (char *) "self",(char *) "rect", NULL
11887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11889 if (!SWIG_IsOK(res1
)) {
11890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11892 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11895 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11899 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11912 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
= 0;
11914 wxRegion
*arg1
= (wxRegion
*) 0 ;
11915 wxRegion
*arg2
= 0 ;
11921 PyObject
* obj0
= 0 ;
11922 PyObject
* obj1
= 0 ;
11923 char * kwnames
[] = {
11924 (char *) "self",(char *) "region", NULL
11927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11929 if (!SWIG_IsOK(res1
)) {
11930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11932 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11934 if (!SWIG_IsOK(res2
)) {
11935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11940 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11956 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11957 PyObject
*resultobj
= 0;
11958 wxRegion
*arg1
= (wxRegion
*) 0 ;
11959 SwigValueWrapper
<wxBitmap
> result
;
11962 PyObject
*swig_obj
[1] ;
11964 if (!args
) SWIG_fail
;
11965 swig_obj
[0] = args
;
11966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11967 if (!SWIG_IsOK(res1
)) {
11968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11970 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11973 result
= (arg1
)->ConvertToBitmap();
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11977 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11984 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
= 0;
11986 wxRegion
*arg1
= (wxRegion
*) 0 ;
11987 wxBitmap
*arg2
= 0 ;
11993 PyObject
* obj0
= 0 ;
11994 PyObject
* obj1
= 0 ;
11995 char * kwnames
[] = {
11996 (char *) "self",(char *) "bmp", NULL
11999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12001 if (!SWIG_IsOK(res1
)) {
12002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
12004 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12006 if (!SWIG_IsOK(res2
)) {
12007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12012 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12015 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12028 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12029 PyObject
*resultobj
= 0;
12030 wxRegion
*arg1
= (wxRegion
*) 0 ;
12031 wxBitmap
*arg2
= 0 ;
12032 wxColour
*arg3
= 0 ;
12033 int arg4
= (int) 0 ;
12042 PyObject
* obj0
= 0 ;
12043 PyObject
* obj1
= 0 ;
12044 PyObject
* obj2
= 0 ;
12045 PyObject
* obj3
= 0 ;
12046 char * kwnames
[] = {
12047 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
12050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
12052 if (!SWIG_IsOK(res1
)) {
12053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
12055 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
12057 if (!SWIG_IsOK(res2
)) {
12058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
12063 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
12066 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12069 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
12070 if (!SWIG_IsOK(ecode4
)) {
12071 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
12073 arg4
= static_cast< int >(val4
);
12076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12077 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12090 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12093 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
12094 return SWIG_Py_Void();
12097 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12098 return SWIG_Python_InitShadowInstance(args
);
12101 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
= 0;
12103 wxRegion
*arg1
= 0 ;
12104 wxRegionIterator
*result
= 0 ;
12107 PyObject
* obj0
= 0 ;
12108 char * kwnames
[] = {
12109 (char *) "region", NULL
12112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
12113 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
12114 if (!SWIG_IsOK(res1
)) {
12115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
12120 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
12122 if (!wxPyCheckForApp()) SWIG_fail
;
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
12135 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12136 PyObject
*resultobj
= 0;
12137 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12140 PyObject
*swig_obj
[1] ;
12142 if (!args
) SWIG_fail
;
12143 swig_obj
[0] = args
;
12144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
12145 if (!SWIG_IsOK(res1
)) {
12146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12148 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= SWIG_Py_Void();
12163 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12164 PyObject
*resultobj
= 0;
12165 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12169 PyObject
*swig_obj
[1] ;
12171 if (!args
) SWIG_fail
;
12172 swig_obj
[0] = args
;
12173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12174 if (!SWIG_IsOK(res1
)) {
12175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12177 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 result
= (int)(arg1
)->GetX();
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= SWIG_From_int(static_cast< int >(result
));
12191 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12192 PyObject
*resultobj
= 0;
12193 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12197 PyObject
*swig_obj
[1] ;
12199 if (!args
) SWIG_fail
;
12200 swig_obj
[0] = args
;
12201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12202 if (!SWIG_IsOK(res1
)) {
12203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12205 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 result
= (int)(arg1
)->GetY();
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 resultobj
= SWIG_From_int(static_cast< int >(result
));
12219 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12220 PyObject
*resultobj
= 0;
12221 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12225 PyObject
*swig_obj
[1] ;
12227 if (!args
) SWIG_fail
;
12228 swig_obj
[0] = args
;
12229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12230 if (!SWIG_IsOK(res1
)) {
12231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12233 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12236 result
= (int)(arg1
)->GetW();
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12240 resultobj
= SWIG_From_int(static_cast< int >(result
));
12247 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12248 PyObject
*resultobj
= 0;
12249 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12253 PyObject
*swig_obj
[1] ;
12255 if (!args
) SWIG_fail
;
12256 swig_obj
[0] = args
;
12257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12258 if (!SWIG_IsOK(res1
)) {
12259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12261 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 result
= (int)(arg1
)->GetWidth();
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12268 resultobj
= SWIG_From_int(static_cast< int >(result
));
12275 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12276 PyObject
*resultobj
= 0;
12277 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12281 PyObject
*swig_obj
[1] ;
12283 if (!args
) SWIG_fail
;
12284 swig_obj
[0] = args
;
12285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12286 if (!SWIG_IsOK(res1
)) {
12287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12289 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 result
= (int)(arg1
)->GetH();
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= SWIG_From_int(static_cast< int >(result
));
12303 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12304 PyObject
*resultobj
= 0;
12305 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12309 PyObject
*swig_obj
[1] ;
12311 if (!args
) SWIG_fail
;
12312 swig_obj
[0] = args
;
12313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12314 if (!SWIG_IsOK(res1
)) {
12315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12317 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 result
= (int)(arg1
)->GetHeight();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= SWIG_From_int(static_cast< int >(result
));
12331 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12332 PyObject
*resultobj
= 0;
12333 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12337 PyObject
*swig_obj
[1] ;
12339 if (!args
) SWIG_fail
;
12340 swig_obj
[0] = args
;
12341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12342 if (!SWIG_IsOK(res1
)) {
12343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12345 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 result
= (arg1
)->GetRect();
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12352 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12359 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12360 PyObject
*resultobj
= 0;
12361 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12365 PyObject
*swig_obj
[1] ;
12367 if (!args
) SWIG_fail
;
12368 swig_obj
[0] = args
;
12369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12370 if (!SWIG_IsOK(res1
)) {
12371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12373 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 result
= (bool)(arg1
)->HaveRects();
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12389 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12390 PyObject
*resultobj
= 0;
12391 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12394 PyObject
*swig_obj
[1] ;
12396 if (!args
) SWIG_fail
;
12397 swig_obj
[0] = args
;
12398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12399 if (!SWIG_IsOK(res1
)) {
12400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12402 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12409 resultobj
= SWIG_Py_Void();
12416 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12417 PyObject
*resultobj
= 0;
12418 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12421 PyObject
*swig_obj
[1] ;
12423 if (!args
) SWIG_fail
;
12424 swig_obj
[0] = args
;
12425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12426 if (!SWIG_IsOK(res1
)) {
12427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12429 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 wxRegionIterator_Next(arg1
);
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= SWIG_Py_Void();
12443 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12444 PyObject
*resultobj
= 0;
12445 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12449 PyObject
*swig_obj
[1] ;
12451 if (!args
) SWIG_fail
;
12452 swig_obj
[0] = args
;
12453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12454 if (!SWIG_IsOK(res1
)) {
12455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12457 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12473 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12475 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12476 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12477 return SWIG_Py_Void();
12480 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12481 return SWIG_Python_InitShadowInstance(args
);
12484 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12485 PyObject
*resultobj
= 0;
12486 wxNativeFontInfo
*result
= 0 ;
12488 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12502 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12503 PyObject
*resultobj
= 0;
12504 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 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_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12512 if (!SWIG_IsOK(res1
)) {
12513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12515 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= SWIG_Py_Void();
12530 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12531 PyObject
*resultobj
= 0;
12532 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 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_wxNativeFontInfo
, 0 | 0 );
12540 if (!SWIG_IsOK(res1
)) {
12541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12543 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 resultobj
= SWIG_Py_Void();
12557 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
*resultobj
= 0;
12559 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12565 PyObject
* obj0
= 0 ;
12566 PyObject
* obj1
= 0 ;
12567 char * kwnames
[] = {
12568 (char *) "self",(char *) "font", NULL
12571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12573 if (!SWIG_IsOK(res1
)) {
12574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12576 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12578 if (!SWIG_IsOK(res2
)) {
12579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12584 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12591 resultobj
= SWIG_Py_Void();
12598 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12599 PyObject
*resultobj
= 0;
12600 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12604 PyObject
*swig_obj
[1] ;
12606 if (!args
) SWIG_fail
;
12607 swig_obj
[0] = args
;
12608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12609 if (!SWIG_IsOK(res1
)) {
12610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12612 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12615 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12619 resultobj
= SWIG_From_int(static_cast< int >(result
));
12626 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12627 PyObject
*resultobj
= 0;
12628 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12632 PyObject
*swig_obj
[1] ;
12634 if (!args
) SWIG_fail
;
12635 swig_obj
[0] = args
;
12636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12637 if (!SWIG_IsOK(res1
)) {
12638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12640 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12644 wxPyEndAllowThreads(__tstate
);
12645 if (PyErr_Occurred()) SWIG_fail
;
12647 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12654 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12655 PyObject
*resultobj
= 0;
12656 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12657 wxFontStyle result
;
12660 PyObject
*swig_obj
[1] ;
12662 if (!args
) SWIG_fail
;
12663 swig_obj
[0] = args
;
12664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12665 if (!SWIG_IsOK(res1
)) {
12666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12668 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12675 resultobj
= SWIG_From_int(static_cast< int >(result
));
12682 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12683 PyObject
*resultobj
= 0;
12684 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12685 wxFontWeight result
;
12688 PyObject
*swig_obj
[1] ;
12690 if (!args
) SWIG_fail
;
12691 swig_obj
[0] = args
;
12692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12693 if (!SWIG_IsOK(res1
)) {
12694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12696 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12699 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 resultobj
= SWIG_From_int(static_cast< int >(result
));
12710 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12711 PyObject
*resultobj
= 0;
12712 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12716 PyObject
*swig_obj
[1] ;
12718 if (!args
) SWIG_fail
;
12719 swig_obj
[0] = args
;
12720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12721 if (!SWIG_IsOK(res1
)) {
12722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12724 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12740 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12741 PyObject
*resultobj
= 0;
12742 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12746 PyObject
*swig_obj
[1] ;
12748 if (!args
) SWIG_fail
;
12749 swig_obj
[0] = args
;
12750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12751 if (!SWIG_IsOK(res1
)) {
12752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12754 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12774 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12775 PyObject
*resultobj
= 0;
12776 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12777 wxFontFamily result
;
12780 PyObject
*swig_obj
[1] ;
12782 if (!args
) SWIG_fail
;
12783 swig_obj
[0] = args
;
12784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12785 if (!SWIG_IsOK(res1
)) {
12786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12788 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= SWIG_From_int(static_cast< int >(result
));
12802 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12803 PyObject
*resultobj
= 0;
12804 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12805 wxFontEncoding result
;
12808 PyObject
*swig_obj
[1] ;
12810 if (!args
) SWIG_fail
;
12811 swig_obj
[0] = args
;
12812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12813 if (!SWIG_IsOK(res1
)) {
12814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12816 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12819 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12823 resultobj
= SWIG_From_int(static_cast< int >(result
));
12830 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
= 0;
12832 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12838 PyObject
* obj0
= 0 ;
12839 PyObject
* obj1
= 0 ;
12840 char * kwnames
[] = {
12841 (char *) "self",(char *) "pointsize", NULL
12844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12846 if (!SWIG_IsOK(res1
)) {
12847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12849 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12851 if (!SWIG_IsOK(ecode2
)) {
12852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12854 arg2
= static_cast< int >(val2
);
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 (arg1
)->SetPointSize(arg2
);
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 resultobj
= SWIG_Py_Void();
12868 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
= 0;
12870 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12875 PyObject
* obj0
= 0 ;
12876 PyObject
* obj1
= 0 ;
12877 char * kwnames
[] = {
12878 (char *) "self",(char *) "pixelSize", NULL
12881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12883 if (!SWIG_IsOK(res1
)) {
12884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12886 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12889 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 resultobj
= SWIG_Py_Void();
12904 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
= 0;
12906 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12912 PyObject
* obj0
= 0 ;
12913 PyObject
* obj1
= 0 ;
12914 char * kwnames
[] = {
12915 (char *) "self",(char *) "style", NULL
12918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12920 if (!SWIG_IsOK(res1
)) {
12921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12923 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12925 if (!SWIG_IsOK(ecode2
)) {
12926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12928 arg2
= static_cast< wxFontStyle
>(val2
);
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 (arg1
)->SetStyle(arg2
);
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12935 resultobj
= SWIG_Py_Void();
12942 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
= 0;
12944 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12945 wxFontWeight arg2
;
12950 PyObject
* obj0
= 0 ;
12951 PyObject
* obj1
= 0 ;
12952 char * kwnames
[] = {
12953 (char *) "self",(char *) "weight", NULL
12956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12958 if (!SWIG_IsOK(res1
)) {
12959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12961 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12963 if (!SWIG_IsOK(ecode2
)) {
12964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12966 arg2
= static_cast< wxFontWeight
>(val2
);
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 (arg1
)->SetWeight(arg2
);
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 resultobj
= SWIG_Py_Void();
12980 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12981 PyObject
*resultobj
= 0;
12982 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12988 PyObject
* obj0
= 0 ;
12989 PyObject
* obj1
= 0 ;
12990 char * kwnames
[] = {
12991 (char *) "self",(char *) "underlined", NULL
12994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12996 if (!SWIG_IsOK(res1
)) {
12997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12999 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13000 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13001 if (!SWIG_IsOK(ecode2
)) {
13002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
13004 arg2
= static_cast< bool >(val2
);
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 (arg1
)->SetUnderlined(arg2
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= SWIG_Py_Void();
13018 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
= 0;
13020 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13025 PyObject
* obj0
= 0 ;
13026 PyObject
* obj1
= 0 ;
13027 char * kwnames
[] = {
13028 (char *) "self",(char *) "facename", NULL
13031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13033 if (!SWIG_IsOK(res1
)) {
13034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13036 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13038 wxString
* sptr
= wxString_in_helper(obj1
);
13039 if (sptr
== NULL
) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (bool)(arg1
)->SetFaceName(arg2
);
13046 wxPyEndAllowThreads(__tstate
);
13047 if (PyErr_Occurred()) SWIG_fail
;
13050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13058 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13059 PyObject
*resultobj
= 0;
13060 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13061 wxFontFamily arg2
;
13066 PyObject
* obj0
= 0 ;
13067 PyObject
* obj1
= 0 ;
13068 char * kwnames
[] = {
13069 (char *) "self",(char *) "family", NULL
13072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13074 if (!SWIG_IsOK(res1
)) {
13075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13077 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13079 if (!SWIG_IsOK(ecode2
)) {
13080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
13082 arg2
= static_cast< wxFontFamily
>(val2
);
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 (arg1
)->SetFamily(arg2
);
13086 wxPyEndAllowThreads(__tstate
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13089 resultobj
= SWIG_Py_Void();
13096 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
= 0;
13098 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13099 wxFontEncoding arg2
;
13104 PyObject
* obj0
= 0 ;
13105 PyObject
* obj1
= 0 ;
13106 char * kwnames
[] = {
13107 (char *) "self",(char *) "encoding", NULL
13110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13112 if (!SWIG_IsOK(res1
)) {
13113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13115 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13117 if (!SWIG_IsOK(ecode2
)) {
13118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13120 arg2
= static_cast< wxFontEncoding
>(val2
);
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 (arg1
)->SetEncoding(arg2
);
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13127 resultobj
= SWIG_Py_Void();
13134 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13135 PyObject
*resultobj
= 0;
13136 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13137 wxString
*arg2
= 0 ;
13141 bool temp2
= false ;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 char * kwnames
[] = {
13145 (char *) "self",(char *) "s", NULL
13148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13150 if (!SWIG_IsOK(res1
)) {
13151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13153 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13155 arg2
= wxString_in_helper(obj1
);
13156 if (arg2
== NULL
) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13182 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13183 PyObject
*resultobj
= 0;
13184 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13188 PyObject
*swig_obj
[1] ;
13190 if (!args
) SWIG_fail
;
13191 swig_obj
[0] = args
;
13192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13193 if (!SWIG_IsOK(res1
)) {
13194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13196 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13216 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13217 PyObject
*resultobj
= 0;
13218 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13222 PyObject
*swig_obj
[1] ;
13224 if (!args
) SWIG_fail
;
13225 swig_obj
[0] = args
;
13226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13227 if (!SWIG_IsOK(res1
)) {
13228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13230 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 result
= wxNativeFontInfo___str__(arg1
);
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13250 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
= 0;
13252 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13253 wxString
*arg2
= 0 ;
13257 bool temp2
= false ;
13258 PyObject
* obj0
= 0 ;
13259 PyObject
* obj1
= 0 ;
13260 char * kwnames
[] = {
13261 (char *) "self",(char *) "s", NULL
13264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13266 if (!SWIG_IsOK(res1
)) {
13267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
13269 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13271 arg2
= wxString_in_helper(obj1
);
13272 if (arg2
== NULL
) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
13278 wxPyEndAllowThreads(__tstate
);
13279 if (PyErr_Occurred()) SWIG_fail
;
13282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13298 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13299 PyObject
*resultobj
= 0;
13300 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
13304 PyObject
*swig_obj
[1] ;
13306 if (!args
) SWIG_fail
;
13307 swig_obj
[0] = args
;
13308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
13309 if (!SWIG_IsOK(res1
)) {
13310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
13312 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13332 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13335 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
13336 return SWIG_Py_Void();
13339 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13340 return SWIG_Python_InitShadowInstance(args
);
13343 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13344 PyObject
*resultobj
= 0;
13345 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13346 wxString
*arg2
= (wxString
*) 0 ;
13349 bool temp2
= false ;
13350 PyObject
*swig_obj
[2] ;
13352 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
13353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13354 if (!SWIG_IsOK(res1
)) {
13355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13357 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13359 arg2
= wxString_in_helper(swig_obj
[1]);
13360 if (arg2
== NULL
) SWIG_fail
;
13363 if (arg1
) (arg1
)->facename
= *arg2
;
13365 resultobj
= SWIG_Py_Void();
13380 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13381 PyObject
*resultobj
= 0;
13382 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13383 wxString
*result
= 0 ;
13386 PyObject
*swig_obj
[1] ;
13388 if (!args
) SWIG_fail
;
13389 swig_obj
[0] = args
;
13390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13391 if (!SWIG_IsOK(res1
)) {
13392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13394 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13395 result
= (wxString
*)& ((arg1
)->facename
);
13398 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13400 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13409 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13410 PyObject
*resultobj
= 0;
13411 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13412 wxFontEncoding arg2
;
13417 PyObject
*swig_obj
[2] ;
13419 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13421 if (!SWIG_IsOK(res1
)) {
13422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13424 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13425 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13426 if (!SWIG_IsOK(ecode2
)) {
13427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13429 arg2
= static_cast< wxFontEncoding
>(val2
);
13430 if (arg1
) (arg1
)->encoding
= arg2
;
13432 resultobj
= SWIG_Py_Void();
13439 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13440 PyObject
*resultobj
= 0;
13441 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13442 wxFontEncoding result
;
13445 PyObject
*swig_obj
[1] ;
13447 if (!args
) SWIG_fail
;
13448 swig_obj
[0] = args
;
13449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13450 if (!SWIG_IsOK(res1
)) {
13451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13453 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13454 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13455 resultobj
= SWIG_From_int(static_cast< int >(result
));
13462 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13463 PyObject
*resultobj
= 0;
13464 wxNativeEncodingInfo
*result
= 0 ;
13466 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13480 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13481 PyObject
*resultobj
= 0;
13482 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13485 PyObject
*swig_obj
[1] ;
13487 if (!args
) SWIG_fail
;
13488 swig_obj
[0] = args
;
13489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13490 if (!SWIG_IsOK(res1
)) {
13491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13493 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13501 resultobj
= SWIG_Py_Void();
13508 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13509 PyObject
*resultobj
= 0;
13510 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13511 wxString
*arg2
= 0 ;
13515 bool temp2
= false ;
13516 PyObject
* obj0
= 0 ;
13517 PyObject
* obj1
= 0 ;
13518 char * kwnames
[] = {
13519 (char *) "self",(char *) "s", NULL
13522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13524 if (!SWIG_IsOK(res1
)) {
13525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13527 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13529 arg2
= wxString_in_helper(obj1
);
13530 if (arg2
== NULL
) SWIG_fail
;
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13535 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13556 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13557 PyObject
*resultobj
= 0;
13558 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13562 PyObject
*swig_obj
[1] ;
13564 if (!args
) SWIG_fail
;
13565 swig_obj
[0] = args
;
13566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13567 if (!SWIG_IsOK(res1
)) {
13568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13570 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13590 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13593 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13594 return SWIG_Py_Void();
13597 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13598 return SWIG_Python_InitShadowInstance(args
);
13601 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
= 0;
13603 wxFontEncoding arg1
;
13604 wxNativeEncodingInfo
*result
= 0 ;
13607 PyObject
* obj0
= 0 ;
13608 char * kwnames
[] = {
13609 (char *) "encoding", NULL
13612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13613 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13614 if (!SWIG_IsOK(ecode1
)) {
13615 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13617 arg1
= static_cast< wxFontEncoding
>(val1
);
13619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13620 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13631 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13632 PyObject
*resultobj
= 0;
13633 wxNativeEncodingInfo
*arg1
= 0 ;
13637 PyObject
* obj0
= 0 ;
13638 char * kwnames
[] = {
13639 (char *) "info", NULL
13642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13643 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13644 if (!SWIG_IsOK(res1
)) {
13645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13650 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13666 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13667 PyObject
*resultobj
= 0;
13668 wxFontMapper
*result
= 0 ;
13670 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13673 result
= (wxFontMapper
*)new wxFontMapper();
13674 wxPyEndAllowThreads(__tstate
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13684 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13685 PyObject
*resultobj
= 0;
13686 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13689 PyObject
*swig_obj
[1] ;
13691 if (!args
) SWIG_fail
;
13692 swig_obj
[0] = args
;
13693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13694 if (!SWIG_IsOK(res1
)) {
13695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13697 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 resultobj
= SWIG_Py_Void();
13712 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13713 PyObject
*resultobj
= 0;
13714 wxFontMapper
*result
= 0 ;
13716 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13719 result
= (wxFontMapper
*)wxFontMapper::Get();
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13730 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
= 0;
13732 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13733 wxFontMapper
*result
= 0 ;
13736 PyObject
* obj0
= 0 ;
13737 char * kwnames
[] = {
13738 (char *) "mapper", NULL
13741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13743 if (!SWIG_IsOK(res1
)) {
13744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13746 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13760 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13761 PyObject
*resultobj
= 0;
13762 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13763 wxString
*arg2
= 0 ;
13764 bool arg3
= (bool) true ;
13765 wxFontEncoding result
;
13768 bool temp2
= false ;
13771 PyObject
* obj0
= 0 ;
13772 PyObject
* obj1
= 0 ;
13773 PyObject
* obj2
= 0 ;
13774 char * kwnames
[] = {
13775 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13780 if (!SWIG_IsOK(res1
)) {
13781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13783 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13785 arg2
= wxString_in_helper(obj1
);
13786 if (arg2
== NULL
) SWIG_fail
;
13790 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13791 if (!SWIG_IsOK(ecode3
)) {
13792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13794 arg3
= static_cast< bool >(val3
);
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13799 wxPyEndAllowThreads(__tstate
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 resultobj
= SWIG_From_int(static_cast< int >(result
));
13817 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13818 PyObject
*resultobj
= 0;
13821 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13824 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13828 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13835 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
*resultobj
= 0;
13838 wxFontEncoding result
;
13841 PyObject
* obj0
= 0 ;
13842 char * kwnames
[] = {
13846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13847 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13848 if (!SWIG_IsOK(ecode1
)) {
13849 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13851 arg1
= static_cast< size_t >(val1
);
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= SWIG_From_int(static_cast< int >(result
));
13865 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13866 PyObject
*resultobj
= 0;
13867 wxFontEncoding arg1
;
13871 PyObject
* obj0
= 0 ;
13872 char * kwnames
[] = {
13873 (char *) "encoding", NULL
13876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13877 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13878 if (!SWIG_IsOK(ecode1
)) {
13879 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13881 arg1
= static_cast< wxFontEncoding
>(val1
);
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 result
= wxFontMapper::GetEncodingName(arg1
);
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13901 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
= 0;
13903 wxFontEncoding arg1
;
13907 PyObject
* obj0
= 0 ;
13908 char * kwnames
[] = {
13909 (char *) "encoding", NULL
13912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13913 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13914 if (!SWIG_IsOK(ecode1
)) {
13915 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13917 arg1
= static_cast< wxFontEncoding
>(val1
);
13919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13920 result
= wxFontMapper::GetEncodingDescription(arg1
);
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13926 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13928 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13937 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13938 PyObject
*resultobj
= 0;
13939 wxString
*arg1
= 0 ;
13940 wxFontEncoding result
;
13941 bool temp1
= false ;
13942 PyObject
* obj0
= 0 ;
13943 char * kwnames
[] = {
13944 (char *) "name", NULL
13947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13949 arg1
= wxString_in_helper(obj0
);
13950 if (arg1
== NULL
) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= SWIG_From_int(static_cast< int >(result
));
13974 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
= 0;
13976 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13977 wxString
*arg2
= 0 ;
13980 bool temp2
= false ;
13981 PyObject
* obj0
= 0 ;
13982 PyObject
* obj1
= 0 ;
13983 char * kwnames
[] = {
13984 (char *) "self",(char *) "prefix", NULL
13987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13989 if (!SWIG_IsOK(res1
)) {
13990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13992 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13994 arg2
= wxString_in_helper(obj1
);
13995 if (arg2
== NULL
) SWIG_fail
;
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
14001 wxPyEndAllowThreads(__tstate
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14004 resultobj
= SWIG_Py_Void();
14019 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14020 PyObject
*resultobj
= 0;
14023 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 result
= wxFontMapper::GetDefaultConfigPath();
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14043 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
= 0;
14045 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14046 wxFontEncoding arg2
;
14047 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14049 bool arg4
= (bool) true ;
14050 PyObject
*result
= 0 ;
14055 bool temp3
= false ;
14058 PyObject
* obj0
= 0 ;
14059 PyObject
* obj1
= 0 ;
14060 PyObject
* obj2
= 0 ;
14061 PyObject
* obj3
= 0 ;
14062 char * kwnames
[] = {
14063 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
14066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14068 if (!SWIG_IsOK(res1
)) {
14069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14071 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14073 if (!SWIG_IsOK(ecode2
)) {
14074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14076 arg2
= static_cast< wxFontEncoding
>(val2
);
14079 arg3
= wxString_in_helper(obj2
);
14080 if (arg3
== NULL
) SWIG_fail
;
14085 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14086 if (!SWIG_IsOK(ecode4
)) {
14087 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
14089 arg4
= static_cast< bool >(val4
);
14092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14093 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14097 resultobj
= result
;
14112 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14113 PyObject
*resultobj
= 0;
14114 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14115 wxFontEncoding arg2
;
14116 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14117 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14123 bool temp3
= false ;
14124 PyObject
* obj0
= 0 ;
14125 PyObject
* obj1
= 0 ;
14126 PyObject
* obj2
= 0 ;
14127 char * kwnames
[] = {
14128 (char *) "self",(char *) "encoding",(char *) "facename", NULL
14131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14133 if (!SWIG_IsOK(res1
)) {
14134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14136 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14138 if (!SWIG_IsOK(ecode2
)) {
14139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14141 arg2
= static_cast< wxFontEncoding
>(val2
);
14144 arg3
= wxString_in_helper(obj2
);
14145 if (arg3
== NULL
) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14172 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
= 0;
14174 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14175 wxWindow
*arg2
= (wxWindow
*) 0 ;
14180 PyObject
* obj0
= 0 ;
14181 PyObject
* obj1
= 0 ;
14182 char * kwnames
[] = {
14183 (char *) "self",(char *) "parent", NULL
14186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14188 if (!SWIG_IsOK(res1
)) {
14189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14191 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14193 if (!SWIG_IsOK(res2
)) {
14194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
14196 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 (arg1
)->SetDialogParent(arg2
);
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= SWIG_Py_Void();
14210 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
= 0;
14212 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
14213 wxString
*arg2
= 0 ;
14216 bool temp2
= false ;
14217 PyObject
* obj0
= 0 ;
14218 PyObject
* obj1
= 0 ;
14219 char * kwnames
[] = {
14220 (char *) "self",(char *) "title", NULL
14223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
14225 if (!SWIG_IsOK(res1
)) {
14226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
14228 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
14230 arg2
= wxString_in_helper(obj1
);
14231 if (arg2
== NULL
) SWIG_fail
;
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= SWIG_Py_Void();
14255 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14257 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14258 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
14259 return SWIG_Py_Void();
14262 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14263 return SWIG_Python_InitShadowInstance(args
);
14266 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14267 PyObject
*resultobj
= 0;
14272 bool arg5
= (bool) false ;
14273 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14274 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14275 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14276 wxFont
*result
= 0 ;
14287 bool temp6
= false ;
14290 PyObject
* obj0
= 0 ;
14291 PyObject
* obj1
= 0 ;
14292 PyObject
* obj2
= 0 ;
14293 PyObject
* obj3
= 0 ;
14294 PyObject
* obj4
= 0 ;
14295 PyObject
* obj5
= 0 ;
14296 PyObject
* obj6
= 0 ;
14297 char * kwnames
[] = {
14298 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
14301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14302 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14303 if (!SWIG_IsOK(ecode1
)) {
14304 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
14306 arg1
= static_cast< int >(val1
);
14307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14308 if (!SWIG_IsOK(ecode2
)) {
14309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
14311 arg2
= static_cast< int >(val2
);
14312 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14313 if (!SWIG_IsOK(ecode3
)) {
14314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
14316 arg3
= static_cast< int >(val3
);
14317 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14318 if (!SWIG_IsOK(ecode4
)) {
14319 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
14321 arg4
= static_cast< int >(val4
);
14323 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14324 if (!SWIG_IsOK(ecode5
)) {
14325 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
14327 arg5
= static_cast< bool >(val5
);
14331 arg6
= wxString_in_helper(obj5
);
14332 if (arg6
== NULL
) SWIG_fail
;
14337 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14338 if (!SWIG_IsOK(ecode7
)) {
14339 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14341 arg7
= static_cast< wxFontEncoding
>(val7
);
14344 if (!wxPyCheckForApp()) SWIG_fail
;
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
14365 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14366 PyObject
*resultobj
= 0;
14367 wxFont
*arg1
= (wxFont
*) 0 ;
14370 PyObject
*swig_obj
[1] ;
14372 if (!args
) SWIG_fail
;
14373 swig_obj
[0] = args
;
14374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
14375 if (!SWIG_IsOK(res1
)) {
14376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
14378 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= SWIG_Py_Void();
14393 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
= 0;
14395 wxNativeFontInfo
*arg1
= 0 ;
14396 wxFont
*result
= 0 ;
14399 PyObject
* obj0
= 0 ;
14400 char * kwnames
[] = {
14401 (char *) "info", NULL
14404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14405 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14406 if (!SWIG_IsOK(res1
)) {
14407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14410 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14412 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14414 if (!wxPyCheckForApp()) SWIG_fail
;
14415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14416 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14417 wxPyEndAllowThreads(__tstate
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14427 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14428 PyObject
*resultobj
= 0;
14429 wxString
*arg1
= 0 ;
14430 wxFont
*result
= 0 ;
14431 bool temp1
= false ;
14432 PyObject
* obj0
= 0 ;
14433 char * kwnames
[] = {
14434 (char *) "info", NULL
14437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14439 arg1
= wxString_in_helper(obj0
);
14440 if (arg1
== NULL
) SWIG_fail
;
14444 if (!wxPyCheckForApp()) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14465 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
= 0;
14468 wxFontFamily arg2
;
14469 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14470 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14471 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14472 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14473 wxFont
*result
= 0 ;
14480 bool temp4
= false ;
14483 PyObject
* obj0
= 0 ;
14484 PyObject
* obj1
= 0 ;
14485 PyObject
* obj2
= 0 ;
14486 PyObject
* obj3
= 0 ;
14487 PyObject
* obj4
= 0 ;
14488 char * kwnames
[] = {
14489 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14493 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14494 if (!SWIG_IsOK(ecode1
)) {
14495 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14497 arg1
= static_cast< int >(val1
);
14498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14499 if (!SWIG_IsOK(ecode2
)) {
14500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14502 arg2
= static_cast< wxFontFamily
>(val2
);
14504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14505 if (!SWIG_IsOK(ecode3
)) {
14506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14508 arg3
= static_cast< int >(val3
);
14512 arg4
= wxString_in_helper(obj3
);
14513 if (arg4
== NULL
) SWIG_fail
;
14518 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14519 if (!SWIG_IsOK(ecode5
)) {
14520 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14522 arg5
= static_cast< wxFontEncoding
>(val5
);
14525 if (!wxPyCheckForApp()) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14546 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
= 0;
14552 bool arg5
= (bool) false ;
14553 wxString
const &arg6_defvalue
= wxEmptyString
;
14554 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14555 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14556 wxFont
*result
= 0 ;
14566 bool temp6
= false ;
14569 PyObject
* obj0
= 0 ;
14570 PyObject
* obj1
= 0 ;
14571 PyObject
* obj2
= 0 ;
14572 PyObject
* obj3
= 0 ;
14573 PyObject
* obj4
= 0 ;
14574 PyObject
* obj5
= 0 ;
14575 PyObject
* obj6
= 0 ;
14576 char * kwnames
[] = {
14577 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14583 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14586 if (!SWIG_IsOK(ecode2
)) {
14587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14589 arg2
= static_cast< int >(val2
);
14590 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14591 if (!SWIG_IsOK(ecode3
)) {
14592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14594 arg3
= static_cast< int >(val3
);
14595 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14596 if (!SWIG_IsOK(ecode4
)) {
14597 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14599 arg4
= static_cast< int >(val4
);
14601 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14602 if (!SWIG_IsOK(ecode5
)) {
14603 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14605 arg5
= static_cast< bool >(val5
);
14609 arg6
= wxString_in_helper(obj5
);
14610 if (arg6
== NULL
) SWIG_fail
;
14615 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14616 if (!SWIG_IsOK(ecode7
)) {
14617 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14619 arg7
= static_cast< wxFontEncoding
>(val7
);
14622 if (!wxPyCheckForApp()) SWIG_fail
;
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14625 wxPyEndAllowThreads(__tstate
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14643 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
= 0;
14646 wxFontFamily arg2
;
14647 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14648 wxString
const &arg4_defvalue
= wxEmptyString
;
14649 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14650 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14651 wxFont
*result
= 0 ;
14657 bool temp4
= false ;
14660 PyObject
* obj0
= 0 ;
14661 PyObject
* obj1
= 0 ;
14662 PyObject
* obj2
= 0 ;
14663 PyObject
* obj3
= 0 ;
14664 PyObject
* obj4
= 0 ;
14665 char * kwnames
[] = {
14666 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14672 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14675 if (!SWIG_IsOK(ecode2
)) {
14676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14678 arg2
= static_cast< wxFontFamily
>(val2
);
14680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14681 if (!SWIG_IsOK(ecode3
)) {
14682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14684 arg3
= static_cast< int >(val3
);
14688 arg4
= wxString_in_helper(obj3
);
14689 if (arg4
== NULL
) SWIG_fail
;
14694 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14695 if (!SWIG_IsOK(ecode5
)) {
14696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14698 arg5
= static_cast< wxFontEncoding
>(val5
);
14701 if (!wxPyCheckForApp()) SWIG_fail
;
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14722 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14723 PyObject
*resultobj
= 0;
14724 wxFont
*arg1
= (wxFont
*) 0 ;
14728 PyObject
*swig_obj
[1] ;
14730 if (!args
) SWIG_fail
;
14731 swig_obj
[0] = args
;
14732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14733 if (!SWIG_IsOK(res1
)) {
14734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14736 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14739 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14752 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
= 0;
14754 wxFont
*arg1
= (wxFont
*) 0 ;
14755 wxFont
*arg2
= (wxFont
*) 0 ;
14761 PyObject
* obj0
= 0 ;
14762 PyObject
* obj1
= 0 ;
14763 char * kwnames
[] = {
14764 (char *) "self",(char *) "other", NULL
14767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14769 if (!SWIG_IsOK(res1
)) {
14770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14772 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14773 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14774 if (!SWIG_IsOK(res2
)) {
14775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14777 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14793 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
= 0;
14795 wxFont
*arg1
= (wxFont
*) 0 ;
14796 wxFont
*arg2
= (wxFont
*) 0 ;
14802 PyObject
* obj0
= 0 ;
14803 PyObject
* obj1
= 0 ;
14804 char * kwnames
[] = {
14805 (char *) "self",(char *) "other", NULL
14808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14810 if (!SWIG_IsOK(res1
)) {
14811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14813 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14814 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14815 if (!SWIG_IsOK(res2
)) {
14816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14818 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14834 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14835 PyObject
*resultobj
= 0;
14836 wxFont
*arg1
= (wxFont
*) 0 ;
14840 PyObject
*swig_obj
[1] ;
14842 if (!args
) SWIG_fail
;
14843 swig_obj
[0] = args
;
14844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14845 if (!SWIG_IsOK(res1
)) {
14846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14848 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14855 resultobj
= SWIG_From_int(static_cast< int >(result
));
14862 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14863 PyObject
*resultobj
= 0;
14864 wxFont
*arg1
= (wxFont
*) 0 ;
14868 PyObject
*swig_obj
[1] ;
14870 if (!args
) SWIG_fail
;
14871 swig_obj
[0] = args
;
14872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14873 if (!SWIG_IsOK(res1
)) {
14874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14876 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14879 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14883 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14890 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14891 PyObject
*resultobj
= 0;
14892 wxFont
*arg1
= (wxFont
*) 0 ;
14896 PyObject
*swig_obj
[1] ;
14898 if (!args
) SWIG_fail
;
14899 swig_obj
[0] = args
;
14900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14901 if (!SWIG_IsOK(res1
)) {
14902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14904 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14920 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14921 PyObject
*resultobj
= 0;
14922 wxFont
*arg1
= (wxFont
*) 0 ;
14926 PyObject
*swig_obj
[1] ;
14928 if (!args
) SWIG_fail
;
14929 swig_obj
[0] = args
;
14930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14931 if (!SWIG_IsOK(res1
)) {
14932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14934 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14938 wxPyEndAllowThreads(__tstate
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14941 resultobj
= SWIG_From_int(static_cast< int >(result
));
14948 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14949 PyObject
*resultobj
= 0;
14950 wxFont
*arg1
= (wxFont
*) 0 ;
14954 PyObject
*swig_obj
[1] ;
14956 if (!args
) SWIG_fail
;
14957 swig_obj
[0] = args
;
14958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14959 if (!SWIG_IsOK(res1
)) {
14960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14962 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= SWIG_From_int(static_cast< int >(result
));
14976 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14977 PyObject
*resultobj
= 0;
14978 wxFont
*arg1
= (wxFont
*) 0 ;
14982 PyObject
*swig_obj
[1] ;
14984 if (!args
) SWIG_fail
;
14985 swig_obj
[0] = args
;
14986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14987 if (!SWIG_IsOK(res1
)) {
14988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14990 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= SWIG_From_int(static_cast< int >(result
));
15004 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(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_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
15018 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15021 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15034 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15035 PyObject
*resultobj
= 0;
15036 wxFont
*arg1
= (wxFont
*) 0 ;
15040 PyObject
*swig_obj
[1] ;
15042 if (!args
) SWIG_fail
;
15043 swig_obj
[0] = args
;
15044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15045 if (!SWIG_IsOK(res1
)) {
15046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
15048 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 result
= ((wxFont
const *)arg1
)->GetFaceName();
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15068 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15069 PyObject
*resultobj
= 0;
15070 wxFont
*arg1
= (wxFont
*) 0 ;
15071 wxFontEncoding result
;
15074 PyObject
*swig_obj
[1] ;
15076 if (!args
) SWIG_fail
;
15077 swig_obj
[0] = args
;
15078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15079 if (!SWIG_IsOK(res1
)) {
15080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
15082 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= SWIG_From_int(static_cast< int >(result
));
15096 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15097 PyObject
*resultobj
= 0;
15098 wxFont
*arg1
= (wxFont
*) 0 ;
15099 wxNativeFontInfo
*result
= 0 ;
15102 PyObject
*swig_obj
[1] ;
15104 if (!args
) SWIG_fail
;
15105 swig_obj
[0] = args
;
15106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15107 if (!SWIG_IsOK(res1
)) {
15108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
15110 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
15124 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15125 PyObject
*resultobj
= 0;
15126 wxFont
*arg1
= (wxFont
*) 0 ;
15130 PyObject
*swig_obj
[1] ;
15132 if (!args
) SWIG_fail
;
15133 swig_obj
[0] = args
;
15134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15135 if (!SWIG_IsOK(res1
)) {
15136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
15138 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
15142 wxPyEndAllowThreads(__tstate
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15154 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15155 PyObject
*resultobj
= 0;
15156 wxFont
*arg1
= (wxFont
*) 0 ;
15160 PyObject
*swig_obj
[1] ;
15162 if (!args
) SWIG_fail
;
15163 swig_obj
[0] = args
;
15164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15165 if (!SWIG_IsOK(res1
)) {
15166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15168 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15188 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15189 PyObject
*resultobj
= 0;
15190 wxFont
*arg1
= (wxFont
*) 0 ;
15194 PyObject
*swig_obj
[1] ;
15196 if (!args
) SWIG_fail
;
15197 swig_obj
[0] = args
;
15198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15199 if (!SWIG_IsOK(res1
)) {
15200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
15202 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
15206 wxPyEndAllowThreads(__tstate
);
15207 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15222 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15223 PyObject
*resultobj
= 0;
15224 wxFont
*arg1
= (wxFont
*) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 PyObject
* obj1
= 0 ;
15232 char * kwnames
[] = {
15233 (char *) "self",(char *) "pointSize", NULL
15236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15238 if (!SWIG_IsOK(res1
)) {
15239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
15241 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15243 if (!SWIG_IsOK(ecode2
)) {
15244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
15246 arg2
= static_cast< int >(val2
);
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 (arg1
)->SetPointSize(arg2
);
15250 wxPyEndAllowThreads(__tstate
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15253 resultobj
= SWIG_Py_Void();
15260 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15261 PyObject
*resultobj
= 0;
15262 wxFont
*arg1
= (wxFont
*) 0 ;
15267 PyObject
* obj0
= 0 ;
15268 PyObject
* obj1
= 0 ;
15269 char * kwnames
[] = {
15270 (char *) "self",(char *) "pixelSize", NULL
15273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15275 if (!SWIG_IsOK(res1
)) {
15276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
15278 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15281 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
15286 wxPyEndAllowThreads(__tstate
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15289 resultobj
= SWIG_Py_Void();
15296 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15297 PyObject
*resultobj
= 0;
15298 wxFont
*arg1
= (wxFont
*) 0 ;
15304 PyObject
* obj0
= 0 ;
15305 PyObject
* obj1
= 0 ;
15306 char * kwnames
[] = {
15307 (char *) "self",(char *) "family", NULL
15310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15312 if (!SWIG_IsOK(res1
)) {
15313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
15315 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15317 if (!SWIG_IsOK(ecode2
)) {
15318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
15320 arg2
= static_cast< int >(val2
);
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 (arg1
)->SetFamily(arg2
);
15324 wxPyEndAllowThreads(__tstate
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15327 resultobj
= SWIG_Py_Void();
15334 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
= 0;
15336 wxFont
*arg1
= (wxFont
*) 0 ;
15342 PyObject
* obj0
= 0 ;
15343 PyObject
* obj1
= 0 ;
15344 char * kwnames
[] = {
15345 (char *) "self",(char *) "style", NULL
15348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15350 if (!SWIG_IsOK(res1
)) {
15351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
15353 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15355 if (!SWIG_IsOK(ecode2
)) {
15356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
15358 arg2
= static_cast< int >(val2
);
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 (arg1
)->SetStyle(arg2
);
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 resultobj
= SWIG_Py_Void();
15372 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
= 0;
15374 wxFont
*arg1
= (wxFont
*) 0 ;
15380 PyObject
* obj0
= 0 ;
15381 PyObject
* obj1
= 0 ;
15382 char * kwnames
[] = {
15383 (char *) "self",(char *) "weight", NULL
15386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15388 if (!SWIG_IsOK(res1
)) {
15389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15391 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15393 if (!SWIG_IsOK(ecode2
)) {
15394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15396 arg2
= static_cast< int >(val2
);
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 (arg1
)->SetWeight(arg2
);
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15403 resultobj
= SWIG_Py_Void();
15410 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
= 0;
15412 wxFont
*arg1
= (wxFont
*) 0 ;
15413 wxString
*arg2
= 0 ;
15417 bool temp2
= false ;
15418 PyObject
* obj0
= 0 ;
15419 PyObject
* obj1
= 0 ;
15420 char * kwnames
[] = {
15421 (char *) "self",(char *) "faceName", NULL
15424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15426 if (!SWIG_IsOK(res1
)) {
15427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15429 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15431 arg2
= wxString_in_helper(obj1
);
15432 if (arg2
== NULL
) SWIG_fail
;
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15458 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
= 0;
15460 wxFont
*arg1
= (wxFont
*) 0 ;
15466 PyObject
* obj0
= 0 ;
15467 PyObject
* obj1
= 0 ;
15468 char * kwnames
[] = {
15469 (char *) "self",(char *) "underlined", NULL
15472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15474 if (!SWIG_IsOK(res1
)) {
15475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15477 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15478 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15479 if (!SWIG_IsOK(ecode2
)) {
15480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15482 arg2
= static_cast< bool >(val2
);
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 (arg1
)->SetUnderlined(arg2
);
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= SWIG_Py_Void();
15496 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
= 0;
15498 wxFont
*arg1
= (wxFont
*) 0 ;
15499 wxFontEncoding arg2
;
15504 PyObject
* obj0
= 0 ;
15505 PyObject
* obj1
= 0 ;
15506 char * kwnames
[] = {
15507 (char *) "self",(char *) "encoding", NULL
15510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15512 if (!SWIG_IsOK(res1
)) {
15513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15515 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15517 if (!SWIG_IsOK(ecode2
)) {
15518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15520 arg2
= static_cast< wxFontEncoding
>(val2
);
15522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 (arg1
)->SetEncoding(arg2
);
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15527 resultobj
= SWIG_Py_Void();
15534 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
= 0;
15536 wxFont
*arg1
= (wxFont
*) 0 ;
15537 wxNativeFontInfo
*arg2
= 0 ;
15542 PyObject
* obj0
= 0 ;
15543 PyObject
* obj1
= 0 ;
15544 char * kwnames
[] = {
15545 (char *) "self",(char *) "info", NULL
15548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15550 if (!SWIG_IsOK(res1
)) {
15551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15553 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15554 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15555 if (!SWIG_IsOK(res2
)) {
15556 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15561 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15565 wxPyEndAllowThreads(__tstate
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15568 resultobj
= SWIG_Py_Void();
15575 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15576 PyObject
*resultobj
= 0;
15577 wxFont
*arg1
= (wxFont
*) 0 ;
15578 wxString
*arg2
= 0 ;
15582 bool temp2
= false ;
15583 PyObject
* obj0
= 0 ;
15584 PyObject
* obj1
= 0 ;
15585 char * kwnames
[] = {
15586 (char *) "self",(char *) "info", NULL
15589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15591 if (!SWIG_IsOK(res1
)) {
15592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15594 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15596 arg2
= wxString_in_helper(obj1
);
15597 if (arg2
== NULL
) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15623 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15624 PyObject
*resultobj
= 0;
15625 wxFont
*arg1
= (wxFont
*) 0 ;
15626 wxString
*arg2
= 0 ;
15630 bool temp2
= false ;
15631 PyObject
* obj0
= 0 ;
15632 PyObject
* obj1
= 0 ;
15633 char * kwnames
[] = {
15634 (char *) "self",(char *) "info", NULL
15637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15639 if (!SWIG_IsOK(res1
)) {
15640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15642 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15644 arg2
= wxString_in_helper(obj1
);
15645 if (arg2
== NULL
) SWIG_fail
;
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15671 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15672 PyObject
*resultobj
= 0;
15673 wxFont
*arg1
= (wxFont
*) 0 ;
15677 PyObject
*swig_obj
[1] ;
15679 if (!args
) SWIG_fail
;
15680 swig_obj
[0] = args
;
15681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15682 if (!SWIG_IsOK(res1
)) {
15683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15685 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15688 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15705 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15706 PyObject
*resultobj
= 0;
15707 wxFont
*arg1
= (wxFont
*) 0 ;
15711 PyObject
*swig_obj
[1] ;
15713 if (!args
) SWIG_fail
;
15714 swig_obj
[0] = args
;
15715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15716 if (!SWIG_IsOK(res1
)) {
15717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15719 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 result
= ((wxFont
const *)arg1
)->GetStyleString();
15723 wxPyEndAllowThreads(__tstate
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15739 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15740 PyObject
*resultobj
= 0;
15741 wxFont
*arg1
= (wxFont
*) 0 ;
15745 PyObject
*swig_obj
[1] ;
15747 if (!args
) SWIG_fail
;
15748 swig_obj
[0] = args
;
15749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15750 if (!SWIG_IsOK(res1
)) {
15751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15753 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= ((wxFont
const *)arg1
)->GetWeightString();
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15773 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
= 0;
15775 wxFont
*arg1
= (wxFont
*) 0 ;
15776 bool arg2
= (bool) true ;
15781 PyObject
* obj0
= 0 ;
15782 PyObject
* obj1
= 0 ;
15783 char * kwnames
[] = {
15784 (char *) "self",(char *) "no", NULL
15787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15789 if (!SWIG_IsOK(res1
)) {
15790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15792 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15794 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15795 if (!SWIG_IsOK(ecode2
)) {
15796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15798 arg2
= static_cast< bool >(val2
);
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 (arg1
)->SetNoAntiAliasing(arg2
);
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15806 resultobj
= SWIG_Py_Void();
15813 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15814 PyObject
*resultobj
= 0;
15815 wxFont
*arg1
= (wxFont
*) 0 ;
15819 PyObject
*swig_obj
[1] ;
15821 if (!args
) SWIG_fail
;
15822 swig_obj
[0] = args
;
15823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15824 if (!SWIG_IsOK(res1
)) {
15825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15827 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15830 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15831 wxPyEndAllowThreads(__tstate
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15843 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15844 PyObject
*resultobj
= 0;
15845 wxFontEncoding result
;
15847 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15849 if (!wxPyCheckForApp()) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15855 resultobj
= SWIG_From_int(static_cast< int >(result
));
15862 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15863 PyObject
*resultobj
= 0;
15864 wxFontEncoding arg1
;
15867 PyObject
* obj0
= 0 ;
15868 char * kwnames
[] = {
15869 (char *) "encoding", NULL
15872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15873 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15874 if (!SWIG_IsOK(ecode1
)) {
15875 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15877 arg1
= static_cast< wxFontEncoding
>(val1
);
15879 if (!wxPyCheckForApp()) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 wxFont::SetDefaultEncoding(arg1
);
15882 wxPyEndAllowThreads(__tstate
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= SWIG_Py_Void();
15892 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15894 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15895 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15896 return SWIG_Py_Void();
15899 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15900 return SWIG_Python_InitShadowInstance(args
);
15903 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15904 PyObject
*resultobj
= 0;
15905 wxPyFontEnumerator
*result
= 0 ;
15907 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15909 if (!wxPyCheckForApp()) SWIG_fail
;
15910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15911 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15912 wxPyEndAllowThreads(__tstate
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15922 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15923 PyObject
*resultobj
= 0;
15924 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15927 PyObject
*swig_obj
[1] ;
15929 if (!args
) SWIG_fail
;
15930 swig_obj
[0] = args
;
15931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15932 if (!SWIG_IsOK(res1
)) {
15933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15935 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15943 resultobj
= SWIG_Py_Void();
15950 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15951 PyObject
*resultobj
= 0;
15952 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15953 PyObject
*arg2
= (PyObject
*) 0 ;
15954 PyObject
*arg3
= (PyObject
*) 0 ;
15960 PyObject
* obj0
= 0 ;
15961 PyObject
* obj1
= 0 ;
15962 PyObject
* obj2
= 0 ;
15963 PyObject
* obj3
= 0 ;
15964 char * kwnames
[] = {
15965 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15970 if (!SWIG_IsOK(res1
)) {
15971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15973 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15976 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15977 if (!SWIG_IsOK(ecode4
)) {
15978 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15980 arg4
= static_cast< bool >(val4
);
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15983 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15987 resultobj
= SWIG_Py_Void();
15994 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15995 PyObject
*resultobj
= 0;
15996 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15997 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15998 bool arg3
= (bool) false ;
16006 PyObject
* obj0
= 0 ;
16007 PyObject
* obj1
= 0 ;
16008 PyObject
* obj2
= 0 ;
16009 char * kwnames
[] = {
16010 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
16013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16015 if (!SWIG_IsOK(res1
)) {
16016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16018 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16021 if (!SWIG_IsOK(ecode2
)) {
16022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16024 arg2
= static_cast< wxFontEncoding
>(val2
);
16027 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16028 if (!SWIG_IsOK(ecode3
)) {
16029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
16031 arg3
= static_cast< bool >(val3
);
16034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
16036 wxPyEndAllowThreads(__tstate
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16048 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
= 0;
16050 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
16051 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16052 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16056 bool temp2
= false ;
16057 PyObject
* obj0
= 0 ;
16058 PyObject
* obj1
= 0 ;
16059 char * kwnames
[] = {
16060 (char *) "self",(char *) "facename", NULL
16063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
16065 if (!SWIG_IsOK(res1
)) {
16066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
16068 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
16071 arg2
= wxString_in_helper(obj1
);
16072 if (arg2
== NULL
) SWIG_fail
;
16077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16078 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
16079 wxPyEndAllowThreads(__tstate
);
16080 if (PyErr_Occurred()) SWIG_fail
;
16083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16099 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16100 PyObject
*resultobj
= 0;
16101 PyObject
*result
= 0 ;
16103 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 resultobj
= result
;
16117 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16118 PyObject
*resultobj
= 0;
16119 PyObject
*result
= 0 ;
16121 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
16123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
16125 wxPyEndAllowThreads(__tstate
);
16126 if (PyErr_Occurred()) SWIG_fail
;
16128 resultobj
= result
;
16135 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16136 PyObject
*resultobj
= 0;
16137 wxString
*arg1
= 0 ;
16139 bool temp1
= false ;
16140 PyObject
* obj0
= 0 ;
16141 char * kwnames
[] = {
16142 (char *) "str", NULL
16145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
16147 arg1
= wxString_in_helper(obj0
);
16148 if (arg1
== NULL
) SWIG_fail
;
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16153 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
16154 wxPyEndAllowThreads(__tstate
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16174 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16177 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
16178 return SWIG_Py_Void();
16181 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16182 return SWIG_Python_InitShadowInstance(args
);
16185 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16186 PyObject
*resultobj
= 0;
16187 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16193 PyObject
*swig_obj
[2] ;
16195 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
16196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16197 if (!SWIG_IsOK(res1
)) {
16198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16200 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16201 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
16202 if (!SWIG_IsOK(ecode2
)) {
16203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
16205 arg2
= static_cast< int >(val2
);
16206 if (arg1
) (arg1
)->Language
= arg2
;
16208 resultobj
= SWIG_Py_Void();
16215 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16216 PyObject
*resultobj
= 0;
16217 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16221 PyObject
*swig_obj
[1] ;
16223 if (!args
) SWIG_fail
;
16224 swig_obj
[0] = args
;
16225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16226 if (!SWIG_IsOK(res1
)) {
16227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16229 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16230 result
= (int) ((arg1
)->Language
);
16231 resultobj
= SWIG_From_int(static_cast< int >(result
));
16238 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16239 PyObject
*resultobj
= 0;
16240 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16241 wxString
*arg2
= (wxString
*) 0 ;
16244 bool temp2
= false ;
16245 PyObject
*swig_obj
[2] ;
16247 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
16248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16249 if (!SWIG_IsOK(res1
)) {
16250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16252 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16254 arg2
= wxString_in_helper(swig_obj
[1]);
16255 if (arg2
== NULL
) SWIG_fail
;
16258 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
16260 resultobj
= SWIG_Py_Void();
16275 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16276 PyObject
*resultobj
= 0;
16277 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16278 wxString
*result
= 0 ;
16281 PyObject
*swig_obj
[1] ;
16283 if (!args
) SWIG_fail
;
16284 swig_obj
[0] = args
;
16285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16286 if (!SWIG_IsOK(res1
)) {
16287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16289 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16290 result
= (wxString
*)& ((arg1
)->CanonicalName
);
16293 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16295 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16304 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16305 PyObject
*resultobj
= 0;
16306 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16307 wxString
*arg2
= (wxString
*) 0 ;
16310 bool temp2
= false ;
16311 PyObject
*swig_obj
[2] ;
16313 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
16314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16315 if (!SWIG_IsOK(res1
)) {
16316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16318 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16320 arg2
= wxString_in_helper(swig_obj
[1]);
16321 if (arg2
== NULL
) SWIG_fail
;
16324 if (arg1
) (arg1
)->Description
= *arg2
;
16326 resultobj
= SWIG_Py_Void();
16341 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16342 PyObject
*resultobj
= 0;
16343 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
16344 wxString
*result
= 0 ;
16347 PyObject
*swig_obj
[1] ;
16349 if (!args
) SWIG_fail
;
16350 swig_obj
[0] = args
;
16351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16352 if (!SWIG_IsOK(res1
)) {
16353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
16355 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16356 result
= (wxString
*)& ((arg1
)->Description
);
16359 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16361 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16370 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16372 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16373 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
16374 return SWIG_Py_Void();
16377 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16378 PyObject
*resultobj
= 0;
16379 int arg1
= (int) -1 ;
16380 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16381 wxLocale
*result
= 0 ;
16386 PyObject
* obj0
= 0 ;
16387 PyObject
* obj1
= 0 ;
16388 char * kwnames
[] = {
16389 (char *) "language",(char *) "flags", NULL
16392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16394 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16395 if (!SWIG_IsOK(ecode1
)) {
16396 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16398 arg1
= static_cast< int >(val1
);
16401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16402 if (!SWIG_IsOK(ecode2
)) {
16403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16405 arg2
= static_cast< int >(val2
);
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16420 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16421 PyObject
*resultobj
= 0;
16422 wxLocale
*arg1
= (wxLocale
*) 0 ;
16425 PyObject
*swig_obj
[1] ;
16427 if (!args
) SWIG_fail
;
16428 swig_obj
[0] = args
;
16429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16430 if (!SWIG_IsOK(res1
)) {
16431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16433 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 wxPyEndAllowThreads(__tstate
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16441 resultobj
= SWIG_Py_Void();
16448 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
= 0;
16450 wxLocale
*arg1
= (wxLocale
*) 0 ;
16451 wxString
*arg2
= 0 ;
16452 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16453 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16454 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16455 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16456 bool arg5
= (bool) true ;
16457 bool arg6
= (bool) false ;
16461 bool temp2
= false ;
16462 bool temp3
= false ;
16463 bool temp4
= false ;
16468 PyObject
* obj0
= 0 ;
16469 PyObject
* obj1
= 0 ;
16470 PyObject
* obj2
= 0 ;
16471 PyObject
* obj3
= 0 ;
16472 PyObject
* obj4
= 0 ;
16473 PyObject
* obj5
= 0 ;
16474 char * kwnames
[] = {
16475 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16480 if (!SWIG_IsOK(res1
)) {
16481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16483 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16485 arg2
= wxString_in_helper(obj1
);
16486 if (arg2
== NULL
) SWIG_fail
;
16491 arg3
= wxString_in_helper(obj2
);
16492 if (arg3
== NULL
) SWIG_fail
;
16498 arg4
= wxString_in_helper(obj3
);
16499 if (arg4
== NULL
) SWIG_fail
;
16504 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16505 if (!SWIG_IsOK(ecode5
)) {
16506 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16508 arg5
= static_cast< bool >(val5
);
16511 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16512 if (!SWIG_IsOK(ecode6
)) {
16513 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16515 arg6
= static_cast< bool >(val6
);
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16519 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16520 wxPyEndAllowThreads(__tstate
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16556 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16557 PyObject
*resultobj
= 0;
16558 wxLocale
*arg1
= (wxLocale
*) 0 ;
16559 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16560 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16568 PyObject
* obj0
= 0 ;
16569 PyObject
* obj1
= 0 ;
16570 PyObject
* obj2
= 0 ;
16571 char * kwnames
[] = {
16572 (char *) "self",(char *) "language",(char *) "flags", NULL
16575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16577 if (!SWIG_IsOK(res1
)) {
16578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16580 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16583 if (!SWIG_IsOK(ecode2
)) {
16584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16586 arg2
= static_cast< int >(val2
);
16589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16590 if (!SWIG_IsOK(ecode3
)) {
16591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16593 arg3
= static_cast< int >(val3
);
16596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16597 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16610 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16611 PyObject
*resultobj
= 0;
16614 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 result
= (int)wxLocale::GetSystemLanguage();
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 resultobj
= SWIG_From_int(static_cast< int >(result
));
16628 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16629 PyObject
*resultobj
= 0;
16630 wxFontEncoding result
;
16632 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16639 resultobj
= SWIG_From_int(static_cast< int >(result
));
16646 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16647 PyObject
*resultobj
= 0;
16650 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16653 result
= wxLocale::GetSystemEncodingName();
16654 wxPyEndAllowThreads(__tstate
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16670 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16671 PyObject
*resultobj
= 0;
16672 wxLocale
*arg1
= (wxLocale
*) 0 ;
16676 PyObject
*swig_obj
[1] ;
16678 if (!args
) SWIG_fail
;
16679 swig_obj
[0] = args
;
16680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16681 if (!SWIG_IsOK(res1
)) {
16682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16684 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16700 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16701 PyObject
*resultobj
= 0;
16702 wxLocale
*arg1
= (wxLocale
*) 0 ;
16706 PyObject
*swig_obj
[1] ;
16708 if (!args
) SWIG_fail
;
16709 swig_obj
[0] = args
;
16710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16711 if (!SWIG_IsOK(res1
)) {
16712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16714 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16717 result
= ((wxLocale
const *)arg1
)->GetLocale();
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16734 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16735 PyObject
*resultobj
= 0;
16736 wxLocale
*arg1
= (wxLocale
*) 0 ;
16740 PyObject
*swig_obj
[1] ;
16742 if (!args
) SWIG_fail
;
16743 swig_obj
[0] = args
;
16744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16745 if (!SWIG_IsOK(res1
)) {
16746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16748 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 resultobj
= SWIG_From_int(static_cast< int >(result
));
16762 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16763 PyObject
*resultobj
= 0;
16764 wxLocale
*arg1
= (wxLocale
*) 0 ;
16768 PyObject
*swig_obj
[1] ;
16770 if (!args
) SWIG_fail
;
16771 swig_obj
[0] = args
;
16772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16773 if (!SWIG_IsOK(res1
)) {
16774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16776 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 result
= ((wxLocale
const *)arg1
)->GetSysName();
16780 wxPyEndAllowThreads(__tstate
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16785 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16787 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16796 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16797 PyObject
*resultobj
= 0;
16798 wxLocale
*arg1
= (wxLocale
*) 0 ;
16802 PyObject
*swig_obj
[1] ;
16804 if (!args
) SWIG_fail
;
16805 swig_obj
[0] = args
;
16806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16807 if (!SWIG_IsOK(res1
)) {
16808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16810 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16830 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16831 PyObject
*resultobj
= 0;
16832 wxString
*arg1
= 0 ;
16833 bool temp1
= false ;
16834 PyObject
* obj0
= 0 ;
16835 char * kwnames
[] = {
16836 (char *) "prefix", NULL
16839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16841 arg1
= wxString_in_helper(obj0
);
16842 if (arg1
== NULL
) SWIG_fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16851 resultobj
= SWIG_Py_Void();
16866 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16867 PyObject
*resultobj
= 0;
16868 wxLocale
*arg1
= (wxLocale
*) 0 ;
16869 wxString
*arg2
= 0 ;
16873 bool temp2
= false ;
16874 PyObject
* obj0
= 0 ;
16875 PyObject
* obj1
= 0 ;
16876 char * kwnames
[] = {
16877 (char *) "self",(char *) "szDomain", NULL
16880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16882 if (!SWIG_IsOK(res1
)) {
16883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16885 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16887 arg2
= wxString_in_helper(obj1
);
16888 if (arg2
== NULL
) SWIG_fail
;
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16894 wxPyEndAllowThreads(__tstate
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16914 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
= 0;
16920 PyObject
* obj0
= 0 ;
16921 char * kwnames
[] = {
16922 (char *) "lang", NULL
16925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16926 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16927 if (!SWIG_IsOK(ecode1
)) {
16928 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16930 arg1
= static_cast< int >(val1
);
16932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16933 result
= (bool)wxLocale::IsAvailable(arg1
);
16934 wxPyEndAllowThreads(__tstate
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16946 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
= 0;
16948 wxLocale
*arg1
= (wxLocale
*) 0 ;
16949 wxString
*arg2
= 0 ;
16953 bool temp2
= false ;
16954 PyObject
* obj0
= 0 ;
16955 PyObject
* obj1
= 0 ;
16956 char * kwnames
[] = {
16957 (char *) "self",(char *) "szDomain", NULL
16960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16962 if (!SWIG_IsOK(res1
)) {
16963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16965 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16967 arg2
= wxString_in_helper(obj1
);
16968 if (arg2
== NULL
) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16994 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16995 PyObject
*resultobj
= 0;
16997 wxLanguageInfo
*result
= 0 ;
17000 PyObject
* obj0
= 0 ;
17001 char * kwnames
[] = {
17002 (char *) "lang", NULL
17005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17006 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17007 if (!SWIG_IsOK(ecode1
)) {
17008 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
17010 arg1
= static_cast< int >(val1
);
17012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17013 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
17014 wxPyEndAllowThreads(__tstate
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17024 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17025 PyObject
*resultobj
= 0;
17030 PyObject
* obj0
= 0 ;
17031 char * kwnames
[] = {
17032 (char *) "lang", NULL
17035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
17036 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17037 if (!SWIG_IsOK(ecode1
)) {
17038 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
17040 arg1
= static_cast< int >(val1
);
17042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17043 result
= wxLocale::GetLanguageName(arg1
);
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17060 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
= 0;
17062 wxString
*arg1
= 0 ;
17063 wxLanguageInfo
*result
= 0 ;
17064 bool temp1
= false ;
17065 PyObject
* obj0
= 0 ;
17066 char * kwnames
[] = {
17067 (char *) "locale", NULL
17070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
17072 arg1
= wxString_in_helper(obj0
);
17073 if (arg1
== NULL
) SWIG_fail
;
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17078 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
17079 wxPyEndAllowThreads(__tstate
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
17097 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
= 0;
17099 wxLanguageInfo
*arg1
= 0 ;
17102 PyObject
* obj0
= 0 ;
17103 char * kwnames
[] = {
17104 (char *) "info", NULL
17107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
17108 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
17109 if (!SWIG_IsOK(res1
)) {
17110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
17115 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= SWIG_Py_Void();
17129 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17130 PyObject
*resultobj
= 0;
17131 wxLocale
*arg1
= (wxLocale
*) 0 ;
17132 wxString
*arg2
= 0 ;
17133 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17134 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17138 bool temp2
= false ;
17139 bool temp3
= false ;
17140 PyObject
* obj0
= 0 ;
17141 PyObject
* obj1
= 0 ;
17142 PyObject
* obj2
= 0 ;
17143 char * kwnames
[] = {
17144 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17149 if (!SWIG_IsOK(res1
)) {
17150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
17152 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17154 arg2
= wxString_in_helper(obj1
);
17155 if (arg2
== NULL
) SWIG_fail
;
17160 arg3
= wxString_in_helper(obj2
);
17161 if (arg3
== NULL
) SWIG_fail
;
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17200 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17201 PyObject
*resultobj
= 0;
17202 wxLocale
*arg1
= (wxLocale
*) 0 ;
17203 wxString
*result
= 0 ;
17206 PyObject
*swig_obj
[1] ;
17208 if (!args
) SWIG_fail
;
17209 swig_obj
[0] = args
;
17210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
17211 if (!SWIG_IsOK(res1
)) {
17212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
17214 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
17219 result
= (wxString
*) &_result_ref
;
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17226 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17228 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17237 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17240 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
17241 return SWIG_Py_Void();
17244 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17245 return SWIG_Python_InitShadowInstance(args
);
17248 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
= 0;
17250 int arg1
= (int) -1 ;
17251 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
17252 wxPyLocale
*result
= 0 ;
17257 PyObject
* obj0
= 0 ;
17258 PyObject
* obj1
= 0 ;
17259 char * kwnames
[] = {
17260 (char *) "language",(char *) "flags", NULL
17263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17265 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17266 if (!SWIG_IsOK(ecode1
)) {
17267 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
17269 arg1
= static_cast< int >(val1
);
17272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17273 if (!SWIG_IsOK(ecode2
)) {
17274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
17276 arg2
= static_cast< int >(val2
);
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
17281 wxPyEndAllowThreads(__tstate
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
17291 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17292 PyObject
*resultobj
= 0;
17293 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17296 PyObject
*swig_obj
[1] ;
17298 if (!args
) SWIG_fail
;
17299 swig_obj
[0] = args
;
17300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
17301 if (!SWIG_IsOK(res1
)) {
17302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17304 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 resultobj
= SWIG_Py_Void();
17319 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
= 0;
17321 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17322 PyObject
*arg2
= (PyObject
*) 0 ;
17323 PyObject
*arg3
= (PyObject
*) 0 ;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 PyObject
* obj2
= 0 ;
17329 char * kwnames
[] = {
17330 (char *) "self",(char *) "self",(char *) "_class", NULL
17333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17335 if (!SWIG_IsOK(res1
)) {
17336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
17338 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17343 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 resultobj
= SWIG_Py_Void();
17354 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
= 0;
17356 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17357 wxChar
*arg2
= (wxChar
*) 0 ;
17358 wxChar
*arg3
= (wxChar
*) NULL
;
17359 wxChar
*result
= 0 ;
17366 PyObject
* obj0
= 0 ;
17367 PyObject
* obj1
= 0 ;
17368 PyObject
* obj2
= 0 ;
17369 char * kwnames
[] = {
17370 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
17373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17375 if (!SWIG_IsOK(res1
)) {
17376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17378 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17379 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17380 if (!SWIG_IsOK(res2
)) {
17381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
17383 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17385 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17386 if (!SWIG_IsOK(res3
)) {
17387 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
17389 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17404 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
= 0;
17406 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
17407 wxChar
*arg2
= (wxChar
*) 0 ;
17408 wxChar
*arg3
= (wxChar
*) 0 ;
17410 wxChar
*arg5
= (wxChar
*) NULL
;
17411 wxChar
*result
= 0 ;
17422 PyObject
* obj0
= 0 ;
17423 PyObject
* obj1
= 0 ;
17424 PyObject
* obj2
= 0 ;
17425 PyObject
* obj3
= 0 ;
17426 PyObject
* obj4
= 0 ;
17427 char * kwnames
[] = {
17428 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17433 if (!SWIG_IsOK(res1
)) {
17434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17436 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17437 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17438 if (!SWIG_IsOK(res2
)) {
17439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17441 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17442 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17443 if (!SWIG_IsOK(res3
)) {
17444 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17446 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17447 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17448 if (!SWIG_IsOK(ecode4
)) {
17449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17451 arg4
= static_cast< size_t >(val4
);
17453 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17454 if (!SWIG_IsOK(res5
)) {
17455 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17457 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17472 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17474 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17475 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17476 return SWIG_Py_Void();
17479 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17480 return SWIG_Python_InitShadowInstance(args
);
17483 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17484 PyObject
*resultobj
= 0;
17485 wxLocale
*result
= 0 ;
17487 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 result
= (wxLocale
*)wxGetLocale();
17491 wxPyEndAllowThreads(__tstate
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17501 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17502 PyObject
*resultobj
= 0;
17503 wxString
*arg1
= 0 ;
17505 bool temp1
= false ;
17507 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17509 arg1
= wxString_in_helper(swig_obj
[0]);
17510 if (arg1
== NULL
) SWIG_fail
;
17514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17515 result
= wxGetTranslation((wxString
const &)*arg1
);
17516 wxPyEndAllowThreads(__tstate
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17540 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17541 PyObject
*resultobj
= 0;
17542 wxString
*arg1
= 0 ;
17543 wxString
*arg2
= 0 ;
17545 bool temp1
= false ;
17546 bool temp2
= false ;
17548 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17550 arg1
= wxString_in_helper(swig_obj
[0]);
17551 if (arg1
== NULL
) SWIG_fail
;
17555 arg2
= wxString_in_helper(swig_obj
[1]);
17556 if (arg2
== NULL
) SWIG_fail
;
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17594 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17595 PyObject
*resultobj
= 0;
17596 wxString
*arg1
= 0 ;
17597 wxString
*arg2
= 0 ;
17600 bool temp1
= false ;
17601 bool temp2
= false ;
17605 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17607 arg1
= wxString_in_helper(swig_obj
[0]);
17608 if (arg1
== NULL
) SWIG_fail
;
17612 arg2
= wxString_in_helper(swig_obj
[1]);
17613 if (arg2
== NULL
) SWIG_fail
;
17616 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17617 if (!SWIG_IsOK(ecode3
)) {
17618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17620 arg3
= static_cast< size_t >(val3
);
17622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17656 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17657 PyObject
*resultobj
= 0;
17658 wxString
*arg1
= 0 ;
17659 wxString
*arg2
= 0 ;
17661 wxString
*arg4
= 0 ;
17663 bool temp1
= false ;
17664 bool temp2
= false ;
17667 bool temp4
= false ;
17669 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17671 arg1
= wxString_in_helper(swig_obj
[0]);
17672 if (arg1
== NULL
) SWIG_fail
;
17676 arg2
= wxString_in_helper(swig_obj
[1]);
17677 if (arg2
== NULL
) SWIG_fail
;
17680 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17681 if (!SWIG_IsOK(ecode3
)) {
17682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17684 arg3
= static_cast< size_t >(val3
);
17686 arg4
= wxString_in_helper(swig_obj
[3]);
17687 if (arg4
== NULL
) SWIG_fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17733 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17737 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17740 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17743 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17746 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17749 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17753 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17758 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17759 PyObject
*resultobj
= 0;
17760 wxEncodingConverter
*result
= 0 ;
17762 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17766 wxPyEndAllowThreads(__tstate
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17776 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17777 PyObject
*resultobj
= 0;
17778 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17781 PyObject
*swig_obj
[1] ;
17783 if (!args
) SWIG_fail
;
17784 swig_obj
[0] = args
;
17785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17786 if (!SWIG_IsOK(res1
)) {
17787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17789 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17797 resultobj
= SWIG_Py_Void();
17804 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17805 PyObject
*resultobj
= 0;
17806 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17807 wxFontEncoding arg2
;
17808 wxFontEncoding arg3
;
17809 int arg4
= (int) wxCONVERT_STRICT
;
17819 PyObject
* obj0
= 0 ;
17820 PyObject
* obj1
= 0 ;
17821 PyObject
* obj2
= 0 ;
17822 PyObject
* obj3
= 0 ;
17823 char * kwnames
[] = {
17824 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17829 if (!SWIG_IsOK(res1
)) {
17830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17832 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17833 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17834 if (!SWIG_IsOK(ecode2
)) {
17835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17837 arg2
= static_cast< wxFontEncoding
>(val2
);
17838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17839 if (!SWIG_IsOK(ecode3
)) {
17840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17842 arg3
= static_cast< wxFontEncoding
>(val3
);
17844 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17845 if (!SWIG_IsOK(ecode4
)) {
17846 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17848 arg4
= static_cast< int >(val4
);
17851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17852 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17853 wxPyEndAllowThreads(__tstate
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17865 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
= 0;
17867 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17868 wxString
*arg2
= 0 ;
17872 bool temp2
= false ;
17873 PyObject
* obj0
= 0 ;
17874 PyObject
* obj1
= 0 ;
17875 char * kwnames
[] = {
17876 (char *) "self",(char *) "input", NULL
17879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17881 if (!SWIG_IsOK(res1
)) {
17882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17884 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17886 arg2
= wxString_in_helper(obj1
);
17887 if (arg2
== NULL
) SWIG_fail
;
17891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17892 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17917 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17918 PyObject
*resultobj
= 0;
17919 wxFontEncoding arg1
;
17920 int arg2
= (int) wxPLATFORM_CURRENT
;
17921 wxFontEncodingArray result
;
17926 PyObject
* obj0
= 0 ;
17927 PyObject
* obj1
= 0 ;
17928 char * kwnames
[] = {
17929 (char *) "enc",(char *) "platform", NULL
17932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17933 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17934 if (!SWIG_IsOK(ecode1
)) {
17935 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17937 arg1
= static_cast< wxFontEncoding
>(val1
);
17939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17940 if (!SWIG_IsOK(ecode2
)) {
17941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17943 arg2
= static_cast< int >(val2
);
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17952 resultobj
= PyList_New(0);
17953 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17954 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17955 PyList_Append(resultobj
, number
);
17965 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
= 0;
17967 wxFontEncoding arg1
;
17968 wxFontEncodingArray result
;
17971 PyObject
* obj0
= 0 ;
17972 char * kwnames
[] = {
17973 (char *) "enc", NULL
17976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17977 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17978 if (!SWIG_IsOK(ecode1
)) {
17979 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17981 arg1
= static_cast< wxFontEncoding
>(val1
);
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17989 resultobj
= PyList_New(0);
17990 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17991 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17992 PyList_Append(resultobj
, number
);
18002 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
= 0;
18004 wxFontEncoding arg1
;
18005 wxFontEncoding arg2
;
18011 PyObject
* obj0
= 0 ;
18012 PyObject
* obj1
= 0 ;
18013 char * kwnames
[] = {
18014 (char *) "encIn",(char *) "encOut", NULL
18017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18018 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18019 if (!SWIG_IsOK(ecode1
)) {
18020 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
18022 arg1
= static_cast< wxFontEncoding
>(val1
);
18023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18024 if (!SWIG_IsOK(ecode2
)) {
18025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
18027 arg2
= static_cast< wxFontEncoding
>(val2
);
18029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18030 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
18031 wxPyEndAllowThreads(__tstate
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18043 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18046 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
18047 return SWIG_Py_Void();
18050 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18051 return SWIG_Python_InitShadowInstance(args
);
18054 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18055 PyObject
*resultobj
= 0;
18056 wxDC
*arg1
= (wxDC
*) 0 ;
18059 PyObject
*swig_obj
[1] ;
18061 if (!args
) SWIG_fail
;
18062 swig_obj
[0] = args
;
18063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
18064 if (!SWIG_IsOK(res1
)) {
18065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
18067 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 resultobj
= SWIG_Py_Void();
18082 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
= 0;
18084 wxDC
*arg1
= (wxDC
*) 0 ;
18087 wxColour
*arg4
= 0 ;
18088 int arg5
= (int) wxFLOOD_SURFACE
;
18099 PyObject
* obj0
= 0 ;
18100 PyObject
* obj1
= 0 ;
18101 PyObject
* obj2
= 0 ;
18102 PyObject
* obj3
= 0 ;
18103 PyObject
* obj4
= 0 ;
18104 char * kwnames
[] = {
18105 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
18108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18110 if (!SWIG_IsOK(res1
)) {
18111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
18113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18115 if (!SWIG_IsOK(ecode2
)) {
18116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
18118 arg2
= static_cast< int >(val2
);
18119 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18120 if (!SWIG_IsOK(ecode3
)) {
18121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
18123 arg3
= static_cast< int >(val3
);
18126 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18129 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18130 if (!SWIG_IsOK(ecode5
)) {
18131 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
18133 arg5
= static_cast< int >(val5
);
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18150 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
= 0;
18152 wxDC
*arg1
= (wxDC
*) 0 ;
18153 wxPoint
*arg2
= 0 ;
18154 wxColour
*arg3
= 0 ;
18155 int arg4
= (int) wxFLOOD_SURFACE
;
18163 PyObject
* obj0
= 0 ;
18164 PyObject
* obj1
= 0 ;
18165 PyObject
* obj2
= 0 ;
18166 PyObject
* obj3
= 0 ;
18167 char * kwnames
[] = {
18168 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
18171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18173 if (!SWIG_IsOK(res1
)) {
18174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18176 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18179 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18183 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18186 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18187 if (!SWIG_IsOK(ecode4
)) {
18188 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
18190 arg4
= static_cast< int >(val4
);
18193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18194 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18207 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
= 0;
18209 wxDC
*arg1
= (wxDC
*) 0 ;
18211 wxColour
*arg3
= 0 ;
18212 wxColour
*arg4
= 0 ;
18213 wxPoint
*arg5
= 0 ;
18220 PyObject
* obj0
= 0 ;
18221 PyObject
* obj1
= 0 ;
18222 PyObject
* obj2
= 0 ;
18223 PyObject
* obj3
= 0 ;
18224 PyObject
* obj4
= 0 ;
18225 char * kwnames
[] = {
18226 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
18229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18231 if (!SWIG_IsOK(res1
)) {
18232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
18234 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18237 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18241 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18245 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18249 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18257 resultobj
= SWIG_Py_Void();
18264 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18265 PyObject
*resultobj
= 0;
18266 wxDC
*arg1
= (wxDC
*) 0 ;
18268 wxColour
*arg3
= 0 ;
18269 wxColour
*arg4
= 0 ;
18270 wxDirection arg5
= (wxDirection
) wxEAST
;
18278 PyObject
* obj0
= 0 ;
18279 PyObject
* obj1
= 0 ;
18280 PyObject
* obj2
= 0 ;
18281 PyObject
* obj3
= 0 ;
18282 PyObject
* obj4
= 0 ;
18283 char * kwnames
[] = {
18284 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
18287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18289 if (!SWIG_IsOK(res1
)) {
18290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
18292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18295 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18299 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
18303 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
18306 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18307 if (!SWIG_IsOK(ecode5
)) {
18308 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
18310 arg5
= static_cast< wxDirection
>(val5
);
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18318 resultobj
= SWIG_Py_Void();
18325 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18326 PyObject
*resultobj
= 0;
18327 wxDC
*arg1
= (wxDC
*) 0 ;
18337 PyObject
* obj0
= 0 ;
18338 PyObject
* obj1
= 0 ;
18339 PyObject
* obj2
= 0 ;
18340 char * kwnames
[] = {
18341 (char *) "self",(char *) "x",(char *) "y", NULL
18344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18346 if (!SWIG_IsOK(res1
)) {
18347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
18349 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18351 if (!SWIG_IsOK(ecode2
)) {
18352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
18354 arg2
= static_cast< int >(val2
);
18355 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18356 if (!SWIG_IsOK(ecode3
)) {
18357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
18359 arg3
= static_cast< int >(val3
);
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18366 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18373 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18374 PyObject
*resultobj
= 0;
18375 wxDC
*arg1
= (wxDC
*) 0 ;
18376 wxPoint
*arg2
= 0 ;
18381 PyObject
* obj0
= 0 ;
18382 PyObject
* obj1
= 0 ;
18383 char * kwnames
[] = {
18384 (char *) "self",(char *) "pt", NULL
18387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18389 if (!SWIG_IsOK(res1
)) {
18390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18392 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18395 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
18400 wxPyEndAllowThreads(__tstate
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18403 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18410 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18411 PyObject
*resultobj
= 0;
18412 wxDC
*arg1
= (wxDC
*) 0 ;
18427 PyObject
* obj0
= 0 ;
18428 PyObject
* obj1
= 0 ;
18429 PyObject
* obj2
= 0 ;
18430 PyObject
* obj3
= 0 ;
18431 PyObject
* obj4
= 0 ;
18432 char * kwnames
[] = {
18433 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18438 if (!SWIG_IsOK(res1
)) {
18439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18441 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18443 if (!SWIG_IsOK(ecode2
)) {
18444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18446 arg2
= static_cast< int >(val2
);
18447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18448 if (!SWIG_IsOK(ecode3
)) {
18449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18451 arg3
= static_cast< int >(val3
);
18452 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18453 if (!SWIG_IsOK(ecode4
)) {
18454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18456 arg4
= static_cast< int >(val4
);
18457 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18458 if (!SWIG_IsOK(ecode5
)) {
18459 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18461 arg5
= static_cast< int >(val5
);
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18468 resultobj
= SWIG_Py_Void();
18475 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
= 0;
18477 wxDC
*arg1
= (wxDC
*) 0 ;
18478 wxPoint
*arg2
= 0 ;
18479 wxPoint
*arg3
= 0 ;
18484 PyObject
* obj0
= 0 ;
18485 PyObject
* obj1
= 0 ;
18486 PyObject
* obj2
= 0 ;
18487 char * kwnames
[] = {
18488 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18493 if (!SWIG_IsOK(res1
)) {
18494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18496 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18499 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18503 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18507 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= SWIG_Py_Void();
18518 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
= 0;
18520 wxDC
*arg1
= (wxDC
*) 0 ;
18529 PyObject
* obj0
= 0 ;
18530 PyObject
* obj1
= 0 ;
18531 PyObject
* obj2
= 0 ;
18532 char * kwnames
[] = {
18533 (char *) "self",(char *) "x",(char *) "y", NULL
18536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18538 if (!SWIG_IsOK(res1
)) {
18539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18541 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18543 if (!SWIG_IsOK(ecode2
)) {
18544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18546 arg2
= static_cast< int >(val2
);
18547 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18548 if (!SWIG_IsOK(ecode3
)) {
18549 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18551 arg3
= static_cast< int >(val3
);
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 (arg1
)->CrossHair(arg2
,arg3
);
18555 wxPyEndAllowThreads(__tstate
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18558 resultobj
= SWIG_Py_Void();
18565 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18566 PyObject
*resultobj
= 0;
18567 wxDC
*arg1
= (wxDC
*) 0 ;
18568 wxPoint
*arg2
= 0 ;
18572 PyObject
* obj0
= 0 ;
18573 PyObject
* obj1
= 0 ;
18574 char * kwnames
[] = {
18575 (char *) "self",(char *) "pt", NULL
18578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18580 if (!SWIG_IsOK(res1
)) {
18581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18583 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18586 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18590 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 resultobj
= SWIG_Py_Void();
18601 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
= 0;
18603 wxDC
*arg1
= (wxDC
*) 0 ;
18624 PyObject
* obj0
= 0 ;
18625 PyObject
* obj1
= 0 ;
18626 PyObject
* obj2
= 0 ;
18627 PyObject
* obj3
= 0 ;
18628 PyObject
* obj4
= 0 ;
18629 PyObject
* obj5
= 0 ;
18630 PyObject
* obj6
= 0 ;
18631 char * kwnames
[] = {
18632 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18637 if (!SWIG_IsOK(res1
)) {
18638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18642 if (!SWIG_IsOK(ecode2
)) {
18643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18645 arg2
= static_cast< int >(val2
);
18646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18647 if (!SWIG_IsOK(ecode3
)) {
18648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18650 arg3
= static_cast< int >(val3
);
18651 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18652 if (!SWIG_IsOK(ecode4
)) {
18653 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18655 arg4
= static_cast< int >(val4
);
18656 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18657 if (!SWIG_IsOK(ecode5
)) {
18658 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18660 arg5
= static_cast< int >(val5
);
18661 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18662 if (!SWIG_IsOK(ecode6
)) {
18663 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18665 arg6
= static_cast< int >(val6
);
18666 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18667 if (!SWIG_IsOK(ecode7
)) {
18668 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18670 arg7
= static_cast< int >(val7
);
18672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18673 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18674 wxPyEndAllowThreads(__tstate
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18677 resultobj
= SWIG_Py_Void();
18684 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18685 PyObject
*resultobj
= 0;
18686 wxDC
*arg1
= (wxDC
*) 0 ;
18687 wxPoint
*arg2
= 0 ;
18688 wxPoint
*arg3
= 0 ;
18689 wxPoint
*arg4
= 0 ;
18695 PyObject
* obj0
= 0 ;
18696 PyObject
* obj1
= 0 ;
18697 PyObject
* obj2
= 0 ;
18698 PyObject
* obj3
= 0 ;
18699 char * kwnames
[] = {
18700 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18705 if (!SWIG_IsOK(res1
)) {
18706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18708 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18711 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18715 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18719 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18723 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18727 resultobj
= SWIG_Py_Void();
18734 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
= 0;
18736 wxDC
*arg1
= (wxDC
*) 0 ;
18751 PyObject
* obj0
= 0 ;
18752 PyObject
* obj1
= 0 ;
18753 PyObject
* obj2
= 0 ;
18754 PyObject
* obj3
= 0 ;
18755 PyObject
* obj4
= 0 ;
18756 char * kwnames
[] = {
18757 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18762 if (!SWIG_IsOK(res1
)) {
18763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18765 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18767 if (!SWIG_IsOK(ecode2
)) {
18768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18770 arg2
= static_cast< int >(val2
);
18771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18772 if (!SWIG_IsOK(ecode3
)) {
18773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18775 arg3
= static_cast< int >(val3
);
18776 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18777 if (!SWIG_IsOK(ecode4
)) {
18778 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18780 arg4
= static_cast< int >(val4
);
18781 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18782 if (!SWIG_IsOK(ecode5
)) {
18783 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18785 arg5
= static_cast< int >(val5
);
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= SWIG_Py_Void();
18799 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18800 PyObject
*resultobj
= 0;
18801 wxDC
*arg1
= (wxDC
*) 0 ;
18806 PyObject
* obj0
= 0 ;
18807 PyObject
* obj1
= 0 ;
18808 char * kwnames
[] = {
18809 (char *) "self",(char *) "rect", NULL
18812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18814 if (!SWIG_IsOK(res1
)) {
18815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18817 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18820 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= SWIG_Py_Void();
18835 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
= 0;
18837 wxDC
*arg1
= (wxDC
*) 0 ;
18858 PyObject
* obj0
= 0 ;
18859 PyObject
* obj1
= 0 ;
18860 PyObject
* obj2
= 0 ;
18861 PyObject
* obj3
= 0 ;
18862 PyObject
* obj4
= 0 ;
18863 PyObject
* obj5
= 0 ;
18864 PyObject
* obj6
= 0 ;
18865 char * kwnames
[] = {
18866 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18871 if (!SWIG_IsOK(res1
)) {
18872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18874 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18876 if (!SWIG_IsOK(ecode2
)) {
18877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18879 arg2
= static_cast< int >(val2
);
18880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18881 if (!SWIG_IsOK(ecode3
)) {
18882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18884 arg3
= static_cast< int >(val3
);
18885 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18886 if (!SWIG_IsOK(ecode4
)) {
18887 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18889 arg4
= static_cast< int >(val4
);
18890 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18891 if (!SWIG_IsOK(ecode5
)) {
18892 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18894 arg5
= static_cast< int >(val5
);
18895 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18896 if (!SWIG_IsOK(ecode6
)) {
18897 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18899 arg6
= static_cast< double >(val6
);
18900 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18901 if (!SWIG_IsOK(ecode7
)) {
18902 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18904 arg7
= static_cast< double >(val7
);
18906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18907 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18908 wxPyEndAllowThreads(__tstate
);
18909 if (PyErr_Occurred()) SWIG_fail
;
18911 resultobj
= SWIG_Py_Void();
18918 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
= 0;
18920 wxDC
*arg1
= (wxDC
*) 0 ;
18921 wxPoint
*arg2
= 0 ;
18933 PyObject
* obj0
= 0 ;
18934 PyObject
* obj1
= 0 ;
18935 PyObject
* obj2
= 0 ;
18936 PyObject
* obj3
= 0 ;
18937 PyObject
* obj4
= 0 ;
18938 char * kwnames
[] = {
18939 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18944 if (!SWIG_IsOK(res1
)) {
18945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18947 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18950 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18954 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18956 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18957 if (!SWIG_IsOK(ecode4
)) {
18958 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18960 arg4
= static_cast< double >(val4
);
18961 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18962 if (!SWIG_IsOK(ecode5
)) {
18963 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18965 arg5
= static_cast< double >(val5
);
18967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18968 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18969 wxPyEndAllowThreads(__tstate
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18972 resultobj
= SWIG_Py_Void();
18979 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
= 0;
18981 wxDC
*arg1
= (wxDC
*) 0 ;
18990 PyObject
* obj0
= 0 ;
18991 PyObject
* obj1
= 0 ;
18992 PyObject
* obj2
= 0 ;
18993 char * kwnames
[] = {
18994 (char *) "self",(char *) "x",(char *) "y", NULL
18997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18999 if (!SWIG_IsOK(res1
)) {
19000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19002 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19004 if (!SWIG_IsOK(ecode2
)) {
19005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
19007 arg2
= static_cast< int >(val2
);
19008 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19009 if (!SWIG_IsOK(ecode3
)) {
19010 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
19012 arg3
= static_cast< int >(val3
);
19014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19015 (arg1
)->DrawPoint(arg2
,arg3
);
19016 wxPyEndAllowThreads(__tstate
);
19017 if (PyErr_Occurred()) SWIG_fail
;
19019 resultobj
= SWIG_Py_Void();
19026 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19027 PyObject
*resultobj
= 0;
19028 wxDC
*arg1
= (wxDC
*) 0 ;
19029 wxPoint
*arg2
= 0 ;
19033 PyObject
* obj0
= 0 ;
19034 PyObject
* obj1
= 0 ;
19035 char * kwnames
[] = {
19036 (char *) "self",(char *) "pt", NULL
19039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19041 if (!SWIG_IsOK(res1
)) {
19042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19044 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19047 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19051 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
19052 wxPyEndAllowThreads(__tstate
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19055 resultobj
= SWIG_Py_Void();
19062 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19063 PyObject
*resultobj
= 0;
19064 wxDC
*arg1
= (wxDC
*) 0 ;
19079 PyObject
* obj0
= 0 ;
19080 PyObject
* obj1
= 0 ;
19081 PyObject
* obj2
= 0 ;
19082 PyObject
* obj3
= 0 ;
19083 PyObject
* obj4
= 0 ;
19084 char * kwnames
[] = {
19085 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19090 if (!SWIG_IsOK(res1
)) {
19091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19093 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19095 if (!SWIG_IsOK(ecode2
)) {
19096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
19098 arg2
= static_cast< int >(val2
);
19099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19100 if (!SWIG_IsOK(ecode3
)) {
19101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
19103 arg3
= static_cast< int >(val3
);
19104 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19105 if (!SWIG_IsOK(ecode4
)) {
19106 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
19108 arg4
= static_cast< int >(val4
);
19109 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19110 if (!SWIG_IsOK(ecode5
)) {
19111 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
19113 arg5
= static_cast< int >(val5
);
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 resultobj
= SWIG_Py_Void();
19127 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
= 0;
19129 wxDC
*arg1
= (wxDC
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 PyObject
* obj1
= 0 ;
19136 char * kwnames
[] = {
19137 (char *) "self",(char *) "rect", NULL
19140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19142 if (!SWIG_IsOK(res1
)) {
19143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19145 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19148 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
19153 wxPyEndAllowThreads(__tstate
);
19154 if (PyErr_Occurred()) SWIG_fail
;
19156 resultobj
= SWIG_Py_Void();
19163 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19164 PyObject
*resultobj
= 0;
19165 wxDC
*arg1
= (wxDC
*) 0 ;
19166 wxPoint
*arg2
= 0 ;
19172 PyObject
* obj0
= 0 ;
19173 PyObject
* obj1
= 0 ;
19174 PyObject
* obj2
= 0 ;
19175 char * kwnames
[] = {
19176 (char *) "self",(char *) "pt",(char *) "sz", NULL
19179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19181 if (!SWIG_IsOK(res1
)) {
19182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19184 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19187 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19191 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19199 resultobj
= SWIG_Py_Void();
19206 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
= 0;
19208 wxDC
*arg1
= (wxDC
*) 0 ;
19226 PyObject
* obj0
= 0 ;
19227 PyObject
* obj1
= 0 ;
19228 PyObject
* obj2
= 0 ;
19229 PyObject
* obj3
= 0 ;
19230 PyObject
* obj4
= 0 ;
19231 PyObject
* obj5
= 0 ;
19232 char * kwnames
[] = {
19233 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
19236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19238 if (!SWIG_IsOK(res1
)) {
19239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
19241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19243 if (!SWIG_IsOK(ecode2
)) {
19244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
19246 arg2
= static_cast< int >(val2
);
19247 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19248 if (!SWIG_IsOK(ecode3
)) {
19249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
19251 arg3
= static_cast< int >(val3
);
19252 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19253 if (!SWIG_IsOK(ecode4
)) {
19254 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
19256 arg4
= static_cast< int >(val4
);
19257 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19258 if (!SWIG_IsOK(ecode5
)) {
19259 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
19261 arg5
= static_cast< int >(val5
);
19262 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
19263 if (!SWIG_IsOK(ecode6
)) {
19264 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
19266 arg6
= static_cast< double >(val6
);
19268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19269 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19273 resultobj
= SWIG_Py_Void();
19280 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
= 0;
19282 wxDC
*arg1
= (wxDC
*) 0 ;
19290 PyObject
* obj0
= 0 ;
19291 PyObject
* obj1
= 0 ;
19292 PyObject
* obj2
= 0 ;
19293 char * kwnames
[] = {
19294 (char *) "self",(char *) "r",(char *) "radius", NULL
19297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19299 if (!SWIG_IsOK(res1
)) {
19300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
19302 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19305 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19307 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
19308 if (!SWIG_IsOK(ecode3
)) {
19309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
19311 arg3
= static_cast< double >(val3
);
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
19315 wxPyEndAllowThreads(__tstate
);
19316 if (PyErr_Occurred()) SWIG_fail
;
19318 resultobj
= SWIG_Py_Void();
19325 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19326 PyObject
*resultobj
= 0;
19327 wxDC
*arg1
= (wxDC
*) 0 ;
19328 wxPoint
*arg2
= 0 ;
19337 PyObject
* obj0
= 0 ;
19338 PyObject
* obj1
= 0 ;
19339 PyObject
* obj2
= 0 ;
19340 PyObject
* obj3
= 0 ;
19341 char * kwnames
[] = {
19342 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
19345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19347 if (!SWIG_IsOK(res1
)) {
19348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19350 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19353 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19357 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19359 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19360 if (!SWIG_IsOK(ecode4
)) {
19361 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
19363 arg4
= static_cast< double >(val4
);
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= SWIG_Py_Void();
19377 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
= 0;
19379 wxDC
*arg1
= (wxDC
*) 0 ;
19391 PyObject
* obj0
= 0 ;
19392 PyObject
* obj1
= 0 ;
19393 PyObject
* obj2
= 0 ;
19394 PyObject
* obj3
= 0 ;
19395 char * kwnames
[] = {
19396 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
19399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19401 if (!SWIG_IsOK(res1
)) {
19402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
19404 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19406 if (!SWIG_IsOK(ecode2
)) {
19407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
19409 arg2
= static_cast< int >(val2
);
19410 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19411 if (!SWIG_IsOK(ecode3
)) {
19412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
19414 arg3
= static_cast< int >(val3
);
19415 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19416 if (!SWIG_IsOK(ecode4
)) {
19417 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19419 arg4
= static_cast< int >(val4
);
19421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19422 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19423 wxPyEndAllowThreads(__tstate
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19426 resultobj
= SWIG_Py_Void();
19433 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19434 PyObject
*resultobj
= 0;
19435 wxDC
*arg1
= (wxDC
*) 0 ;
19436 wxPoint
*arg2
= 0 ;
19443 PyObject
* obj0
= 0 ;
19444 PyObject
* obj1
= 0 ;
19445 PyObject
* obj2
= 0 ;
19446 char * kwnames
[] = {
19447 (char *) "self",(char *) "pt",(char *) "radius", NULL
19450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19452 if (!SWIG_IsOK(res1
)) {
19453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19458 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19461 if (!SWIG_IsOK(ecode3
)) {
19462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19464 arg3
= static_cast< int >(val3
);
19466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19471 resultobj
= SWIG_Py_Void();
19478 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
= 0;
19480 wxDC
*arg1
= (wxDC
*) 0 ;
19495 PyObject
* obj0
= 0 ;
19496 PyObject
* obj1
= 0 ;
19497 PyObject
* obj2
= 0 ;
19498 PyObject
* obj3
= 0 ;
19499 PyObject
* obj4
= 0 ;
19500 char * kwnames
[] = {
19501 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19506 if (!SWIG_IsOK(res1
)) {
19507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19509 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19511 if (!SWIG_IsOK(ecode2
)) {
19512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19514 arg2
= static_cast< int >(val2
);
19515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19516 if (!SWIG_IsOK(ecode3
)) {
19517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19519 arg3
= static_cast< int >(val3
);
19520 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19521 if (!SWIG_IsOK(ecode4
)) {
19522 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19524 arg4
= static_cast< int >(val4
);
19525 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19526 if (!SWIG_IsOK(ecode5
)) {
19527 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19529 arg5
= static_cast< int >(val5
);
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19532 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19533 wxPyEndAllowThreads(__tstate
);
19534 if (PyErr_Occurred()) SWIG_fail
;
19536 resultobj
= SWIG_Py_Void();
19543 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
= 0;
19545 wxDC
*arg1
= (wxDC
*) 0 ;
19550 PyObject
* obj0
= 0 ;
19551 PyObject
* obj1
= 0 ;
19552 char * kwnames
[] = {
19553 (char *) "self",(char *) "rect", NULL
19556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19558 if (!SWIG_IsOK(res1
)) {
19559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19561 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19564 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19568 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19569 wxPyEndAllowThreads(__tstate
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19572 resultobj
= SWIG_Py_Void();
19579 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19580 PyObject
*resultobj
= 0;
19581 wxDC
*arg1
= (wxDC
*) 0 ;
19582 wxPoint
*arg2
= 0 ;
19588 PyObject
* obj0
= 0 ;
19589 PyObject
* obj1
= 0 ;
19590 PyObject
* obj2
= 0 ;
19591 char * kwnames
[] = {
19592 (char *) "self",(char *) "pt",(char *) "sz", NULL
19595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19597 if (!SWIG_IsOK(res1
)) {
19598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19600 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19603 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19607 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 resultobj
= SWIG_Py_Void();
19622 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
= 0;
19624 wxDC
*arg1
= (wxDC
*) 0 ;
19636 PyObject
* obj0
= 0 ;
19637 PyObject
* obj1
= 0 ;
19638 PyObject
* obj2
= 0 ;
19639 PyObject
* obj3
= 0 ;
19640 char * kwnames
[] = {
19641 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19646 if (!SWIG_IsOK(res1
)) {
19647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19649 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19651 if (!SWIG_IsOK(res2
)) {
19652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19657 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19659 if (!SWIG_IsOK(ecode3
)) {
19660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19662 arg3
= static_cast< int >(val3
);
19663 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19664 if (!SWIG_IsOK(ecode4
)) {
19665 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19667 arg4
= static_cast< int >(val4
);
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19670 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19671 wxPyEndAllowThreads(__tstate
);
19672 if (PyErr_Occurred()) SWIG_fail
;
19674 resultobj
= SWIG_Py_Void();
19681 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19682 PyObject
*resultobj
= 0;
19683 wxDC
*arg1
= (wxDC
*) 0 ;
19685 wxPoint
*arg3
= 0 ;
19691 PyObject
* obj0
= 0 ;
19692 PyObject
* obj1
= 0 ;
19693 PyObject
* obj2
= 0 ;
19694 char * kwnames
[] = {
19695 (char *) "self",(char *) "icon",(char *) "pt", NULL
19698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19700 if (!SWIG_IsOK(res1
)) {
19701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19703 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19705 if (!SWIG_IsOK(res2
)) {
19706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19711 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19714 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 resultobj
= SWIG_Py_Void();
19729 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
= 0;
19731 wxDC
*arg1
= (wxDC
*) 0 ;
19732 wxBitmap
*arg2
= 0 ;
19735 bool arg5
= (bool) false ;
19746 PyObject
* obj0
= 0 ;
19747 PyObject
* obj1
= 0 ;
19748 PyObject
* obj2
= 0 ;
19749 PyObject
* obj3
= 0 ;
19750 PyObject
* obj4
= 0 ;
19751 char * kwnames
[] = {
19752 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19757 if (!SWIG_IsOK(res1
)) {
19758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19760 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19761 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19762 if (!SWIG_IsOK(res2
)) {
19763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19768 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19770 if (!SWIG_IsOK(ecode3
)) {
19771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19773 arg3
= static_cast< int >(val3
);
19774 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19775 if (!SWIG_IsOK(ecode4
)) {
19776 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19778 arg4
= static_cast< int >(val4
);
19780 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19781 if (!SWIG_IsOK(ecode5
)) {
19782 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19784 arg5
= static_cast< bool >(val5
);
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19792 resultobj
= SWIG_Py_Void();
19799 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
= 0;
19801 wxDC
*arg1
= (wxDC
*) 0 ;
19802 wxBitmap
*arg2
= 0 ;
19803 wxPoint
*arg3
= 0 ;
19804 bool arg4
= (bool) false ;
19812 PyObject
* obj0
= 0 ;
19813 PyObject
* obj1
= 0 ;
19814 PyObject
* obj2
= 0 ;
19815 PyObject
* obj3
= 0 ;
19816 char * kwnames
[] = {
19817 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19822 if (!SWIG_IsOK(res1
)) {
19823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19825 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19827 if (!SWIG_IsOK(res2
)) {
19828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19833 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19836 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19839 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19840 if (!SWIG_IsOK(ecode4
)) {
19841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19843 arg4
= static_cast< bool >(val4
);
19846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19848 wxPyEndAllowThreads(__tstate
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19851 resultobj
= SWIG_Py_Void();
19858 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19859 PyObject
*resultobj
= 0;
19860 wxDC
*arg1
= (wxDC
*) 0 ;
19861 wxString
*arg2
= 0 ;
19866 bool temp2
= false ;
19871 PyObject
* obj0
= 0 ;
19872 PyObject
* obj1
= 0 ;
19873 PyObject
* obj2
= 0 ;
19874 PyObject
* obj3
= 0 ;
19875 char * kwnames
[] = {
19876 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19881 if (!SWIG_IsOK(res1
)) {
19882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19884 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19886 arg2
= wxString_in_helper(obj1
);
19887 if (arg2
== NULL
) SWIG_fail
;
19890 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19891 if (!SWIG_IsOK(ecode3
)) {
19892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19894 arg3
= static_cast< int >(val3
);
19895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19896 if (!SWIG_IsOK(ecode4
)) {
19897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19899 arg4
= static_cast< int >(val4
);
19901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19906 resultobj
= SWIG_Py_Void();
19921 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19922 PyObject
*resultobj
= 0;
19923 wxDC
*arg1
= (wxDC
*) 0 ;
19924 wxString
*arg2
= 0 ;
19925 wxPoint
*arg3
= 0 ;
19928 bool temp2
= false ;
19930 PyObject
* obj0
= 0 ;
19931 PyObject
* obj1
= 0 ;
19932 PyObject
* obj2
= 0 ;
19933 char * kwnames
[] = {
19934 (char *) "self",(char *) "text",(char *) "pt", NULL
19937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19939 if (!SWIG_IsOK(res1
)) {
19940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19942 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19944 arg2
= wxString_in_helper(obj1
);
19945 if (arg2
== NULL
) SWIG_fail
;
19950 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19958 resultobj
= SWIG_Py_Void();
19973 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19974 PyObject
*resultobj
= 0;
19975 wxDC
*arg1
= (wxDC
*) 0 ;
19976 wxString
*arg2
= 0 ;
19982 bool temp2
= false ;
19989 PyObject
* obj0
= 0 ;
19990 PyObject
* obj1
= 0 ;
19991 PyObject
* obj2
= 0 ;
19992 PyObject
* obj3
= 0 ;
19993 PyObject
* obj4
= 0 ;
19994 char * kwnames
[] = {
19995 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20000 if (!SWIG_IsOK(res1
)) {
20001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
20003 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20005 arg2
= wxString_in_helper(obj1
);
20006 if (arg2
== NULL
) SWIG_fail
;
20009 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20010 if (!SWIG_IsOK(ecode3
)) {
20011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
20013 arg3
= static_cast< int >(val3
);
20014 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20015 if (!SWIG_IsOK(ecode4
)) {
20016 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
20018 arg4
= static_cast< int >(val4
);
20019 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
20020 if (!SWIG_IsOK(ecode5
)) {
20021 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
20023 arg5
= static_cast< double >(val5
);
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20030 resultobj
= SWIG_Py_Void();
20045 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20046 PyObject
*resultobj
= 0;
20047 wxDC
*arg1
= (wxDC
*) 0 ;
20048 wxString
*arg2
= 0 ;
20049 wxPoint
*arg3
= 0 ;
20053 bool temp2
= false ;
20057 PyObject
* obj0
= 0 ;
20058 PyObject
* obj1
= 0 ;
20059 PyObject
* obj2
= 0 ;
20060 PyObject
* obj3
= 0 ;
20061 char * kwnames
[] = {
20062 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
20065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20067 if (!SWIG_IsOK(res1
)) {
20068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
20070 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20072 arg2
= wxString_in_helper(obj1
);
20073 if (arg2
== NULL
) SWIG_fail
;
20078 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20080 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
20081 if (!SWIG_IsOK(ecode4
)) {
20082 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
20084 arg4
= static_cast< double >(val4
);
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20087 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20091 resultobj
= SWIG_Py_Void();
20106 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
= 0;
20108 wxDC
*arg1
= (wxDC
*) 0 ;
20113 wxDC
*arg6
= (wxDC
*) 0 ;
20116 int arg9
= (int) wxCOPY
;
20117 bool arg10
= (bool) false ;
20118 int arg11
= (int) -1 ;
20119 int arg12
= (int) -1 ;
20145 PyObject
* obj0
= 0 ;
20146 PyObject
* obj1
= 0 ;
20147 PyObject
* obj2
= 0 ;
20148 PyObject
* obj3
= 0 ;
20149 PyObject
* obj4
= 0 ;
20150 PyObject
* obj5
= 0 ;
20151 PyObject
* obj6
= 0 ;
20152 PyObject
* obj7
= 0 ;
20153 PyObject
* obj8
= 0 ;
20154 PyObject
* obj9
= 0 ;
20155 PyObject
* obj10
= 0 ;
20156 PyObject
* obj11
= 0 ;
20157 char * kwnames
[] = {
20158 (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
20161 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
;
20162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20163 if (!SWIG_IsOK(res1
)) {
20164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
20166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20168 if (!SWIG_IsOK(ecode2
)) {
20169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
20171 arg2
= static_cast< int >(val2
);
20172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20173 if (!SWIG_IsOK(ecode3
)) {
20174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
20176 arg3
= static_cast< int >(val3
);
20177 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20178 if (!SWIG_IsOK(ecode4
)) {
20179 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
20181 arg4
= static_cast< int >(val4
);
20182 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20183 if (!SWIG_IsOK(ecode5
)) {
20184 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
20186 arg5
= static_cast< int >(val5
);
20187 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
20188 if (!SWIG_IsOK(res6
)) {
20189 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
20191 arg6
= reinterpret_cast< wxDC
* >(argp6
);
20192 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20193 if (!SWIG_IsOK(ecode7
)) {
20194 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
20196 arg7
= static_cast< int >(val7
);
20197 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
20198 if (!SWIG_IsOK(ecode8
)) {
20199 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
20201 arg8
= static_cast< int >(val8
);
20203 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
20204 if (!SWIG_IsOK(ecode9
)) {
20205 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
20207 arg9
= static_cast< int >(val9
);
20210 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
20211 if (!SWIG_IsOK(ecode10
)) {
20212 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
20214 arg10
= static_cast< bool >(val10
);
20217 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20218 if (!SWIG_IsOK(ecode11
)) {
20219 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
20221 arg11
= static_cast< int >(val11
);
20224 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
20225 if (!SWIG_IsOK(ecode12
)) {
20226 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
20228 arg12
= static_cast< int >(val12
);
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20245 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20246 PyObject
*resultobj
= 0;
20247 wxDC
*arg1
= (wxDC
*) 0 ;
20248 wxPoint
*arg2
= 0 ;
20250 wxDC
*arg4
= (wxDC
*) 0 ;
20251 wxPoint
*arg5
= 0 ;
20252 int arg6
= (int) wxCOPY
;
20253 bool arg7
= (bool) false ;
20254 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
20255 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
20269 PyObject
* obj0
= 0 ;
20270 PyObject
* obj1
= 0 ;
20271 PyObject
* obj2
= 0 ;
20272 PyObject
* obj3
= 0 ;
20273 PyObject
* obj4
= 0 ;
20274 PyObject
* obj5
= 0 ;
20275 PyObject
* obj6
= 0 ;
20276 PyObject
* obj7
= 0 ;
20277 char * kwnames
[] = {
20278 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
20281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20283 if (!SWIG_IsOK(res1
)) {
20284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20289 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20293 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20295 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20296 if (!SWIG_IsOK(res4
)) {
20297 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20299 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20302 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20305 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20306 if (!SWIG_IsOK(ecode6
)) {
20307 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
20309 arg6
= static_cast< int >(val6
);
20312 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
20313 if (!SWIG_IsOK(ecode7
)) {
20314 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
20316 arg7
= static_cast< bool >(val7
);
20321 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
20327 wxPyEndAllowThreads(__tstate
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20339 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
= 0;
20341 wxDC
*arg1
= (wxDC
*) 0 ;
20356 PyObject
* obj0
= 0 ;
20357 PyObject
* obj1
= 0 ;
20358 PyObject
* obj2
= 0 ;
20359 PyObject
* obj3
= 0 ;
20360 PyObject
* obj4
= 0 ;
20361 char * kwnames
[] = {
20362 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20367 if (!SWIG_IsOK(res1
)) {
20368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20370 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20372 if (!SWIG_IsOK(ecode2
)) {
20373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20375 arg2
= static_cast< int >(val2
);
20376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20377 if (!SWIG_IsOK(ecode3
)) {
20378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20380 arg3
= static_cast< int >(val3
);
20381 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20382 if (!SWIG_IsOK(ecode4
)) {
20383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20385 arg4
= static_cast< int >(val4
);
20386 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20387 if (!SWIG_IsOK(ecode5
)) {
20388 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20390 arg5
= static_cast< int >(val5
);
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 resultobj
= SWIG_Py_Void();
20404 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
= 0;
20406 wxDC
*arg1
= (wxDC
*) 0 ;
20407 wxPoint
*arg2
= 0 ;
20413 PyObject
* obj0
= 0 ;
20414 PyObject
* obj1
= 0 ;
20415 PyObject
* obj2
= 0 ;
20416 char * kwnames
[] = {
20417 (char *) "self",(char *) "pt",(char *) "sz", NULL
20420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20422 if (!SWIG_IsOK(res1
)) {
20423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20428 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20432 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20436 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20440 resultobj
= SWIG_Py_Void();
20447 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
= 0;
20449 wxDC
*arg1
= (wxDC
*) 0 ;
20450 wxRegion
*arg2
= 0 ;
20455 PyObject
* obj0
= 0 ;
20456 PyObject
* obj1
= 0 ;
20457 char * kwnames
[] = {
20458 (char *) "self",(char *) "region", NULL
20461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20463 if (!SWIG_IsOK(res1
)) {
20464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20466 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20467 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20468 if (!SWIG_IsOK(res2
)) {
20469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20472 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20474 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 resultobj
= SWIG_Py_Void();
20488 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
= 0;
20490 wxDC
*arg1
= (wxDC
*) 0 ;
20495 PyObject
* obj0
= 0 ;
20496 PyObject
* obj1
= 0 ;
20497 char * kwnames
[] = {
20498 (char *) "self",(char *) "rect", NULL
20501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20503 if (!SWIG_IsOK(res1
)) {
20504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20506 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20509 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20514 wxPyEndAllowThreads(__tstate
);
20515 if (PyErr_Occurred()) SWIG_fail
;
20517 resultobj
= SWIG_Py_Void();
20524 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20525 PyObject
*resultobj
= 0;
20526 wxDC
*arg1
= (wxDC
*) 0 ;
20528 wxPoint
*arg3
= (wxPoint
*) 0 ;
20529 int arg4
= (int) 0 ;
20530 int arg5
= (int) 0 ;
20537 PyObject
* obj0
= 0 ;
20538 PyObject
* obj1
= 0 ;
20539 PyObject
* obj2
= 0 ;
20540 PyObject
* obj3
= 0 ;
20541 char * kwnames
[] = {
20542 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20547 if (!SWIG_IsOK(res1
)) {
20548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20550 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20552 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20553 if (arg3
== NULL
) SWIG_fail
;
20556 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20557 if (!SWIG_IsOK(ecode4
)) {
20558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20560 arg4
= static_cast< int >(val4
);
20563 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20564 if (!SWIG_IsOK(ecode5
)) {
20565 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20567 arg5
= static_cast< int >(val5
);
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= SWIG_Py_Void();
20577 if (arg3
) delete [] arg3
;
20582 if (arg3
) delete [] arg3
;
20588 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20589 PyObject
*resultobj
= 0;
20590 wxDC
*arg1
= (wxDC
*) 0 ;
20592 wxPoint
*arg3
= (wxPoint
*) 0 ;
20593 int arg4
= (int) 0 ;
20594 int arg5
= (int) 0 ;
20595 int arg6
= (int) wxODDEVEN_RULE
;
20604 PyObject
* obj0
= 0 ;
20605 PyObject
* obj1
= 0 ;
20606 PyObject
* obj2
= 0 ;
20607 PyObject
* obj3
= 0 ;
20608 PyObject
* obj4
= 0 ;
20609 char * kwnames
[] = {
20610 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20615 if (!SWIG_IsOK(res1
)) {
20616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20618 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20620 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20621 if (arg3
== NULL
) SWIG_fail
;
20624 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20625 if (!SWIG_IsOK(ecode4
)) {
20626 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20628 arg4
= static_cast< int >(val4
);
20631 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20632 if (!SWIG_IsOK(ecode5
)) {
20633 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20635 arg5
= static_cast< int >(val5
);
20638 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20639 if (!SWIG_IsOK(ecode6
)) {
20640 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20642 arg6
= static_cast< int >(val6
);
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 resultobj
= SWIG_Py_Void();
20652 if (arg3
) delete [] arg3
;
20657 if (arg3
) delete [] arg3
;
20663 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
= 0;
20665 wxDC
*arg1
= (wxDC
*) 0 ;
20666 wxString
*arg2
= 0 ;
20668 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20669 int arg5
= (int) -1 ;
20672 bool temp2
= false ;
20678 PyObject
* obj0
= 0 ;
20679 PyObject
* obj1
= 0 ;
20680 PyObject
* obj2
= 0 ;
20681 PyObject
* obj3
= 0 ;
20682 PyObject
* obj4
= 0 ;
20683 char * kwnames
[] = {
20684 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20689 if (!SWIG_IsOK(res1
)) {
20690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20694 arg2
= wxString_in_helper(obj1
);
20695 if (arg2
== NULL
) SWIG_fail
;
20700 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20703 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20704 if (!SWIG_IsOK(ecode4
)) {
20705 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20707 arg4
= static_cast< int >(val4
);
20710 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20711 if (!SWIG_IsOK(ecode5
)) {
20712 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20714 arg5
= static_cast< int >(val5
);
20717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20718 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20719 wxPyEndAllowThreads(__tstate
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20722 resultobj
= SWIG_Py_Void();
20737 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20738 PyObject
*resultobj
= 0;
20739 wxDC
*arg1
= (wxDC
*) 0 ;
20740 wxString
*arg2
= 0 ;
20741 wxBitmap
*arg3
= 0 ;
20743 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20744 int arg6
= (int) -1 ;
20748 bool temp2
= false ;
20756 PyObject
* obj0
= 0 ;
20757 PyObject
* obj1
= 0 ;
20758 PyObject
* obj2
= 0 ;
20759 PyObject
* obj3
= 0 ;
20760 PyObject
* obj4
= 0 ;
20761 PyObject
* obj5
= 0 ;
20762 char * kwnames
[] = {
20763 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20768 if (!SWIG_IsOK(res1
)) {
20769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20771 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20773 arg2
= wxString_in_helper(obj1
);
20774 if (arg2
== NULL
) SWIG_fail
;
20777 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20778 if (!SWIG_IsOK(res3
)) {
20779 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20784 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20787 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20790 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20791 if (!SWIG_IsOK(ecode5
)) {
20792 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20794 arg5
= static_cast< int >(val5
);
20797 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20798 if (!SWIG_IsOK(ecode6
)) {
20799 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20801 arg6
= static_cast< int >(val6
);
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20809 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20824 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
= 0;
20826 wxDC
*arg1
= (wxDC
*) 0 ;
20828 wxPoint
*arg3
= (wxPoint
*) 0 ;
20831 PyObject
* obj0
= 0 ;
20832 PyObject
* obj1
= 0 ;
20833 char * kwnames
[] = {
20834 (char *) "self",(char *) "points", NULL
20837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20839 if (!SWIG_IsOK(res1
)) {
20840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20844 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20845 if (arg3
== NULL
) SWIG_fail
;
20848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20849 (arg1
)->DrawSpline(arg2
,arg3
);
20850 wxPyEndAllowThreads(__tstate
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20853 resultobj
= SWIG_Py_Void();
20855 if (arg3
) delete [] arg3
;
20860 if (arg3
) delete [] arg3
;
20866 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20867 PyObject
*resultobj
= 0;
20868 wxDC
*arg1
= (wxDC
*) 0 ;
20871 PyObject
*swig_obj
[1] ;
20873 if (!args
) SWIG_fail
;
20874 swig_obj
[0] = args
;
20875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20876 if (!SWIG_IsOK(res1
)) {
20877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20879 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 wxPyEndAllowThreads(__tstate
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20886 resultobj
= SWIG_Py_Void();
20893 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20894 PyObject
*resultobj
= 0;
20895 wxDC
*arg1
= (wxDC
*) 0 ;
20896 wxString
*arg2
= 0 ;
20900 bool temp2
= false ;
20901 PyObject
* obj0
= 0 ;
20902 PyObject
* obj1
= 0 ;
20903 char * kwnames
[] = {
20904 (char *) "self",(char *) "message", NULL
20907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20909 if (!SWIG_IsOK(res1
)) {
20910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20914 arg2
= wxString_in_helper(obj1
);
20915 if (arg2
== NULL
) SWIG_fail
;
20919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20920 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20941 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20942 PyObject
*resultobj
= 0;
20943 wxDC
*arg1
= (wxDC
*) 0 ;
20946 PyObject
*swig_obj
[1] ;
20948 if (!args
) SWIG_fail
;
20949 swig_obj
[0] = args
;
20950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20951 if (!SWIG_IsOK(res1
)) {
20952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20954 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 wxPyEndAllowThreads(__tstate
);
20959 if (PyErr_Occurred()) SWIG_fail
;
20961 resultobj
= SWIG_Py_Void();
20968 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20969 PyObject
*resultobj
= 0;
20970 wxDC
*arg1
= (wxDC
*) 0 ;
20973 PyObject
*swig_obj
[1] ;
20975 if (!args
) SWIG_fail
;
20976 swig_obj
[0] = args
;
20977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20978 if (!SWIG_IsOK(res1
)) {
20979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20981 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 (arg1
)->StartPage();
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 resultobj
= SWIG_Py_Void();
20995 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20996 PyObject
*resultobj
= 0;
20997 wxDC
*arg1
= (wxDC
*) 0 ;
21000 PyObject
*swig_obj
[1] ;
21002 if (!args
) SWIG_fail
;
21003 swig_obj
[0] = args
;
21004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21005 if (!SWIG_IsOK(res1
)) {
21006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
21008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= SWIG_Py_Void();
21022 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
= 0;
21024 wxDC
*arg1
= (wxDC
*) 0 ;
21030 PyObject
* obj0
= 0 ;
21031 PyObject
* obj1
= 0 ;
21032 char * kwnames
[] = {
21033 (char *) "self",(char *) "font", NULL
21036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21038 if (!SWIG_IsOK(res1
)) {
21039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
21041 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
21043 if (!SWIG_IsOK(res2
)) {
21044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21049 arg2
= reinterpret_cast< wxFont
* >(argp2
);
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 (arg1
)->SetFont((wxFont
const &)*arg2
);
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21056 resultobj
= SWIG_Py_Void();
21063 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
= 0;
21065 wxDC
*arg1
= (wxDC
*) 0 ;
21071 PyObject
* obj0
= 0 ;
21072 PyObject
* obj1
= 0 ;
21073 char * kwnames
[] = {
21074 (char *) "self",(char *) "pen", NULL
21077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21079 if (!SWIG_IsOK(res1
)) {
21080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
21082 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21083 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
21084 if (!SWIG_IsOK(res2
)) {
21085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
21090 arg2
= reinterpret_cast< wxPen
* >(argp2
);
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21093 (arg1
)->SetPen((wxPen
const &)*arg2
);
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21097 resultobj
= SWIG_Py_Void();
21104 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
= 0;
21106 wxDC
*arg1
= (wxDC
*) 0 ;
21107 wxBrush
*arg2
= 0 ;
21112 PyObject
* obj0
= 0 ;
21113 PyObject
* obj1
= 0 ;
21114 char * kwnames
[] = {
21115 (char *) "self",(char *) "brush", NULL
21118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21120 if (!SWIG_IsOK(res1
)) {
21121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
21123 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21124 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21125 if (!SWIG_IsOK(res2
)) {
21126 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
21131 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 resultobj
= SWIG_Py_Void();
21145 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
= 0;
21147 wxDC
*arg1
= (wxDC
*) 0 ;
21148 wxBrush
*arg2
= 0 ;
21153 PyObject
* obj0
= 0 ;
21154 PyObject
* obj1
= 0 ;
21155 char * kwnames
[] = {
21156 (char *) "self",(char *) "brush", NULL
21159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21161 if (!SWIG_IsOK(res1
)) {
21162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21164 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21165 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21166 if (!SWIG_IsOK(res2
)) {
21167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21172 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= SWIG_Py_Void();
21186 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21187 PyObject
*resultobj
= 0;
21188 wxDC
*arg1
= (wxDC
*) 0 ;
21194 PyObject
* obj0
= 0 ;
21195 PyObject
* obj1
= 0 ;
21196 char * kwnames
[] = {
21197 (char *) "self",(char *) "mode", NULL
21200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21202 if (!SWIG_IsOK(res1
)) {
21203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21205 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21207 if (!SWIG_IsOK(ecode2
)) {
21208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21210 arg2
= static_cast< int >(val2
);
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 (arg1
)->SetBackgroundMode(arg2
);
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21217 resultobj
= SWIG_Py_Void();
21224 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
= 0;
21226 wxDC
*arg1
= (wxDC
*) 0 ;
21227 wxPalette
*arg2
= 0 ;
21232 PyObject
* obj0
= 0 ;
21233 PyObject
* obj1
= 0 ;
21234 char * kwnames
[] = {
21235 (char *) "self",(char *) "palette", NULL
21238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21240 if (!SWIG_IsOK(res1
)) {
21241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21243 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21244 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21245 if (!SWIG_IsOK(res2
)) {
21246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21251 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21258 resultobj
= SWIG_Py_Void();
21265 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21266 PyObject
*resultobj
= 0;
21267 wxDC
*arg1
= (wxDC
*) 0 ;
21270 PyObject
*swig_obj
[1] ;
21272 if (!args
) SWIG_fail
;
21273 swig_obj
[0] = args
;
21274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21275 if (!SWIG_IsOK(res1
)) {
21276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21278 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 (arg1
)->DestroyClippingRegion();
21282 wxPyEndAllowThreads(__tstate
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21285 resultobj
= SWIG_Py_Void();
21292 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21293 PyObject
*resultobj
= 0;
21294 wxDC
*arg1
= (wxDC
*) 0 ;
21295 int *arg2
= (int *) 0 ;
21296 int *arg3
= (int *) 0 ;
21297 int *arg4
= (int *) 0 ;
21298 int *arg5
= (int *) 0 ;
21302 int res2
= SWIG_TMPOBJ
;
21304 int res3
= SWIG_TMPOBJ
;
21306 int res4
= SWIG_TMPOBJ
;
21308 int res5
= SWIG_TMPOBJ
;
21309 PyObject
*swig_obj
[1] ;
21315 if (!args
) SWIG_fail
;
21316 swig_obj
[0] = args
;
21317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21318 if (!SWIG_IsOK(res1
)) {
21319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21321 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21328 resultobj
= SWIG_Py_Void();
21329 if (SWIG_IsTmpObj(res2
)) {
21330 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21332 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21333 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21335 if (SWIG_IsTmpObj(res3
)) {
21336 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21338 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21339 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21341 if (SWIG_IsTmpObj(res4
)) {
21342 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21344 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21345 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21347 if (SWIG_IsTmpObj(res5
)) {
21348 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21350 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21351 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21359 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21360 PyObject
*resultobj
= 0;
21361 wxDC
*arg1
= (wxDC
*) 0 ;
21365 PyObject
*swig_obj
[1] ;
21367 if (!args
) SWIG_fail
;
21368 swig_obj
[0] = args
;
21369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21370 if (!SWIG_IsOK(res1
)) {
21371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21373 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 result
= wxDC_GetClippingRect(arg1
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21387 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21388 PyObject
*resultobj
= 0;
21389 wxDC
*arg1
= (wxDC
*) 0 ;
21393 PyObject
*swig_obj
[1] ;
21395 if (!args
) SWIG_fail
;
21396 swig_obj
[0] = args
;
21397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21398 if (!SWIG_IsOK(res1
)) {
21399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21401 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21408 resultobj
= SWIG_From_int(static_cast< int >(result
));
21415 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21416 PyObject
*resultobj
= 0;
21417 wxDC
*arg1
= (wxDC
*) 0 ;
21421 PyObject
*swig_obj
[1] ;
21423 if (!args
) SWIG_fail
;
21424 swig_obj
[0] = args
;
21425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21426 if (!SWIG_IsOK(res1
)) {
21427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21429 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21436 resultobj
= SWIG_From_int(static_cast< int >(result
));
21443 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21444 PyObject
*resultobj
= 0;
21445 wxDC
*arg1
= (wxDC
*) 0 ;
21446 wxString
*arg2
= 0 ;
21447 int *arg3
= (int *) 0 ;
21448 int *arg4
= (int *) 0 ;
21451 bool temp2
= false ;
21453 int res3
= SWIG_TMPOBJ
;
21455 int res4
= SWIG_TMPOBJ
;
21456 PyObject
* obj0
= 0 ;
21457 PyObject
* obj1
= 0 ;
21458 char * kwnames
[] = {
21459 (char *) "self",(char *) "string", NULL
21464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21466 if (!SWIG_IsOK(res1
)) {
21467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21469 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21471 arg2
= wxString_in_helper(obj1
);
21472 if (arg2
== NULL
) SWIG_fail
;
21476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21477 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21478 wxPyEndAllowThreads(__tstate
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21481 resultobj
= SWIG_Py_Void();
21482 if (SWIG_IsTmpObj(res3
)) {
21483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21485 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21486 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21488 if (SWIG_IsTmpObj(res4
)) {
21489 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21491 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21492 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21508 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21509 PyObject
*resultobj
= 0;
21510 wxDC
*arg1
= (wxDC
*) 0 ;
21511 wxString
*arg2
= 0 ;
21512 int *arg3
= (int *) 0 ;
21513 int *arg4
= (int *) 0 ;
21514 int *arg5
= (int *) 0 ;
21515 int *arg6
= (int *) 0 ;
21516 wxFont
*arg7
= (wxFont
*) NULL
;
21519 bool temp2
= false ;
21521 int res3
= SWIG_TMPOBJ
;
21523 int res4
= SWIG_TMPOBJ
;
21525 int res5
= SWIG_TMPOBJ
;
21527 int res6
= SWIG_TMPOBJ
;
21530 PyObject
* obj0
= 0 ;
21531 PyObject
* obj1
= 0 ;
21532 PyObject
* obj2
= 0 ;
21533 char * kwnames
[] = {
21534 (char *) "self",(char *) "string",(char *) "font", NULL
21541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21543 if (!SWIG_IsOK(res1
)) {
21544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21546 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21548 arg2
= wxString_in_helper(obj1
);
21549 if (arg2
== NULL
) SWIG_fail
;
21553 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21554 if (!SWIG_IsOK(res7
)) {
21555 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21557 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21565 resultobj
= SWIG_Py_Void();
21566 if (SWIG_IsTmpObj(res3
)) {
21567 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21569 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21570 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21572 if (SWIG_IsTmpObj(res4
)) {
21573 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21575 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21578 if (SWIG_IsTmpObj(res5
)) {
21579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21581 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21584 if (SWIG_IsTmpObj(res6
)) {
21585 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21587 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21588 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21604 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21605 PyObject
*resultobj
= 0;
21606 wxDC
*arg1
= (wxDC
*) 0 ;
21607 wxString
*arg2
= 0 ;
21608 int *arg3
= (int *) 0 ;
21609 int *arg4
= (int *) 0 ;
21610 int *arg5
= (int *) 0 ;
21611 wxFont
*arg6
= (wxFont
*) NULL
;
21614 bool temp2
= false ;
21616 int res3
= SWIG_TMPOBJ
;
21618 int res4
= SWIG_TMPOBJ
;
21620 int res5
= SWIG_TMPOBJ
;
21623 PyObject
* obj0
= 0 ;
21624 PyObject
* obj1
= 0 ;
21625 PyObject
* obj2
= 0 ;
21626 char * kwnames
[] = {
21627 (char *) "self",(char *) "text",(char *) "font", NULL
21633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21635 if (!SWIG_IsOK(res1
)) {
21636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21638 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21640 arg2
= wxString_in_helper(obj1
);
21641 if (arg2
== NULL
) SWIG_fail
;
21645 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21646 if (!SWIG_IsOK(res6
)) {
21647 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21649 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21653 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 resultobj
= SWIG_Py_Void();
21658 if (SWIG_IsTmpObj(res3
)) {
21659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21661 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21664 if (SWIG_IsTmpObj(res4
)) {
21665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21667 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21670 if (SWIG_IsTmpObj(res5
)) {
21671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21673 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21690 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21691 PyObject
*resultobj
= 0;
21692 wxDC
*arg1
= (wxDC
*) 0 ;
21693 wxString
*arg2
= 0 ;
21697 bool temp2
= false ;
21698 PyObject
* obj0
= 0 ;
21699 PyObject
* obj1
= 0 ;
21700 char * kwnames
[] = {
21701 (char *) "self",(char *) "text", NULL
21704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21706 if (!SWIG_IsOK(res1
)) {
21707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21709 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21711 arg2
= wxString_in_helper(obj1
);
21712 if (arg2
== NULL
) SWIG_fail
;
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21717 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21718 wxPyEndAllowThreads(__tstate
);
21719 if (PyErr_Occurred()) SWIG_fail
;
21722 resultobj
= wxArrayInt2PyList_helper(result
);
21738 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21739 PyObject
*resultobj
= 0;
21740 wxDC
*arg1
= (wxDC
*) 0 ;
21744 PyObject
*swig_obj
[1] ;
21746 if (!args
) SWIG_fail
;
21747 swig_obj
[0] = args
;
21748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21749 if (!SWIG_IsOK(res1
)) {
21750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21752 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 result
= (arg1
)->GetSize();
21756 wxPyEndAllowThreads(__tstate
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21759 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21766 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21767 PyObject
*resultobj
= 0;
21768 wxDC
*arg1
= (wxDC
*) 0 ;
21769 int *arg2
= (int *) 0 ;
21770 int *arg3
= (int *) 0 ;
21774 int res2
= SWIG_TMPOBJ
;
21776 int res3
= SWIG_TMPOBJ
;
21777 PyObject
*swig_obj
[1] ;
21781 if (!args
) SWIG_fail
;
21782 swig_obj
[0] = args
;
21783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21784 if (!SWIG_IsOK(res1
)) {
21785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21787 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 (arg1
)->GetSize(arg2
,arg3
);
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 resultobj
= SWIG_Py_Void();
21795 if (SWIG_IsTmpObj(res2
)) {
21796 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21798 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21799 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21801 if (SWIG_IsTmpObj(res3
)) {
21802 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21804 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21805 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21813 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21814 PyObject
*resultobj
= 0;
21815 wxDC
*arg1
= (wxDC
*) 0 ;
21819 PyObject
*swig_obj
[1] ;
21821 if (!args
) SWIG_fail
;
21822 swig_obj
[0] = args
;
21823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21824 if (!SWIG_IsOK(res1
)) {
21825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21827 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21841 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21842 PyObject
*resultobj
= 0;
21843 wxDC
*arg1
= (wxDC
*) 0 ;
21844 int *arg2
= (int *) 0 ;
21845 int *arg3
= (int *) 0 ;
21849 int res2
= SWIG_TMPOBJ
;
21851 int res3
= SWIG_TMPOBJ
;
21852 PyObject
*swig_obj
[1] ;
21856 if (!args
) SWIG_fail
;
21857 swig_obj
[0] = args
;
21858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21859 if (!SWIG_IsOK(res1
)) {
21860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21862 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21866 wxPyEndAllowThreads(__tstate
);
21867 if (PyErr_Occurred()) SWIG_fail
;
21869 resultobj
= SWIG_Py_Void();
21870 if (SWIG_IsTmpObj(res2
)) {
21871 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21873 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21874 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21876 if (SWIG_IsTmpObj(res3
)) {
21877 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21879 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21880 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21888 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
= 0;
21890 wxDC
*arg1
= (wxDC
*) 0 ;
21897 PyObject
* obj0
= 0 ;
21898 PyObject
* obj1
= 0 ;
21899 char * kwnames
[] = {
21900 (char *) "self",(char *) "x", NULL
21903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21905 if (!SWIG_IsOK(res1
)) {
21906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21908 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21910 if (!SWIG_IsOK(ecode2
)) {
21911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21913 arg2
= static_cast< int >(val2
);
21915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21916 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21920 resultobj
= SWIG_From_int(static_cast< int >(result
));
21927 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21928 PyObject
*resultobj
= 0;
21929 wxDC
*arg1
= (wxDC
*) 0 ;
21936 PyObject
* obj0
= 0 ;
21937 PyObject
* obj1
= 0 ;
21938 char * kwnames
[] = {
21939 (char *) "self",(char *) "y", NULL
21942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21944 if (!SWIG_IsOK(res1
)) {
21945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21947 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21949 if (!SWIG_IsOK(ecode2
)) {
21950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21952 arg2
= static_cast< int >(val2
);
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21956 wxPyEndAllowThreads(__tstate
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21959 resultobj
= SWIG_From_int(static_cast< int >(result
));
21966 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
= 0;
21968 wxDC
*arg1
= (wxDC
*) 0 ;
21975 PyObject
* obj0
= 0 ;
21976 PyObject
* obj1
= 0 ;
21977 char * kwnames
[] = {
21978 (char *) "self",(char *) "x", NULL
21981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21983 if (!SWIG_IsOK(res1
)) {
21984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21986 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21988 if (!SWIG_IsOK(ecode2
)) {
21989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21991 arg2
= static_cast< int >(val2
);
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21998 resultobj
= SWIG_From_int(static_cast< int >(result
));
22005 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22006 PyObject
*resultobj
= 0;
22007 wxDC
*arg1
= (wxDC
*) 0 ;
22014 PyObject
* obj0
= 0 ;
22015 PyObject
* obj1
= 0 ;
22016 char * kwnames
[] = {
22017 (char *) "self",(char *) "y", NULL
22020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22022 if (!SWIG_IsOK(res1
)) {
22023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22025 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22027 if (!SWIG_IsOK(ecode2
)) {
22028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
22030 arg2
= static_cast< int >(val2
);
22032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22033 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= SWIG_From_int(static_cast< int >(result
));
22044 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
= 0;
22046 wxDC
*arg1
= (wxDC
*) 0 ;
22053 PyObject
* obj0
= 0 ;
22054 PyObject
* obj1
= 0 ;
22055 char * kwnames
[] = {
22056 (char *) "self",(char *) "x", NULL
22059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22061 if (!SWIG_IsOK(res1
)) {
22062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
22064 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22066 if (!SWIG_IsOK(ecode2
)) {
22067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
22069 arg2
= static_cast< int >(val2
);
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
22073 wxPyEndAllowThreads(__tstate
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22076 resultobj
= SWIG_From_int(static_cast< int >(result
));
22083 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22084 PyObject
*resultobj
= 0;
22085 wxDC
*arg1
= (wxDC
*) 0 ;
22092 PyObject
* obj0
= 0 ;
22093 PyObject
* obj1
= 0 ;
22094 char * kwnames
[] = {
22095 (char *) "self",(char *) "y", NULL
22098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22100 if (!SWIG_IsOK(res1
)) {
22101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
22103 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22105 if (!SWIG_IsOK(ecode2
)) {
22106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
22108 arg2
= static_cast< int >(val2
);
22110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22111 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
22112 wxPyEndAllowThreads(__tstate
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22115 resultobj
= SWIG_From_int(static_cast< int >(result
));
22122 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
= 0;
22124 wxDC
*arg1
= (wxDC
*) 0 ;
22131 PyObject
* obj0
= 0 ;
22132 PyObject
* obj1
= 0 ;
22133 char * kwnames
[] = {
22134 (char *) "self",(char *) "x", NULL
22137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22139 if (!SWIG_IsOK(res1
)) {
22140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22142 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22144 if (!SWIG_IsOK(ecode2
)) {
22145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22147 arg2
= static_cast< int >(val2
);
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22154 resultobj
= SWIG_From_int(static_cast< int >(result
));
22161 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
= 0;
22163 wxDC
*arg1
= (wxDC
*) 0 ;
22170 PyObject
* obj0
= 0 ;
22171 PyObject
* obj1
= 0 ;
22172 char * kwnames
[] = {
22173 (char *) "self",(char *) "y", NULL
22176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22178 if (!SWIG_IsOK(res1
)) {
22179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22181 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22183 if (!SWIG_IsOK(ecode2
)) {
22184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22186 arg2
= static_cast< int >(val2
);
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22190 wxPyEndAllowThreads(__tstate
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22193 resultobj
= SWIG_From_int(static_cast< int >(result
));
22200 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22201 PyObject
*resultobj
= 0;
22202 wxDC
*arg1
= (wxDC
*) 0 ;
22206 PyObject
*swig_obj
[1] ;
22208 if (!args
) SWIG_fail
;
22209 swig_obj
[0] = args
;
22210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22211 if (!SWIG_IsOK(res1
)) {
22212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22214 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22217 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22230 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22231 PyObject
*resultobj
= 0;
22232 wxDC
*arg1
= (wxDC
*) 0 ;
22236 PyObject
*swig_obj
[1] ;
22238 if (!args
) SWIG_fail
;
22239 swig_obj
[0] = args
;
22240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22241 if (!SWIG_IsOK(res1
)) {
22242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22244 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22247 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22260 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22261 PyObject
*resultobj
= 0;
22262 wxDC
*arg1
= (wxDC
*) 0 ;
22266 PyObject
*swig_obj
[1] ;
22268 if (!args
) SWIG_fail
;
22269 swig_obj
[0] = args
;
22270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22271 if (!SWIG_IsOK(res1
)) {
22272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22274 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22277 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22281 resultobj
= SWIG_From_int(static_cast< int >(result
));
22288 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22289 PyObject
*resultobj
= 0;
22290 wxDC
*arg1
= (wxDC
*) 0 ;
22294 PyObject
*swig_obj
[1] ;
22296 if (!args
) SWIG_fail
;
22297 swig_obj
[0] = args
;
22298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22299 if (!SWIG_IsOK(res1
)) {
22300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22302 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 result
= ((wxDC
const *)arg1
)->GetPPI();
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22309 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22316 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22317 PyObject
*resultobj
= 0;
22318 wxDC
*arg1
= (wxDC
*) 0 ;
22322 PyObject
*swig_obj
[1] ;
22324 if (!args
) SWIG_fail
;
22325 swig_obj
[0] = args
;
22326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22327 if (!SWIG_IsOK(res1
)) {
22328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22334 wxPyEndAllowThreads(__tstate
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22346 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22347 PyObject
*resultobj
= 0;
22348 wxDC
*arg1
= (wxDC
*) 0 ;
22352 PyObject
*swig_obj
[1] ;
22354 if (!args
) SWIG_fail
;
22355 swig_obj
[0] = args
;
22356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22357 if (!SWIG_IsOK(res1
)) {
22358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22360 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22363 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 resultobj
= SWIG_From_int(static_cast< int >(result
));
22374 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22375 PyObject
*resultobj
= 0;
22376 wxDC
*arg1
= (wxDC
*) 0 ;
22377 wxBrush
*result
= 0 ;
22380 PyObject
*swig_obj
[1] ;
22382 if (!args
) SWIG_fail
;
22383 swig_obj
[0] = args
;
22384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22385 if (!SWIG_IsOK(res1
)) {
22386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22388 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22393 result
= (wxBrush
*) &_result_ref
;
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22399 wxBrush
* resultptr
= new wxBrush(*result
);
22400 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22408 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22409 PyObject
*resultobj
= 0;
22410 wxDC
*arg1
= (wxDC
*) 0 ;
22411 wxBrush
*result
= 0 ;
22414 PyObject
*swig_obj
[1] ;
22416 if (!args
) SWIG_fail
;
22417 swig_obj
[0] = args
;
22418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22419 if (!SWIG_IsOK(res1
)) {
22420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22422 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22427 result
= (wxBrush
*) &_result_ref
;
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22433 wxBrush
* resultptr
= new wxBrush(*result
);
22434 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22442 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22443 PyObject
*resultobj
= 0;
22444 wxDC
*arg1
= (wxDC
*) 0 ;
22445 wxFont
*result
= 0 ;
22448 PyObject
*swig_obj
[1] ;
22450 if (!args
) SWIG_fail
;
22451 swig_obj
[0] = args
;
22452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22453 if (!SWIG_IsOK(res1
)) {
22454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22460 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22461 result
= (wxFont
*) &_result_ref
;
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22467 wxFont
* resultptr
= new wxFont(*result
);
22468 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22476 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22477 PyObject
*resultobj
= 0;
22478 wxDC
*arg1
= (wxDC
*) 0 ;
22479 wxPen
*result
= 0 ;
22482 PyObject
*swig_obj
[1] ;
22484 if (!args
) SWIG_fail
;
22485 swig_obj
[0] = args
;
22486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22487 if (!SWIG_IsOK(res1
)) {
22488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22495 result
= (wxPen
*) &_result_ref
;
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22501 wxPen
* resultptr
= new wxPen(*result
);
22502 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22510 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22511 PyObject
*resultobj
= 0;
22512 wxDC
*arg1
= (wxDC
*) 0 ;
22513 wxColour
*result
= 0 ;
22516 PyObject
*swig_obj
[1] ;
22518 if (!args
) SWIG_fail
;
22519 swig_obj
[0] = args
;
22520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22521 if (!SWIG_IsOK(res1
)) {
22522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22524 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22529 result
= (wxColour
*) &_result_ref
;
22531 wxPyEndAllowThreads(__tstate
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22541 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22542 PyObject
*resultobj
= 0;
22543 wxDC
*arg1
= (wxDC
*) 0 ;
22544 wxColour
*result
= 0 ;
22547 PyObject
*swig_obj
[1] ;
22549 if (!args
) SWIG_fail
;
22550 swig_obj
[0] = args
;
22551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22552 if (!SWIG_IsOK(res1
)) {
22553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22555 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22560 result
= (wxColour
*) &_result_ref
;
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22572 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22573 PyObject
*resultobj
= 0;
22574 wxDC
*arg1
= (wxDC
*) 0 ;
22575 wxColour
*arg2
= 0 ;
22579 PyObject
* obj0
= 0 ;
22580 PyObject
* obj1
= 0 ;
22581 char * kwnames
[] = {
22582 (char *) "self",(char *) "colour", NULL
22585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22587 if (!SWIG_IsOK(res1
)) {
22588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22590 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22593 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22597 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22601 resultobj
= SWIG_Py_Void();
22608 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
= 0;
22610 wxDC
*arg1
= (wxDC
*) 0 ;
22611 wxColour
*arg2
= 0 ;
22615 PyObject
* obj0
= 0 ;
22616 PyObject
* obj1
= 0 ;
22617 char * kwnames
[] = {
22618 (char *) "self",(char *) "colour", NULL
22621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22623 if (!SWIG_IsOK(res1
)) {
22624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22626 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22629 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22633 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22634 wxPyEndAllowThreads(__tstate
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22637 resultobj
= SWIG_Py_Void();
22644 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22645 PyObject
*resultobj
= 0;
22646 wxDC
*arg1
= (wxDC
*) 0 ;
22650 PyObject
*swig_obj
[1] ;
22652 if (!args
) SWIG_fail
;
22653 swig_obj
[0] = args
;
22654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22655 if (!SWIG_IsOK(res1
)) {
22656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22658 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22661 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22662 wxPyEndAllowThreads(__tstate
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 resultobj
= SWIG_From_int(static_cast< int >(result
));
22672 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22673 PyObject
*resultobj
= 0;
22674 wxDC
*arg1
= (wxDC
*) 0 ;
22680 PyObject
* obj0
= 0 ;
22681 PyObject
* obj1
= 0 ;
22682 char * kwnames
[] = {
22683 (char *) "self",(char *) "mode", NULL
22686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22688 if (!SWIG_IsOK(res1
)) {
22689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22691 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22693 if (!SWIG_IsOK(ecode2
)) {
22694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22696 arg2
= static_cast< int >(val2
);
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 (arg1
)->SetMapMode(arg2
);
22700 wxPyEndAllowThreads(__tstate
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22703 resultobj
= SWIG_Py_Void();
22710 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22711 PyObject
*resultobj
= 0;
22712 wxDC
*arg1
= (wxDC
*) 0 ;
22713 double *arg2
= (double *) 0 ;
22714 double *arg3
= (double *) 0 ;
22718 int res2
= SWIG_TMPOBJ
;
22720 int res3
= SWIG_TMPOBJ
;
22721 PyObject
*swig_obj
[1] ;
22725 if (!args
) SWIG_fail
;
22726 swig_obj
[0] = args
;
22727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22728 if (!SWIG_IsOK(res1
)) {
22729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22731 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22734 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22735 wxPyEndAllowThreads(__tstate
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22738 resultobj
= SWIG_Py_Void();
22739 if (SWIG_IsTmpObj(res2
)) {
22740 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22742 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22743 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22745 if (SWIG_IsTmpObj(res3
)) {
22746 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22748 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22749 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22757 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22758 PyObject
*resultobj
= 0;
22759 wxDC
*arg1
= (wxDC
*) 0 ;
22768 PyObject
* obj0
= 0 ;
22769 PyObject
* obj1
= 0 ;
22770 PyObject
* obj2
= 0 ;
22771 char * kwnames
[] = {
22772 (char *) "self",(char *) "x",(char *) "y", NULL
22775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22777 if (!SWIG_IsOK(res1
)) {
22778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22780 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22781 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22782 if (!SWIG_IsOK(ecode2
)) {
22783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22785 arg2
= static_cast< double >(val2
);
22786 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22787 if (!SWIG_IsOK(ecode3
)) {
22788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22790 arg3
= static_cast< double >(val3
);
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 (arg1
)->SetUserScale(arg2
,arg3
);
22794 wxPyEndAllowThreads(__tstate
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22797 resultobj
= SWIG_Py_Void();
22804 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22805 PyObject
*resultobj
= 0;
22806 wxDC
*arg1
= (wxDC
*) 0 ;
22807 double *arg2
= (double *) 0 ;
22808 double *arg3
= (double *) 0 ;
22812 int res2
= SWIG_TMPOBJ
;
22814 int res3
= SWIG_TMPOBJ
;
22815 PyObject
*swig_obj
[1] ;
22819 if (!args
) SWIG_fail
;
22820 swig_obj
[0] = args
;
22821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22822 if (!SWIG_IsOK(res1
)) {
22823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22825 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22828 (arg1
)->GetLogicalScale(arg2
,arg3
);
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 resultobj
= SWIG_Py_Void();
22833 if (SWIG_IsTmpObj(res2
)) {
22834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22836 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22837 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22839 if (SWIG_IsTmpObj(res3
)) {
22840 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22842 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22851 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
= 0;
22853 wxDC
*arg1
= (wxDC
*) 0 ;
22862 PyObject
* obj0
= 0 ;
22863 PyObject
* obj1
= 0 ;
22864 PyObject
* obj2
= 0 ;
22865 char * kwnames
[] = {
22866 (char *) "self",(char *) "x",(char *) "y", NULL
22869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22871 if (!SWIG_IsOK(res1
)) {
22872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22874 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22875 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22876 if (!SWIG_IsOK(ecode2
)) {
22877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22879 arg2
= static_cast< double >(val2
);
22880 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22881 if (!SWIG_IsOK(ecode3
)) {
22882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22884 arg3
= static_cast< double >(val3
);
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 (arg1
)->SetLogicalScale(arg2
,arg3
);
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= SWIG_Py_Void();
22898 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22899 PyObject
*resultobj
= 0;
22900 wxDC
*arg1
= (wxDC
*) 0 ;
22904 PyObject
*swig_obj
[1] ;
22906 if (!args
) SWIG_fail
;
22907 swig_obj
[0] = args
;
22908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22909 if (!SWIG_IsOK(res1
)) {
22910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22912 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22916 wxPyEndAllowThreads(__tstate
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22919 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22926 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22927 PyObject
*resultobj
= 0;
22928 wxDC
*arg1
= (wxDC
*) 0 ;
22929 int *arg2
= (int *) 0 ;
22930 int *arg3
= (int *) 0 ;
22934 int res2
= SWIG_TMPOBJ
;
22936 int res3
= SWIG_TMPOBJ
;
22937 PyObject
*swig_obj
[1] ;
22941 if (!args
) SWIG_fail
;
22942 swig_obj
[0] = args
;
22943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22944 if (!SWIG_IsOK(res1
)) {
22945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22947 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= SWIG_Py_Void();
22955 if (SWIG_IsTmpObj(res2
)) {
22956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22958 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22961 if (SWIG_IsTmpObj(res3
)) {
22962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22964 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22973 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22974 PyObject
*resultobj
= 0;
22975 wxDC
*arg1
= (wxDC
*) 0 ;
22984 PyObject
* obj0
= 0 ;
22985 PyObject
* obj1
= 0 ;
22986 PyObject
* obj2
= 0 ;
22987 char * kwnames
[] = {
22988 (char *) "self",(char *) "x",(char *) "y", NULL
22991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22993 if (!SWIG_IsOK(res1
)) {
22994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22998 if (!SWIG_IsOK(ecode2
)) {
22999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
23001 arg2
= static_cast< int >(val2
);
23002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23003 if (!SWIG_IsOK(ecode3
)) {
23004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
23006 arg3
= static_cast< int >(val3
);
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 resultobj
= SWIG_Py_Void();
23020 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
= 0;
23022 wxDC
*arg1
= (wxDC
*) 0 ;
23023 wxPoint
*arg2
= 0 ;
23027 PyObject
* obj0
= 0 ;
23028 PyObject
* obj1
= 0 ;
23029 char * kwnames
[] = {
23030 (char *) "self",(char *) "point", NULL
23033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23035 if (!SWIG_IsOK(res1
)) {
23036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23038 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23041 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23045 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23049 resultobj
= SWIG_Py_Void();
23056 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23057 PyObject
*resultobj
= 0;
23058 wxDC
*arg1
= (wxDC
*) 0 ;
23062 PyObject
*swig_obj
[1] ;
23064 if (!args
) SWIG_fail
;
23065 swig_obj
[0] = args
;
23066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23067 if (!SWIG_IsOK(res1
)) {
23068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
23070 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23073 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23077 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23084 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23085 PyObject
*resultobj
= 0;
23086 wxDC
*arg1
= (wxDC
*) 0 ;
23087 int *arg2
= (int *) 0 ;
23088 int *arg3
= (int *) 0 ;
23092 int res2
= SWIG_TMPOBJ
;
23094 int res3
= SWIG_TMPOBJ
;
23095 PyObject
*swig_obj
[1] ;
23099 if (!args
) SWIG_fail
;
23100 swig_obj
[0] = args
;
23101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23102 if (!SWIG_IsOK(res1
)) {
23103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
23105 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23112 resultobj
= SWIG_Py_Void();
23113 if (SWIG_IsTmpObj(res2
)) {
23114 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23116 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23117 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23119 if (SWIG_IsTmpObj(res3
)) {
23120 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23122 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23123 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23131 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23132 PyObject
*resultobj
= 0;
23133 wxDC
*arg1
= (wxDC
*) 0 ;
23142 PyObject
* obj0
= 0 ;
23143 PyObject
* obj1
= 0 ;
23144 PyObject
* obj2
= 0 ;
23145 char * kwnames
[] = {
23146 (char *) "self",(char *) "x",(char *) "y", NULL
23149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23151 if (!SWIG_IsOK(res1
)) {
23152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23154 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23156 if (!SWIG_IsOK(ecode2
)) {
23157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23159 arg2
= static_cast< int >(val2
);
23160 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23161 if (!SWIG_IsOK(ecode3
)) {
23162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23164 arg3
= static_cast< int >(val3
);
23166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23167 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23168 wxPyEndAllowThreads(__tstate
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23171 resultobj
= SWIG_Py_Void();
23178 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23179 PyObject
*resultobj
= 0;
23180 wxDC
*arg1
= (wxDC
*) 0 ;
23181 wxPoint
*arg2
= 0 ;
23185 PyObject
* obj0
= 0 ;
23186 PyObject
* obj1
= 0 ;
23187 char * kwnames
[] = {
23188 (char *) "self",(char *) "point", NULL
23191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23193 if (!SWIG_IsOK(res1
)) {
23194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23196 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23199 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 resultobj
= SWIG_Py_Void();
23214 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
= 0;
23216 wxDC
*arg1
= (wxDC
*) 0 ;
23225 PyObject
* obj0
= 0 ;
23226 PyObject
* obj1
= 0 ;
23227 PyObject
* obj2
= 0 ;
23228 char * kwnames
[] = {
23229 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23234 if (!SWIG_IsOK(res1
)) {
23235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23237 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23238 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23239 if (!SWIG_IsOK(ecode2
)) {
23240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23242 arg2
= static_cast< bool >(val2
);
23243 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23244 if (!SWIG_IsOK(ecode3
)) {
23245 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23247 arg3
= static_cast< bool >(val3
);
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23251 wxPyEndAllowThreads(__tstate
);
23252 if (PyErr_Occurred()) SWIG_fail
;
23254 resultobj
= SWIG_Py_Void();
23261 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23262 PyObject
*resultobj
= 0;
23263 wxDC
*arg1
= (wxDC
*) 0 ;
23267 PyObject
*swig_obj
[1] ;
23269 if (!args
) SWIG_fail
;
23270 swig_obj
[0] = args
;
23271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23272 if (!SWIG_IsOK(res1
)) {
23273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23275 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23278 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23279 wxPyEndAllowThreads(__tstate
);
23280 if (PyErr_Occurred()) SWIG_fail
;
23282 resultobj
= SWIG_From_int(static_cast< int >(result
));
23289 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23290 PyObject
*resultobj
= 0;
23291 wxDC
*arg1
= (wxDC
*) 0 ;
23297 PyObject
* obj0
= 0 ;
23298 PyObject
* obj1
= 0 ;
23299 char * kwnames
[] = {
23300 (char *) "self",(char *) "function", NULL
23303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23305 if (!SWIG_IsOK(res1
)) {
23306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23308 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23310 if (!SWIG_IsOK(ecode2
)) {
23311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23313 arg2
= static_cast< int >(val2
);
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 (arg1
)->SetLogicalFunction(arg2
);
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23320 resultobj
= SWIG_Py_Void();
23327 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23328 PyObject
*resultobj
= 0;
23329 wxDC
*arg1
= (wxDC
*) 0 ;
23332 PyObject
*swig_obj
[1] ;
23334 if (!args
) SWIG_fail
;
23335 swig_obj
[0] = args
;
23336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23337 if (!SWIG_IsOK(res1
)) {
23338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23340 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 (arg1
)->ComputeScaleAndOrigin();
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23347 resultobj
= SWIG_Py_Void();
23354 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23355 PyObject
*resultobj
= 0;
23356 wxDC
*arg1
= (wxDC
*) 0 ;
23365 PyObject
* obj0
= 0 ;
23366 PyObject
* obj1
= 0 ;
23367 PyObject
* obj2
= 0 ;
23368 char * kwnames
[] = {
23369 (char *) "self",(char *) "x",(char *) "y", NULL
23372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23374 if (!SWIG_IsOK(res1
)) {
23375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23379 if (!SWIG_IsOK(ecode2
)) {
23380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23382 arg2
= static_cast< int >(val2
);
23383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23384 if (!SWIG_IsOK(ecode3
)) {
23385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23387 arg3
= static_cast< int >(val3
);
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= SWIG_Py_Void();
23401 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
= 0;
23403 wxDC
*arg1
= (wxDC
*) 0 ;
23404 wxPoint
*arg2
= 0 ;
23408 PyObject
* obj0
= 0 ;
23409 PyObject
* obj1
= 0 ;
23410 char * kwnames
[] = {
23411 (char *) "self",(char *) "point", NULL
23414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23416 if (!SWIG_IsOK(res1
)) {
23417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23419 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23422 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23426 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23430 resultobj
= SWIG_Py_Void();
23437 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23438 PyObject
*resultobj
= 0;
23439 wxDC
*arg1
= (wxDC
*) 0 ;
23442 PyObject
*swig_obj
[1] ;
23444 if (!args
) SWIG_fail
;
23445 swig_obj
[0] = args
;
23446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23447 if (!SWIG_IsOK(res1
)) {
23448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23450 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 (arg1
)->ResetBoundingBox();
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23457 resultobj
= SWIG_Py_Void();
23464 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23465 PyObject
*resultobj
= 0;
23466 wxDC
*arg1
= (wxDC
*) 0 ;
23470 PyObject
*swig_obj
[1] ;
23472 if (!args
) SWIG_fail
;
23473 swig_obj
[0] = args
;
23474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23475 if (!SWIG_IsOK(res1
)) {
23476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23478 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 result
= (int)((wxDC
const *)arg1
)->MinX();
23482 wxPyEndAllowThreads(__tstate
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23485 resultobj
= SWIG_From_int(static_cast< int >(result
));
23492 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23493 PyObject
*resultobj
= 0;
23494 wxDC
*arg1
= (wxDC
*) 0 ;
23498 PyObject
*swig_obj
[1] ;
23500 if (!args
) SWIG_fail
;
23501 swig_obj
[0] = args
;
23502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23503 if (!SWIG_IsOK(res1
)) {
23504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23506 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 result
= (int)((wxDC
const *)arg1
)->MaxX();
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23513 resultobj
= SWIG_From_int(static_cast< int >(result
));
23520 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23521 PyObject
*resultobj
= 0;
23522 wxDC
*arg1
= (wxDC
*) 0 ;
23526 PyObject
*swig_obj
[1] ;
23528 if (!args
) SWIG_fail
;
23529 swig_obj
[0] = args
;
23530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23531 if (!SWIG_IsOK(res1
)) {
23532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23534 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 result
= (int)((wxDC
const *)arg1
)->MinY();
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23541 resultobj
= SWIG_From_int(static_cast< int >(result
));
23548 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23549 PyObject
*resultobj
= 0;
23550 wxDC
*arg1
= (wxDC
*) 0 ;
23554 PyObject
*swig_obj
[1] ;
23556 if (!args
) SWIG_fail
;
23557 swig_obj
[0] = args
;
23558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23559 if (!SWIG_IsOK(res1
)) {
23560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23562 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 result
= (int)((wxDC
const *)arg1
)->MaxY();
23566 wxPyEndAllowThreads(__tstate
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23569 resultobj
= SWIG_From_int(static_cast< int >(result
));
23576 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23577 PyObject
*resultobj
= 0;
23578 wxDC
*arg1
= (wxDC
*) 0 ;
23579 int *arg2
= (int *) 0 ;
23580 int *arg3
= (int *) 0 ;
23581 int *arg4
= (int *) 0 ;
23582 int *arg5
= (int *) 0 ;
23586 int res2
= SWIG_TMPOBJ
;
23588 int res3
= SWIG_TMPOBJ
;
23590 int res4
= SWIG_TMPOBJ
;
23592 int res5
= SWIG_TMPOBJ
;
23593 PyObject
*swig_obj
[1] ;
23599 if (!args
) SWIG_fail
;
23600 swig_obj
[0] = args
;
23601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23602 if (!SWIG_IsOK(res1
)) {
23603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23605 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= SWIG_Py_Void();
23613 if (SWIG_IsTmpObj(res2
)) {
23614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23616 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23619 if (SWIG_IsTmpObj(res3
)) {
23620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23622 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23625 if (SWIG_IsTmpObj(res4
)) {
23626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23628 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23629 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23631 if (SWIG_IsTmpObj(res5
)) {
23632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23634 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23643 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23644 PyObject
*resultobj
= 0;
23645 wxDC
*arg1
= (wxDC
*) 0 ;
23646 wxLayoutDirection result
;
23649 PyObject
*swig_obj
[1] ;
23651 if (!args
) SWIG_fail
;
23652 swig_obj
[0] = args
;
23653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23654 if (!SWIG_IsOK(res1
)) {
23655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23660 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23661 wxPyEndAllowThreads(__tstate
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23664 resultobj
= SWIG_From_int(static_cast< int >(result
));
23671 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
= 0;
23673 wxDC
*arg1
= (wxDC
*) 0 ;
23674 wxLayoutDirection arg2
;
23679 PyObject
* obj0
= 0 ;
23680 PyObject
* obj1
= 0 ;
23681 char * kwnames
[] = {
23682 (char *) "self",(char *) "dir", NULL
23685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23687 if (!SWIG_IsOK(res1
)) {
23688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23692 if (!SWIG_IsOK(ecode2
)) {
23693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23695 arg2
= static_cast< wxLayoutDirection
>(val2
);
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 (arg1
)->SetLayoutDirection(arg2
);
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 resultobj
= SWIG_Py_Void();
23709 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23710 PyObject
*resultobj
= 0;
23711 wxDC
*arg1
= (wxDC
*) 0 ;
23715 PyObject
*swig_obj
[1] ;
23717 if (!args
) SWIG_fail
;
23718 swig_obj
[0] = args
;
23719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23720 if (!SWIG_IsOK(res1
)) {
23721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23723 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23726 result
= (long)(arg1
)->GetHDC();
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= SWIG_From_long(static_cast< long >(result
));
23737 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23738 PyObject
*resultobj
= 0;
23739 wxDC
*arg1
= (wxDC
*) 0 ;
23740 PyObject
*arg2
= (PyObject
*) 0 ;
23741 PyObject
*arg3
= (PyObject
*) 0 ;
23742 PyObject
*arg4
= (PyObject
*) 0 ;
23743 PyObject
*result
= 0 ;
23746 PyObject
* obj0
= 0 ;
23747 PyObject
* obj1
= 0 ;
23748 PyObject
* obj2
= 0 ;
23749 PyObject
* obj3
= 0 ;
23750 char * kwnames
[] = {
23751 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23756 if (!SWIG_IsOK(res1
)) {
23757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23759 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23766 wxPyEndAllowThreads(__tstate
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23769 resultobj
= result
;
23776 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23777 PyObject
*resultobj
= 0;
23778 wxDC
*arg1
= (wxDC
*) 0 ;
23779 PyObject
*arg2
= (PyObject
*) 0 ;
23780 PyObject
*arg3
= (PyObject
*) 0 ;
23781 PyObject
*arg4
= (PyObject
*) 0 ;
23782 PyObject
*result
= 0 ;
23785 PyObject
* obj0
= 0 ;
23786 PyObject
* obj1
= 0 ;
23787 PyObject
* obj2
= 0 ;
23788 PyObject
* obj3
= 0 ;
23789 char * kwnames
[] = {
23790 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23795 if (!SWIG_IsOK(res1
)) {
23796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23798 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23805 wxPyEndAllowThreads(__tstate
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 resultobj
= result
;
23815 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23816 PyObject
*resultobj
= 0;
23817 wxDC
*arg1
= (wxDC
*) 0 ;
23818 PyObject
*arg2
= (PyObject
*) 0 ;
23819 PyObject
*arg3
= (PyObject
*) 0 ;
23820 PyObject
*arg4
= (PyObject
*) 0 ;
23821 PyObject
*result
= 0 ;
23824 PyObject
* obj0
= 0 ;
23825 PyObject
* obj1
= 0 ;
23826 PyObject
* obj2
= 0 ;
23827 PyObject
* obj3
= 0 ;
23828 char * kwnames
[] = {
23829 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23834 if (!SWIG_IsOK(res1
)) {
23835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23837 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23847 resultobj
= result
;
23854 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23855 PyObject
*resultobj
= 0;
23856 wxDC
*arg1
= (wxDC
*) 0 ;
23857 PyObject
*arg2
= (PyObject
*) 0 ;
23858 PyObject
*arg3
= (PyObject
*) 0 ;
23859 PyObject
*arg4
= (PyObject
*) 0 ;
23860 PyObject
*result
= 0 ;
23863 PyObject
* obj0
= 0 ;
23864 PyObject
* obj1
= 0 ;
23865 PyObject
* obj2
= 0 ;
23866 PyObject
* obj3
= 0 ;
23867 char * kwnames
[] = {
23868 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23873 if (!SWIG_IsOK(res1
)) {
23874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23876 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 resultobj
= result
;
23893 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23894 PyObject
*resultobj
= 0;
23895 wxDC
*arg1
= (wxDC
*) 0 ;
23896 PyObject
*arg2
= (PyObject
*) 0 ;
23897 PyObject
*arg3
= (PyObject
*) 0 ;
23898 PyObject
*arg4
= (PyObject
*) 0 ;
23899 PyObject
*result
= 0 ;
23902 PyObject
* obj0
= 0 ;
23903 PyObject
* obj1
= 0 ;
23904 PyObject
* obj2
= 0 ;
23905 PyObject
* obj3
= 0 ;
23906 char * kwnames
[] = {
23907 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23912 if (!SWIG_IsOK(res1
)) {
23913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23915 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23921 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23925 resultobj
= result
;
23932 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
= 0;
23934 wxDC
*arg1
= (wxDC
*) 0 ;
23935 PyObject
*arg2
= (PyObject
*) 0 ;
23936 PyObject
*arg3
= (PyObject
*) 0 ;
23937 PyObject
*arg4
= (PyObject
*) 0 ;
23938 PyObject
*arg5
= (PyObject
*) 0 ;
23939 PyObject
*result
= 0 ;
23942 PyObject
* obj0
= 0 ;
23943 PyObject
* obj1
= 0 ;
23944 PyObject
* obj2
= 0 ;
23945 PyObject
* obj3
= 0 ;
23946 PyObject
* obj4
= 0 ;
23947 char * kwnames
[] = {
23948 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23953 if (!SWIG_IsOK(res1
)) {
23954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23956 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23967 resultobj
= result
;
23974 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23976 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23977 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23978 return SWIG_Py_Void();
23981 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
= 0;
23984 wxColour
*arg2
= 0 ;
23985 wxDCTextColourChanger
*result
= 0 ;
23989 PyObject
* obj0
= 0 ;
23990 PyObject
* obj1
= 0 ;
23991 char * kwnames
[] = {
23992 (char *) "dc",(char *) "col", NULL
23995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23996 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23997 if (!SWIG_IsOK(res1
)) {
23998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24003 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24006 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24010 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
24011 wxPyEndAllowThreads(__tstate
);
24012 if (PyErr_Occurred()) SWIG_fail
;
24014 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
24021 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24022 PyObject
*resultobj
= 0;
24023 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
24026 PyObject
*swig_obj
[1] ;
24028 if (!args
) SWIG_fail
;
24029 swig_obj
[0] = args
;
24030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
24031 if (!SWIG_IsOK(res1
)) {
24032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
24034 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 wxPyEndAllowThreads(__tstate
);
24040 if (PyErr_Occurred()) SWIG_fail
;
24042 resultobj
= SWIG_Py_Void();
24049 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24052 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
24053 return SWIG_Py_Void();
24056 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24057 return SWIG_Python_InitShadowInstance(args
);
24060 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
= 0;
24064 wxDCPenChanger
*result
= 0 ;
24069 PyObject
* obj0
= 0 ;
24070 PyObject
* obj1
= 0 ;
24071 char * kwnames
[] = {
24072 (char *) "dc",(char *) "pen", NULL
24075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24076 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24077 if (!SWIG_IsOK(res1
)) {
24078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24083 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
24085 if (!SWIG_IsOK(res2
)) {
24086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
24091 arg2
= reinterpret_cast< wxPen
* >(argp2
);
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
24095 wxPyEndAllowThreads(__tstate
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
24105 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24106 PyObject
*resultobj
= 0;
24107 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
24110 PyObject
*swig_obj
[1] ;
24112 if (!args
) SWIG_fail
;
24113 swig_obj
[0] = args
;
24114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
24115 if (!SWIG_IsOK(res1
)) {
24116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
24118 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24126 resultobj
= SWIG_Py_Void();
24133 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24136 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
24137 return SWIG_Py_Void();
24140 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24141 return SWIG_Python_InitShadowInstance(args
);
24144 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24145 PyObject
*resultobj
= 0;
24147 wxBrush
*arg2
= 0 ;
24148 wxDCBrushChanger
*result
= 0 ;
24153 PyObject
* obj0
= 0 ;
24154 PyObject
* obj1
= 0 ;
24155 char * kwnames
[] = {
24156 (char *) "dc",(char *) "brush", NULL
24159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24160 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24161 if (!SWIG_IsOK(res1
)) {
24162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
24167 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24168 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
24169 if (!SWIG_IsOK(res2
)) {
24170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24175 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24189 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24190 PyObject
*resultobj
= 0;
24191 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24194 PyObject
*swig_obj
[1] ;
24196 if (!args
) SWIG_fail
;
24197 swig_obj
[0] = args
;
24198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24199 if (!SWIG_IsOK(res1
)) {
24200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24202 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24210 resultobj
= SWIG_Py_Void();
24217 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24220 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24221 return SWIG_Py_Void();
24224 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24225 return SWIG_Python_InitShadowInstance(args
);
24228 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24229 PyObject
*resultobj
= 0;
24231 wxRegion
*arg2
= 0 ;
24232 wxDCClipper
*result
= 0 ;
24238 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24240 if (!SWIG_IsOK(res1
)) {
24241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24246 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24247 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24248 if (!SWIG_IsOK(res2
)) {
24249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24254 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24268 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24269 PyObject
*resultobj
= 0;
24272 wxDCClipper
*result
= 0 ;
24277 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24279 if (!SWIG_IsOK(res1
)) {
24280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24285 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24288 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24303 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24304 PyObject
*resultobj
= 0;
24310 wxDCClipper
*result
= 0 ;
24322 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24324 if (!SWIG_IsOK(res1
)) {
24325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24331 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24332 if (!SWIG_IsOK(ecode2
)) {
24333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24335 arg2
= static_cast< int >(val2
);
24336 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24337 if (!SWIG_IsOK(ecode3
)) {
24338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24340 arg3
= static_cast< int >(val3
);
24341 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24342 if (!SWIG_IsOK(ecode4
)) {
24343 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24345 arg4
= static_cast< int >(val4
);
24346 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24347 if (!SWIG_IsOK(ecode5
)) {
24348 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24350 arg5
= static_cast< int >(val5
);
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24364 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24368 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24373 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24374 _v
= SWIG_CheckState(res
);
24376 if (!_v
) goto check_1
;
24377 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24382 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24385 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24389 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24394 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24395 PyObject
*resultobj
= 0;
24396 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24399 PyObject
*swig_obj
[1] ;
24401 if (!args
) SWIG_fail
;
24402 swig_obj
[0] = args
;
24403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24404 if (!SWIG_IsOK(res1
)) {
24405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24407 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24412 wxPyEndAllowThreads(__tstate
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24415 resultobj
= SWIG_Py_Void();
24422 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24424 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24425 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24426 return SWIG_Py_Void();
24429 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24430 return SWIG_Python_InitShadowInstance(args
);
24433 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
= 0;
24435 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24436 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24437 wxMemoryDC
*result
= 0 ;
24440 PyObject
* obj0
= 0 ;
24441 char * kwnames
[] = {
24442 (char *) "bitmap", NULL
24445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24447 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24448 if (!SWIG_IsOK(res1
)) {
24449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
24452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
24454 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24457 if (!wxPyCheckForApp()) SWIG_fail
;
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24470 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
= 0;
24472 wxDC
*arg1
= (wxDC
*) 0 ;
24473 wxMemoryDC
*result
= 0 ;
24476 PyObject
* obj0
= 0 ;
24477 char * kwnames
[] = {
24478 (char *) "oldDC", NULL
24481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24483 if (!SWIG_IsOK(res1
)) {
24484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24486 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24488 if (!wxPyCheckForApp()) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24501 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
= 0;
24503 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24504 wxBitmap
*arg2
= 0 ;
24509 PyObject
* obj0
= 0 ;
24510 PyObject
* obj1
= 0 ;
24511 char * kwnames
[] = {
24512 (char *) "self",(char *) "bitmap", NULL
24515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24517 if (!SWIG_IsOK(res1
)) {
24518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24520 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24521 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24522 if (!SWIG_IsOK(res2
)) {
24523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24528 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
24532 wxPyEndAllowThreads(__tstate
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24535 resultobj
= SWIG_Py_Void();
24542 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24545 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24546 return SWIG_Py_Void();
24549 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24550 return SWIG_Python_InitShadowInstance(args
);
24553 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24554 PyObject
*resultobj
= 0;
24555 wxScreenDC
*result
= 0 ;
24557 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24559 if (!wxPyCheckForApp()) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= (wxScreenDC
*)new wxScreenDC();
24562 wxPyEndAllowThreads(__tstate
);
24563 if (PyErr_Occurred()) SWIG_fail
;
24565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24572 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24573 PyObject
*resultobj
= 0;
24574 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24575 wxWindow
*arg2
= (wxWindow
*) 0 ;
24581 PyObject
* obj0
= 0 ;
24582 PyObject
* obj1
= 0 ;
24583 char * kwnames
[] = {
24584 (char *) "self",(char *) "window", NULL
24587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24589 if (!SWIG_IsOK(res1
)) {
24590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24592 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24594 if (!SWIG_IsOK(res2
)) {
24595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24601 wxPyEndAllowThreads(__tstate
);
24602 if (PyErr_Occurred()) SWIG_fail
;
24605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24613 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24614 PyObject
*resultobj
= 0;
24615 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24616 wxRect
*arg2
= (wxRect
*) NULL
;
24622 PyObject
* obj0
= 0 ;
24623 PyObject
* obj1
= 0 ;
24624 char * kwnames
[] = {
24625 (char *) "self",(char *) "rect", NULL
24628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24630 if (!SWIG_IsOK(res1
)) {
24631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24633 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24635 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24636 if (!SWIG_IsOK(res2
)) {
24637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24639 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24656 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24657 PyObject
*resultobj
= 0;
24658 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24662 PyObject
*swig_obj
[1] ;
24664 if (!args
) SWIG_fail
;
24665 swig_obj
[0] = args
;
24666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24667 if (!SWIG_IsOK(res1
)) {
24668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24670 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 result
= (bool)(arg1
)->EndDrawingOnTop();
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24686 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24689 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24690 return SWIG_Py_Void();
24693 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24694 return SWIG_Python_InitShadowInstance(args
);
24697 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24698 PyObject
*resultobj
= 0;
24699 wxWindow
*arg1
= (wxWindow
*) 0 ;
24700 wxWindowDC
*result
= 0 ;
24703 PyObject
* obj0
= 0 ;
24704 char * kwnames
[] = {
24705 (char *) "win", NULL
24708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24710 if (!SWIG_IsOK(res1
)) {
24711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24713 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24715 if (!wxPyCheckForApp()) SWIG_fail
;
24716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24717 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24718 wxPyEndAllowThreads(__tstate
);
24719 if (PyErr_Occurred()) SWIG_fail
;
24721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24728 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24730 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24731 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24732 return SWIG_Py_Void();
24735 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24736 return SWIG_Python_InitShadowInstance(args
);
24739 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
= 0;
24741 wxWindow
*arg1
= (wxWindow
*) 0 ;
24742 wxClientDC
*result
= 0 ;
24745 PyObject
* obj0
= 0 ;
24746 char * kwnames
[] = {
24747 (char *) "win", NULL
24750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24752 if (!SWIG_IsOK(res1
)) {
24753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24755 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24757 if (!wxPyCheckForApp()) SWIG_fail
;
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= (wxClientDC
*)new wxClientDC(arg1
);
24760 wxPyEndAllowThreads(__tstate
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24770 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24773 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24774 return SWIG_Py_Void();
24777 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24778 return SWIG_Python_InitShadowInstance(args
);
24781 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24782 PyObject
*resultobj
= 0;
24783 wxWindow
*arg1
= (wxWindow
*) 0 ;
24784 wxPaintDC
*result
= 0 ;
24787 PyObject
* obj0
= 0 ;
24788 char * kwnames
[] = {
24789 (char *) "win", NULL
24792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24794 if (!SWIG_IsOK(res1
)) {
24795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24797 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24799 if (!wxPyCheckForApp()) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24802 wxPyEndAllowThreads(__tstate
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24812 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24815 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24816 return SWIG_Py_Void();
24819 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24820 return SWIG_Python_InitShadowInstance(args
);
24823 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24824 PyObject
*resultobj
= 0;
24825 wxDC
*arg1
= (wxDC
*) 0 ;
24826 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
24827 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24828 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24829 wxBufferedDC
*result
= 0 ;
24837 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24839 if (!SWIG_IsOK(res1
)) {
24840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24844 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24845 if (!SWIG_IsOK(res2
)) {
24846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24851 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24854 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24855 if (!SWIG_IsOK(ecode3
)) {
24856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24858 arg3
= static_cast< int >(val3
);
24861 if (!wxPyCheckForApp()) SWIG_fail
;
24862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24863 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
24864 wxPyEndAllowThreads(__tstate
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24874 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24875 PyObject
*resultobj
= 0;
24876 wxDC
*arg1
= (wxDC
*) 0 ;
24878 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24879 wxBufferedDC
*result
= 0 ;
24886 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24888 if (!SWIG_IsOK(res1
)) {
24889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24891 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24894 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24897 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24898 if (!SWIG_IsOK(ecode3
)) {
24899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24901 arg3
= static_cast< int >(val3
);
24904 if (!wxPyCheckForApp()) SWIG_fail
;
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24907 wxPyEndAllowThreads(__tstate
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24917 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24921 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24923 if ((argc
>= 1) && (argc
<= 3)) {
24927 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
24928 _v
= SWIG_CheckState(res
);
24930 if (!_v
) goto check_1
;
24932 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24936 if ((argc
>= 2) && (argc
<= 3)) {
24937 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24941 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24946 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24947 PyObject
*resultobj
= 0;
24948 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24951 PyObject
*swig_obj
[1] ;
24953 if (!args
) SWIG_fail
;
24954 swig_obj
[0] = args
;
24955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24956 if (!SWIG_IsOK(res1
)) {
24957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24959 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24967 resultobj
= SWIG_Py_Void();
24974 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24975 PyObject
*resultobj
= 0;
24976 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24979 PyObject
*swig_obj
[1] ;
24981 if (!args
) SWIG_fail
;
24982 swig_obj
[0] = args
;
24983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24984 if (!SWIG_IsOK(res1
)) {
24985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24987 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24994 resultobj
= SWIG_Py_Void();
25001 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25003 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25004 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
25005 return SWIG_Py_Void();
25008 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25009 return SWIG_Python_InitShadowInstance(args
);
25012 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25013 PyObject
*resultobj
= 0;
25014 wxWindow
*arg1
= (wxWindow
*) 0 ;
25015 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
25016 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
25017 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
25018 wxBufferedPaintDC
*result
= 0 ;
25025 PyObject
* obj0
= 0 ;
25026 PyObject
* obj1
= 0 ;
25027 PyObject
* obj2
= 0 ;
25028 char * kwnames
[] = {
25029 (char *) "window",(char *) "buffer",(char *) "style", NULL
25032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25034 if (!SWIG_IsOK(res1
)) {
25035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25037 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25040 if (!SWIG_IsOK(res2
)) {
25041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25046 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25049 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25050 if (!SWIG_IsOK(ecode3
)) {
25051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
25053 arg3
= static_cast< int >(val3
);
25056 if (!wxPyCheckForApp()) SWIG_fail
;
25057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25058 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25069 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25071 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25072 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25073 return SWIG_Py_Void();
25076 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25077 return SWIG_Python_InitShadowInstance(args
);
25080 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
= 0;
25082 wxWindow
*arg1
= (wxWindow
*) 0 ;
25083 wxAutoBufferedPaintDC
*result
= 0 ;
25086 PyObject
* obj0
= 0 ;
25087 char * kwnames
[] = {
25088 (char *) "win", NULL
25091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25093 if (!SWIG_IsOK(res1
)) {
25094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25096 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25099 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25100 wxPyEndAllowThreads(__tstate
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25110 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25112 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25113 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25114 return SWIG_Py_Void();
25117 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25118 return SWIG_Python_InitShadowInstance(args
);
25121 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25122 PyObject
*resultobj
= 0;
25123 wxWindow
*arg1
= (wxWindow
*) 0 ;
25127 PyObject
* obj0
= 0 ;
25128 char * kwnames
[] = {
25129 (char *) "window", NULL
25132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25134 if (!SWIG_IsOK(res1
)) {
25135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25137 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25140 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25145 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25153 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
= 0;
25157 wxMirrorDC
*result
= 0 ;
25162 PyObject
* obj0
= 0 ;
25163 PyObject
* obj1
= 0 ;
25164 char * kwnames
[] = {
25165 (char *) "dc",(char *) "mirror", NULL
25168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25169 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25170 if (!SWIG_IsOK(res1
)) {
25171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25176 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25177 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25178 if (!SWIG_IsOK(ecode2
)) {
25179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25181 arg2
= static_cast< bool >(val2
);
25183 if (!wxPyCheckForApp()) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25196 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25199 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25200 return SWIG_Py_Void();
25203 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25204 return SWIG_Python_InitShadowInstance(args
);
25207 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25208 PyObject
*resultobj
= 0;
25209 wxPrintData
*arg1
= 0 ;
25210 wxPostScriptDC
*result
= 0 ;
25213 PyObject
* obj0
= 0 ;
25214 char * kwnames
[] = {
25215 (char *) "printData", NULL
25218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25219 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25220 if (!SWIG_IsOK(res1
)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25226 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25228 if (!wxPyCheckForApp()) SWIG_fail
;
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25231 wxPyEndAllowThreads(__tstate
);
25232 if (PyErr_Occurred()) SWIG_fail
;
25234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25241 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25242 PyObject
*resultobj
= 0;
25243 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25244 wxPrintData
*result
= 0 ;
25247 PyObject
*swig_obj
[1] ;
25249 if (!args
) SWIG_fail
;
25250 swig_obj
[0] = args
;
25251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25252 if (!SWIG_IsOK(res1
)) {
25253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25255 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25259 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25260 result
= (wxPrintData
*) &_result_ref
;
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25272 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
= 0;
25274 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25275 wxPrintData
*arg2
= 0 ;
25280 PyObject
* obj0
= 0 ;
25281 PyObject
* obj1
= 0 ;
25282 char * kwnames
[] = {
25283 (char *) "self",(char *) "data", NULL
25286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25288 if (!SWIG_IsOK(res1
)) {
25289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25291 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25292 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25293 if (!SWIG_IsOK(res2
)) {
25294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25299 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25306 resultobj
= SWIG_Py_Void();
25313 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25314 PyObject
*resultobj
= 0;
25318 PyObject
* obj0
= 0 ;
25319 char * kwnames
[] = {
25320 (char *) "ppi", NULL
25323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25324 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25325 if (!SWIG_IsOK(ecode1
)) {
25326 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25328 arg1
= static_cast< int >(val1
);
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 wxPostScriptDC::SetResolution(arg1
);
25332 wxPyEndAllowThreads(__tstate
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25335 resultobj
= SWIG_Py_Void();
25342 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25343 PyObject
*resultobj
= 0;
25346 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25349 result
= (int)wxPostScriptDC::GetResolution();
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25353 resultobj
= SWIG_From_int(static_cast< int >(result
));
25360 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25363 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25364 return SWIG_Py_Void();
25367 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25368 return SWIG_Python_InitShadowInstance(args
);
25371 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25372 PyObject
*resultobj
= 0;
25373 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25374 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25375 wxMetaFile
*result
= 0 ;
25376 bool temp1
= false ;
25377 PyObject
* obj0
= 0 ;
25378 char * kwnames
[] = {
25379 (char *) "filename", NULL
25382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25385 arg1
= wxString_in_helper(obj0
);
25386 if (arg1
== NULL
) SWIG_fail
;
25391 if (!wxPyCheckForApp()) SWIG_fail
;
25392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25393 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25394 wxPyEndAllowThreads(__tstate
);
25395 if (PyErr_Occurred()) SWIG_fail
;
25397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25412 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25413 PyObject
*resultobj
= 0;
25414 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25417 PyObject
*swig_obj
[1] ;
25419 if (!args
) SWIG_fail
;
25420 swig_obj
[0] = args
;
25421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25422 if (!SWIG_IsOK(res1
)) {
25423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25425 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 wxPyEndAllowThreads(__tstate
);
25431 if (PyErr_Occurred()) SWIG_fail
;
25433 resultobj
= SWIG_Py_Void();
25440 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25441 PyObject
*resultobj
= 0;
25442 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25446 PyObject
*swig_obj
[1] ;
25448 if (!args
) SWIG_fail
;
25449 swig_obj
[0] = args
;
25450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25451 if (!SWIG_IsOK(res1
)) {
25452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25454 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 result
= (bool)(arg1
)->IsOk();
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25470 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25471 PyObject
*resultobj
= 0;
25472 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25473 int arg2
= (int) 0 ;
25474 int arg3
= (int) 0 ;
25482 PyObject
* obj0
= 0 ;
25483 PyObject
* obj1
= 0 ;
25484 PyObject
* obj2
= 0 ;
25485 char * kwnames
[] = {
25486 (char *) "self",(char *) "width",(char *) "height", NULL
25489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25491 if (!SWIG_IsOK(res1
)) {
25492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25494 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25497 if (!SWIG_IsOK(ecode2
)) {
25498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25500 arg2
= static_cast< int >(val2
);
25503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25504 if (!SWIG_IsOK(ecode3
)) {
25505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25507 arg3
= static_cast< int >(val3
);
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25511 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25524 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25525 PyObject
*resultobj
= 0;
25526 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25530 PyObject
*swig_obj
[1] ;
25532 if (!args
) SWIG_fail
;
25533 swig_obj
[0] = args
;
25534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25535 if (!SWIG_IsOK(res1
)) {
25536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25538 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 result
= (arg1
)->GetSize();
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25552 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25553 PyObject
*resultobj
= 0;
25554 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25558 PyObject
*swig_obj
[1] ;
25560 if (!args
) SWIG_fail
;
25561 swig_obj
[0] = args
;
25562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25563 if (!SWIG_IsOK(res1
)) {
25564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25566 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25569 result
= (int)(arg1
)->GetWidth();
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25573 resultobj
= SWIG_From_int(static_cast< int >(result
));
25580 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25581 PyObject
*resultobj
= 0;
25582 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25586 PyObject
*swig_obj
[1] ;
25588 if (!args
) SWIG_fail
;
25589 swig_obj
[0] = args
;
25590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25591 if (!SWIG_IsOK(res1
)) {
25592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25594 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25597 result
= (int)(arg1
)->GetHeight();
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25601 resultobj
= SWIG_From_int(static_cast< int >(result
));
25608 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25609 PyObject
*resultobj
= 0;
25610 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25611 wxString
*result
= 0 ;
25614 PyObject
*swig_obj
[1] ;
25616 if (!args
) SWIG_fail
;
25617 swig_obj
[0] = args
;
25618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25619 if (!SWIG_IsOK(res1
)) {
25620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
25622 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
25627 result
= (wxString
*) &_result_ref
;
25629 wxPyEndAllowThreads(__tstate
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25634 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25636 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25645 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25647 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25648 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25649 return SWIG_Py_Void();
25652 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25653 return SWIG_Python_InitShadowInstance(args
);
25656 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25657 PyObject
*resultobj
= 0;
25658 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25659 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25660 int arg2
= (int) 0 ;
25661 int arg3
= (int) 0 ;
25662 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25663 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25664 wxMetaFileDC
*result
= 0 ;
25665 bool temp1
= false ;
25670 bool temp4
= false ;
25671 PyObject
* obj0
= 0 ;
25672 PyObject
* obj1
= 0 ;
25673 PyObject
* obj2
= 0 ;
25674 PyObject
* obj3
= 0 ;
25675 char * kwnames
[] = {
25676 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25682 arg1
= wxString_in_helper(obj0
);
25683 if (arg1
== NULL
) SWIG_fail
;
25688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25689 if (!SWIG_IsOK(ecode2
)) {
25690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25692 arg2
= static_cast< int >(val2
);
25695 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25696 if (!SWIG_IsOK(ecode3
)) {
25697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25699 arg3
= static_cast< int >(val3
);
25703 arg4
= wxString_in_helper(obj3
);
25704 if (arg4
== NULL
) SWIG_fail
;
25709 if (!wxPyCheckForApp()) SWIG_fail
;
25710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25711 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25738 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25739 PyObject
*resultobj
= 0;
25740 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25741 wxMetaFile
*result
= 0 ;
25744 PyObject
*swig_obj
[1] ;
25746 if (!args
) SWIG_fail
;
25747 swig_obj
[0] = args
;
25748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25749 if (!SWIG_IsOK(res1
)) {
25750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25752 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25755 result
= (wxMetaFile
*)(arg1
)->Close();
25756 wxPyEndAllowThreads(__tstate
);
25757 if (PyErr_Occurred()) SWIG_fail
;
25759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25766 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25769 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25770 return SWIG_Py_Void();
25773 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25774 return SWIG_Python_InitShadowInstance(args
);
25777 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25778 PyObject
*resultobj
= 0;
25779 wxPrintData
*arg1
= 0 ;
25780 wxPrinterDC
*result
= 0 ;
25783 PyObject
* obj0
= 0 ;
25784 char * kwnames
[] = {
25785 (char *) "printData", NULL
25788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25789 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25790 if (!SWIG_IsOK(res1
)) {
25791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25796 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25798 if (!wxPyCheckForApp()) SWIG_fail
;
25799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25800 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25801 wxPyEndAllowThreads(__tstate
);
25802 if (PyErr_Occurred()) SWIG_fail
;
25804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25811 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25814 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25815 return SWIG_Py_Void();
25818 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25819 return SWIG_Python_InitShadowInstance(args
);
25822 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25823 PyObject
*resultobj
= 0;
25824 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25825 wxGraphicsObject
*result
= 0 ;
25828 PyObject
* obj0
= 0 ;
25829 char * kwnames
[] = {
25830 (char *) "renderer", NULL
25833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25836 if (!SWIG_IsOK(res1
)) {
25837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25839 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25842 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25852 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25853 PyObject
*resultobj
= 0;
25854 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25857 PyObject
*swig_obj
[1] ;
25859 if (!args
) SWIG_fail
;
25860 swig_obj
[0] = args
;
25861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25862 if (!SWIG_IsOK(res1
)) {
25863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25865 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25871 resultobj
= SWIG_Py_Void();
25878 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25879 PyObject
*resultobj
= 0;
25880 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25884 PyObject
*swig_obj
[1] ;
25886 if (!args
) SWIG_fail
;
25887 swig_obj
[0] = args
;
25888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25889 if (!SWIG_IsOK(res1
)) {
25890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25892 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25894 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25895 if (PyErr_Occurred()) SWIG_fail
;
25898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25906 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25907 PyObject
*resultobj
= 0;
25908 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25909 wxGraphicsRenderer
*result
= 0 ;
25912 PyObject
*swig_obj
[1] ;
25914 if (!args
) SWIG_fail
;
25915 swig_obj
[0] = args
;
25916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25917 if (!SWIG_IsOK(res1
)) {
25918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25920 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25922 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25923 if (PyErr_Occurred()) SWIG_fail
;
25925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25932 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25934 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25935 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25936 return SWIG_Py_Void();
25939 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25940 return SWIG_Python_InitShadowInstance(args
);
25943 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25944 PyObject
*resultobj
= 0;
25945 wxGraphicsPen
*result
= 0 ;
25947 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25949 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25950 if (PyErr_Occurred()) SWIG_fail
;
25952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25959 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25960 PyObject
*resultobj
= 0;
25961 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25964 PyObject
*swig_obj
[1] ;
25966 if (!args
) SWIG_fail
;
25967 swig_obj
[0] = args
;
25968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25969 if (!SWIG_IsOK(res1
)) {
25970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25972 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25978 resultobj
= SWIG_Py_Void();
25985 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25988 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25989 return SWIG_Py_Void();
25992 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25993 return SWIG_Python_InitShadowInstance(args
);
25996 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25997 PyObject
*resultobj
= 0;
25998 wxGraphicsBrush
*result
= 0 ;
26000 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
26002 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
26003 if (PyErr_Occurred()) SWIG_fail
;
26005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
26012 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26013 PyObject
*resultobj
= 0;
26014 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
26017 PyObject
*swig_obj
[1] ;
26019 if (!args
) SWIG_fail
;
26020 swig_obj
[0] = args
;
26021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
26022 if (!SWIG_IsOK(res1
)) {
26023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
26025 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
26029 if (PyErr_Occurred()) SWIG_fail
;
26031 resultobj
= SWIG_Py_Void();
26038 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26041 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
26042 return SWIG_Py_Void();
26045 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26046 return SWIG_Python_InitShadowInstance(args
);
26049 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26050 PyObject
*resultobj
= 0;
26051 wxGraphicsFont
*result
= 0 ;
26053 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
26055 result
= (wxGraphicsFont
*)new wxGraphicsFont();
26056 if (PyErr_Occurred()) SWIG_fail
;
26058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
26065 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26066 PyObject
*resultobj
= 0;
26067 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
26070 PyObject
*swig_obj
[1] ;
26072 if (!args
) SWIG_fail
;
26073 swig_obj
[0] = args
;
26074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
26075 if (!SWIG_IsOK(res1
)) {
26076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
26078 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
26082 if (PyErr_Occurred()) SWIG_fail
;
26084 resultobj
= SWIG_Py_Void();
26091 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26094 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
26095 return SWIG_Py_Void();
26098 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26099 return SWIG_Python_InitShadowInstance(args
);
26102 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
26103 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
26108 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
26109 PyObject
*pyobj
= 0;
26111 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
26116 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
26117 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
26122 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
26123 PyObject
*pyobj
= 0;
26125 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
26130 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
26131 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
26136 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
26137 PyObject
*pyobj
= 0;
26139 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
26144 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26145 PyObject
*resultobj
= 0;
26146 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26149 PyObject
*swig_obj
[1] ;
26151 if (!args
) SWIG_fail
;
26152 swig_obj
[0] = args
;
26153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26154 if (!SWIG_IsOK(res1
)) {
26155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26157 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26163 resultobj
= SWIG_Py_Void();
26170 SWIGINTERN PyObject
*_wrap_GraphicsPath_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26171 PyObject
*resultobj
= 0;
26172 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26173 wxGraphicsPath
*result
= 0 ;
26176 PyObject
*swig_obj
[1] ;
26178 if (!args
) SWIG_fail
;
26179 swig_obj
[0] = args
;
26180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26181 if (!SWIG_IsOK(res1
)) {
26182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Clone" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26184 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26186 result
= (wxGraphicsPath
*)((wxGraphicsPath
const *)arg1
)->Clone();
26187 if (PyErr_Occurred()) SWIG_fail
;
26189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26196 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26197 PyObject
*resultobj
= 0;
26198 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26208 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26210 if (!SWIG_IsOK(res1
)) {
26211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26213 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26214 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26215 if (!SWIG_IsOK(ecode2
)) {
26216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26218 arg2
= static_cast< wxDouble
>(val2
);
26219 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26220 if (!SWIG_IsOK(ecode3
)) {
26221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26223 arg3
= static_cast< wxDouble
>(val3
);
26225 (arg1
)->MoveToPoint(arg2
,arg3
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26228 resultobj
= SWIG_Py_Void();
26235 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26236 PyObject
*resultobj
= 0;
26237 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26238 wxPoint2D
*arg2
= 0 ;
26243 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26245 if (!SWIG_IsOK(res1
)) {
26246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26248 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26251 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26254 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26257 resultobj
= SWIG_Py_Void();
26264 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26268 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26271 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26274 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26278 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26283 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26284 PyObject
*resultobj
= 0;
26285 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26295 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26297 if (!SWIG_IsOK(res1
)) {
26298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26300 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26301 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26302 if (!SWIG_IsOK(ecode2
)) {
26303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26305 arg2
= static_cast< wxDouble
>(val2
);
26306 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26307 if (!SWIG_IsOK(ecode3
)) {
26308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26310 arg3
= static_cast< wxDouble
>(val3
);
26312 (arg1
)->AddLineToPoint(arg2
,arg3
);
26313 if (PyErr_Occurred()) SWIG_fail
;
26315 resultobj
= SWIG_Py_Void();
26322 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26323 PyObject
*resultobj
= 0;
26324 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26325 wxPoint2D
*arg2
= 0 ;
26330 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26332 if (!SWIG_IsOK(res1
)) {
26333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26335 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26338 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26341 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26344 resultobj
= SWIG_Py_Void();
26351 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26355 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26358 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26361 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26365 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26370 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26371 PyObject
*resultobj
= 0;
26372 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26394 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26396 if (!SWIG_IsOK(res1
)) {
26397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26399 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26400 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26401 if (!SWIG_IsOK(ecode2
)) {
26402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26404 arg2
= static_cast< wxDouble
>(val2
);
26405 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26406 if (!SWIG_IsOK(ecode3
)) {
26407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26409 arg3
= static_cast< wxDouble
>(val3
);
26410 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26411 if (!SWIG_IsOK(ecode4
)) {
26412 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26414 arg4
= static_cast< wxDouble
>(val4
);
26415 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26416 if (!SWIG_IsOK(ecode5
)) {
26417 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26419 arg5
= static_cast< wxDouble
>(val5
);
26420 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26421 if (!SWIG_IsOK(ecode6
)) {
26422 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26424 arg6
= static_cast< wxDouble
>(val6
);
26425 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26426 if (!SWIG_IsOK(ecode7
)) {
26427 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26429 arg7
= static_cast< wxDouble
>(val7
);
26431 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26434 resultobj
= SWIG_Py_Void();
26441 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26442 PyObject
*resultobj
= 0;
26443 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26444 wxPoint2D
*arg2
= 0 ;
26445 wxPoint2D
*arg3
= 0 ;
26446 wxPoint2D
*arg4
= 0 ;
26453 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26455 if (!SWIG_IsOK(res1
)) {
26456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26458 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26461 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26465 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26469 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26472 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26473 if (PyErr_Occurred()) SWIG_fail
;
26475 resultobj
= SWIG_Py_Void();
26482 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26486 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26489 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26492 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26496 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26501 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26502 PyObject
*resultobj
= 0;
26503 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26504 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
26509 PyObject
* obj0
= 0 ;
26510 PyObject
* obj1
= 0 ;
26511 char * kwnames
[] = {
26512 (char *) "self",(char *) "path", NULL
26515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26517 if (!SWIG_IsOK(res1
)) {
26518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26520 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26521 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26522 if (!SWIG_IsOK(res2
)) {
26523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
26525 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26527 (arg1
)->AddPath((wxGraphicsPath
const *)arg2
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 resultobj
= SWIG_Py_Void();
26537 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26538 PyObject
*resultobj
= 0;
26539 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26542 PyObject
*swig_obj
[1] ;
26544 if (!args
) SWIG_fail
;
26545 swig_obj
[0] = args
;
26546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26547 if (!SWIG_IsOK(res1
)) {
26548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26550 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26552 (arg1
)->CloseSubpath();
26553 if (PyErr_Occurred()) SWIG_fail
;
26555 resultobj
= SWIG_Py_Void();
26562 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26563 PyObject
*resultobj
= 0;
26564 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26568 PyObject
*swig_obj
[1] ;
26570 if (!args
) SWIG_fail
;
26571 swig_obj
[0] = args
;
26572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26573 if (!SWIG_IsOK(res1
)) {
26574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26576 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26578 result
= (arg1
)->GetCurrentPoint();
26579 if (PyErr_Occurred()) SWIG_fail
;
26581 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26588 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26589 PyObject
*resultobj
= 0;
26590 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26612 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26614 if (!SWIG_IsOK(res1
)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26617 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26618 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26619 if (!SWIG_IsOK(ecode2
)) {
26620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26622 arg2
= static_cast< wxDouble
>(val2
);
26623 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26624 if (!SWIG_IsOK(ecode3
)) {
26625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26627 arg3
= static_cast< wxDouble
>(val3
);
26628 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26629 if (!SWIG_IsOK(ecode4
)) {
26630 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26632 arg4
= static_cast< wxDouble
>(val4
);
26633 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26634 if (!SWIG_IsOK(ecode5
)) {
26635 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26637 arg5
= static_cast< wxDouble
>(val5
);
26638 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26639 if (!SWIG_IsOK(ecode6
)) {
26640 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26642 arg6
= static_cast< wxDouble
>(val6
);
26643 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26644 if (!SWIG_IsOK(ecode7
)) {
26645 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26647 arg7
= static_cast< bool >(val7
);
26649 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26652 resultobj
= SWIG_Py_Void();
26659 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26660 PyObject
*resultobj
= 0;
26661 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26662 wxPoint2D
*arg2
= 0 ;
26679 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26681 if (!SWIG_IsOK(res1
)) {
26682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26684 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26687 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26689 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26690 if (!SWIG_IsOK(ecode3
)) {
26691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26693 arg3
= static_cast< wxDouble
>(val3
);
26694 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26695 if (!SWIG_IsOK(ecode4
)) {
26696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26698 arg4
= static_cast< wxDouble
>(val4
);
26699 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26700 if (!SWIG_IsOK(ecode5
)) {
26701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26703 arg5
= static_cast< wxDouble
>(val5
);
26704 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26705 if (!SWIG_IsOK(ecode6
)) {
26706 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26708 arg6
= static_cast< bool >(val6
);
26710 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26713 resultobj
= SWIG_Py_Void();
26720 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26724 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26727 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26730 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26734 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26739 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
= 0;
26741 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26756 PyObject
* obj0
= 0 ;
26757 PyObject
* obj1
= 0 ;
26758 PyObject
* obj2
= 0 ;
26759 PyObject
* obj3
= 0 ;
26760 PyObject
* obj4
= 0 ;
26761 char * kwnames
[] = {
26762 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26767 if (!SWIG_IsOK(res1
)) {
26768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26770 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26771 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26772 if (!SWIG_IsOK(ecode2
)) {
26773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26775 arg2
= static_cast< wxDouble
>(val2
);
26776 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26777 if (!SWIG_IsOK(ecode3
)) {
26778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26780 arg3
= static_cast< wxDouble
>(val3
);
26781 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26782 if (!SWIG_IsOK(ecode4
)) {
26783 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26785 arg4
= static_cast< wxDouble
>(val4
);
26786 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26787 if (!SWIG_IsOK(ecode5
)) {
26788 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26790 arg5
= static_cast< wxDouble
>(val5
);
26792 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26795 resultobj
= SWIG_Py_Void();
26802 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26803 PyObject
*resultobj
= 0;
26804 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26819 PyObject
* obj0
= 0 ;
26820 PyObject
* obj1
= 0 ;
26821 PyObject
* obj2
= 0 ;
26822 PyObject
* obj3
= 0 ;
26823 PyObject
* obj4
= 0 ;
26824 char * kwnames
[] = {
26825 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26830 if (!SWIG_IsOK(res1
)) {
26831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26833 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26834 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26835 if (!SWIG_IsOK(ecode2
)) {
26836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26838 arg2
= static_cast< wxDouble
>(val2
);
26839 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26840 if (!SWIG_IsOK(ecode3
)) {
26841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26843 arg3
= static_cast< wxDouble
>(val3
);
26844 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26845 if (!SWIG_IsOK(ecode4
)) {
26846 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26848 arg4
= static_cast< wxDouble
>(val4
);
26849 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26850 if (!SWIG_IsOK(ecode5
)) {
26851 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26853 arg5
= static_cast< wxDouble
>(val5
);
26855 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26858 resultobj
= SWIG_Py_Void();
26865 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26866 PyObject
*resultobj
= 0;
26867 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26879 PyObject
* obj0
= 0 ;
26880 PyObject
* obj1
= 0 ;
26881 PyObject
* obj2
= 0 ;
26882 PyObject
* obj3
= 0 ;
26883 char * kwnames
[] = {
26884 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
26887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26889 if (!SWIG_IsOK(res1
)) {
26890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26892 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26893 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26894 if (!SWIG_IsOK(ecode2
)) {
26895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
26897 arg2
= static_cast< wxDouble
>(val2
);
26898 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26899 if (!SWIG_IsOK(ecode3
)) {
26900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
26902 arg3
= static_cast< wxDouble
>(val3
);
26903 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26904 if (!SWIG_IsOK(ecode4
)) {
26905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
26907 arg4
= static_cast< wxDouble
>(val4
);
26909 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
26910 if (PyErr_Occurred()) SWIG_fail
;
26912 resultobj
= SWIG_Py_Void();
26919 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26920 PyObject
*resultobj
= 0;
26921 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26939 PyObject
* obj0
= 0 ;
26940 PyObject
* obj1
= 0 ;
26941 PyObject
* obj2
= 0 ;
26942 PyObject
* obj3
= 0 ;
26943 PyObject
* obj4
= 0 ;
26944 PyObject
* obj5
= 0 ;
26945 char * kwnames
[] = {
26946 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
26949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26951 if (!SWIG_IsOK(res1
)) {
26952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26954 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26955 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26956 if (!SWIG_IsOK(ecode2
)) {
26957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26959 arg2
= static_cast< wxDouble
>(val2
);
26960 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26961 if (!SWIG_IsOK(ecode3
)) {
26962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26964 arg3
= static_cast< wxDouble
>(val3
);
26965 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26966 if (!SWIG_IsOK(ecode4
)) {
26967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26969 arg4
= static_cast< wxDouble
>(val4
);
26970 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26971 if (!SWIG_IsOK(ecode5
)) {
26972 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26974 arg5
= static_cast< wxDouble
>(val5
);
26975 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26976 if (!SWIG_IsOK(ecode6
)) {
26977 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26979 arg6
= static_cast< wxDouble
>(val6
);
26981 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
26982 if (PyErr_Occurred()) SWIG_fail
;
26984 resultobj
= SWIG_Py_Void();
26991 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26992 PyObject
*resultobj
= 0;
26993 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27008 PyObject
* obj0
= 0 ;
27009 PyObject
* obj1
= 0 ;
27010 PyObject
* obj2
= 0 ;
27011 PyObject
* obj3
= 0 ;
27012 PyObject
* obj4
= 0 ;
27013 char * kwnames
[] = {
27014 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27019 if (!SWIG_IsOK(res1
)) {
27020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27022 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27023 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27024 if (!SWIG_IsOK(ecode2
)) {
27025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27027 arg2
= static_cast< wxDouble
>(val2
);
27028 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27029 if (!SWIG_IsOK(ecode3
)) {
27030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27032 arg3
= static_cast< wxDouble
>(val3
);
27033 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27034 if (!SWIG_IsOK(ecode4
)) {
27035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27037 arg4
= static_cast< wxDouble
>(val4
);
27038 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27039 if (!SWIG_IsOK(ecode5
)) {
27040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27042 arg5
= static_cast< wxDouble
>(val5
);
27044 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 resultobj
= SWIG_Py_Void();
27054 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27055 PyObject
*resultobj
= 0;
27056 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27074 PyObject
* obj0
= 0 ;
27075 PyObject
* obj1
= 0 ;
27076 PyObject
* obj2
= 0 ;
27077 PyObject
* obj3
= 0 ;
27078 PyObject
* obj4
= 0 ;
27079 PyObject
* obj5
= 0 ;
27080 char * kwnames
[] = {
27081 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27086 if (!SWIG_IsOK(res1
)) {
27087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27089 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27090 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27091 if (!SWIG_IsOK(ecode2
)) {
27092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27094 arg2
= static_cast< wxDouble
>(val2
);
27095 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27096 if (!SWIG_IsOK(ecode3
)) {
27097 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27099 arg3
= static_cast< wxDouble
>(val3
);
27100 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27101 if (!SWIG_IsOK(ecode4
)) {
27102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27104 arg4
= static_cast< wxDouble
>(val4
);
27105 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27106 if (!SWIG_IsOK(ecode5
)) {
27107 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27109 arg5
= static_cast< wxDouble
>(val5
);
27110 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27111 if (!SWIG_IsOK(ecode6
)) {
27112 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27114 arg6
= static_cast< wxDouble
>(val6
);
27116 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27119 resultobj
= SWIG_Py_Void();
27126 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27127 PyObject
*resultobj
= 0;
27128 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27132 PyObject
*swig_obj
[1] ;
27134 if (!args
) SWIG_fail
;
27135 swig_obj
[0] = args
;
27136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27137 if (!SWIG_IsOK(res1
)) {
27138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27140 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27142 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27143 if (PyErr_Occurred()) SWIG_fail
;
27145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27152 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
= 0;
27154 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27155 void *arg2
= (void *) 0 ;
27159 PyObject
* obj0
= 0 ;
27160 PyObject
* obj1
= 0 ;
27161 char * kwnames
[] = {
27162 (char *) "self",(char *) "p", NULL
27165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27167 if (!SWIG_IsOK(res1
)) {
27168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27170 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27171 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27172 if (!SWIG_IsOK(res2
)) {
27173 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27176 (arg1
)->UnGetNativePath(arg2
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 resultobj
= SWIG_Py_Void();
27186 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27187 PyObject
*resultobj
= 0;
27188 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27189 wxGraphicsMatrix
*arg2
= (wxGraphicsMatrix
*) 0 ;
27194 PyObject
* obj0
= 0 ;
27195 PyObject
* obj1
= 0 ;
27196 char * kwnames
[] = {
27197 (char *) "self",(char *) "matrix", NULL
27200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27202 if (!SWIG_IsOK(res1
)) {
27203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27205 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27207 if (!SWIG_IsOK(res2
)) {
27208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix *""'");
27210 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27212 (arg1
)->Transform(arg2
);
27213 if (PyErr_Occurred()) SWIG_fail
;
27215 resultobj
= SWIG_Py_Void();
27222 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27223 PyObject
*resultobj
= 0;
27224 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27225 wxRect2DDouble result
;
27228 PyObject
*swig_obj
[1] ;
27230 if (!args
) SWIG_fail
;
27231 swig_obj
[0] = args
;
27232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27233 if (!SWIG_IsOK(res1
)) {
27234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27236 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27238 result
= (arg1
)->GetBox();
27239 if (PyErr_Occurred()) SWIG_fail
;
27241 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27248 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27249 PyObject
*resultobj
= 0;
27250 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27253 int arg4
= (int) wxWINDING_RULE
;
27264 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27266 if (!SWIG_IsOK(res1
)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27269 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27270 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27271 if (!SWIG_IsOK(ecode2
)) {
27272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27274 arg2
= static_cast< wxDouble
>(val2
);
27275 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27276 if (!SWIG_IsOK(ecode3
)) {
27277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27279 arg3
= static_cast< wxDouble
>(val3
);
27281 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27282 if (!SWIG_IsOK(ecode4
)) {
27283 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27285 arg4
= static_cast< int >(val4
);
27288 result
= (bool)(arg1
)->Contains(arg2
,arg3
,arg4
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27300 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27301 PyObject
*resultobj
= 0;
27302 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27303 wxPoint2DDouble
*arg2
= 0 ;
27304 int arg3
= (int) wxWINDING_RULE
;
27313 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27315 if (!SWIG_IsOK(res1
)) {
27316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27318 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27319 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27320 if (!SWIG_IsOK(res2
)) {
27321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27326 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27328 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27329 if (!SWIG_IsOK(ecode3
)) {
27330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27332 arg3
= static_cast< int >(val3
);
27335 result
= (bool)(arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27336 if (PyErr_Occurred()) SWIG_fail
;
27339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27347 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27351 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27353 if ((argc
>= 2) && (argc
<= 3)) {
27356 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27357 _v
= SWIG_CheckState(res
);
27359 if (!_v
) goto check_1
;
27363 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27364 _v
= SWIG_CheckState(res
);
27367 if (!_v
) goto check_1
;
27369 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27373 if ((argc
>= 3) && (argc
<= 4)) {
27374 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27378 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27383 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27386 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27387 return SWIG_Py_Void();
27390 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27391 PyObject
*resultobj
= 0;
27392 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27395 PyObject
*swig_obj
[1] ;
27397 if (!args
) SWIG_fail
;
27398 swig_obj
[0] = args
;
27399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
27400 if (!SWIG_IsOK(res1
)) {
27401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27403 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27407 if (PyErr_Occurred()) SWIG_fail
;
27409 resultobj
= SWIG_Py_Void();
27416 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27417 PyObject
*resultobj
= 0;
27418 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27419 wxGraphicsMatrix
*result
= 0 ;
27422 PyObject
*swig_obj
[1] ;
27424 if (!args
) SWIG_fail
;
27425 swig_obj
[0] = args
;
27426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27427 if (!SWIG_IsOK(res1
)) {
27428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Clone" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27430 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27432 result
= (wxGraphicsMatrix
*)((wxGraphicsMatrix
const *)arg1
)->Clone();
27433 if (PyErr_Occurred()) SWIG_fail
;
27435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27442 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27443 PyObject
*resultobj
= 0;
27444 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27445 wxGraphicsMatrix
*arg2
= (wxGraphicsMatrix
*) 0 ;
27450 PyObject
* obj0
= 0 ;
27451 PyObject
* obj1
= 0 ;
27452 char * kwnames
[] = {
27453 (char *) "self",(char *) "t", NULL
27456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27458 if (!SWIG_IsOK(res1
)) {
27459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27461 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27462 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27463 if (!SWIG_IsOK(res2
)) {
27464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const *""'");
27466 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27468 (arg1
)->Concat((wxGraphicsMatrix
const *)arg2
);
27469 if (PyErr_Occurred()) SWIG_fail
;
27471 resultobj
= SWIG_Py_Void();
27478 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27479 PyObject
*resultobj
= 0;
27480 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27481 wxGraphicsMatrix
*arg2
= (wxGraphicsMatrix
*) 0 ;
27486 PyObject
* obj0
= 0 ;
27487 PyObject
* obj1
= 0 ;
27488 char * kwnames
[] = {
27489 (char *) "self",(char *) "t", NULL
27492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Copy",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27494 if (!SWIG_IsOK(res1
)) {
27495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27497 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27498 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27499 if (!SWIG_IsOK(res2
)) {
27500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Copy" "', expected argument " "2"" of type '" "wxGraphicsMatrix const *""'");
27502 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27504 (arg1
)->Copy((wxGraphicsMatrix
const *)arg2
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27507 resultobj
= SWIG_Py_Void();
27514 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27515 PyObject
*resultobj
= 0;
27516 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27517 wxDouble arg2
= (wxDouble
) 1.0 ;
27518 wxDouble arg3
= (wxDouble
) 0.0 ;
27519 wxDouble arg4
= (wxDouble
) 0.0 ;
27520 wxDouble arg5
= (wxDouble
) 1.0 ;
27521 wxDouble arg6
= (wxDouble
) 0.0 ;
27522 wxDouble arg7
= (wxDouble
) 0.0 ;
27537 PyObject
* obj0
= 0 ;
27538 PyObject
* obj1
= 0 ;
27539 PyObject
* obj2
= 0 ;
27540 PyObject
* obj3
= 0 ;
27541 PyObject
* obj4
= 0 ;
27542 PyObject
* obj5
= 0 ;
27543 PyObject
* obj6
= 0 ;
27544 char * kwnames
[] = {
27545 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
27548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27550 if (!SWIG_IsOK(res1
)) {
27551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27553 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27555 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27556 if (!SWIG_IsOK(ecode2
)) {
27557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
27559 arg2
= static_cast< wxDouble
>(val2
);
27562 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27563 if (!SWIG_IsOK(ecode3
)) {
27564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
27566 arg3
= static_cast< wxDouble
>(val3
);
27569 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27570 if (!SWIG_IsOK(ecode4
)) {
27571 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
27573 arg4
= static_cast< wxDouble
>(val4
);
27576 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27577 if (!SWIG_IsOK(ecode5
)) {
27578 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
27580 arg5
= static_cast< wxDouble
>(val5
);
27583 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27584 if (!SWIG_IsOK(ecode6
)) {
27585 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
27587 arg6
= static_cast< wxDouble
>(val6
);
27590 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
27591 if (!SWIG_IsOK(ecode7
)) {
27592 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
27594 arg7
= static_cast< wxDouble
>(val7
);
27597 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27600 resultobj
= SWIG_Py_Void();
27607 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27608 PyObject
*resultobj
= 0;
27609 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27612 PyObject
*swig_obj
[1] ;
27614 if (!args
) SWIG_fail
;
27615 swig_obj
[0] = args
;
27616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27617 if (!SWIG_IsOK(res1
)) {
27618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27620 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27625 resultobj
= SWIG_Py_Void();
27632 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27633 PyObject
*resultobj
= 0;
27634 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27635 wxGraphicsMatrix
*arg2
= (wxGraphicsMatrix
*) 0 ;
27641 PyObject
* obj0
= 0 ;
27642 PyObject
* obj1
= 0 ;
27643 char * kwnames
[] = {
27644 (char *) "self",(char *) "t", NULL
27647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27649 if (!SWIG_IsOK(res1
)) {
27650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27652 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27653 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27654 if (!SWIG_IsOK(res2
)) {
27655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const *""'");
27657 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27659 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const *)arg2
);
27660 if (PyErr_Occurred()) SWIG_fail
;
27663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27671 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27672 PyObject
*resultobj
= 0;
27673 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27677 PyObject
*swig_obj
[1] ;
27679 if (!args
) SWIG_fail
;
27680 swig_obj
[0] = args
;
27681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27682 if (!SWIG_IsOK(res1
)) {
27683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27685 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27687 result
= (bool)(arg1
)->IsIdentity();
27688 if (PyErr_Occurred()) SWIG_fail
;
27691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27699 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27700 PyObject
*resultobj
= 0;
27701 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27710 PyObject
* obj0
= 0 ;
27711 PyObject
* obj1
= 0 ;
27712 PyObject
* obj2
= 0 ;
27713 char * kwnames
[] = {
27714 (char *) "self",(char *) "dx",(char *) "dy", NULL
27717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27719 if (!SWIG_IsOK(res1
)) {
27720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27722 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27723 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27724 if (!SWIG_IsOK(ecode2
)) {
27725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
27727 arg2
= static_cast< wxDouble
>(val2
);
27728 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27729 if (!SWIG_IsOK(ecode3
)) {
27730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
27732 arg3
= static_cast< wxDouble
>(val3
);
27734 (arg1
)->Translate(arg2
,arg3
);
27735 if (PyErr_Occurred()) SWIG_fail
;
27737 resultobj
= SWIG_Py_Void();
27744 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27745 PyObject
*resultobj
= 0;
27746 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27755 PyObject
* obj0
= 0 ;
27756 PyObject
* obj1
= 0 ;
27757 PyObject
* obj2
= 0 ;
27758 char * kwnames
[] = {
27759 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
27762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27764 if (!SWIG_IsOK(res1
)) {
27765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27767 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27768 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27769 if (!SWIG_IsOK(ecode2
)) {
27770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
27772 arg2
= static_cast< wxDouble
>(val2
);
27773 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27774 if (!SWIG_IsOK(ecode3
)) {
27775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
27777 arg3
= static_cast< wxDouble
>(val3
);
27779 (arg1
)->Scale(arg2
,arg3
);
27780 if (PyErr_Occurred()) SWIG_fail
;
27782 resultobj
= SWIG_Py_Void();
27789 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27790 PyObject
*resultobj
= 0;
27791 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27797 PyObject
* obj0
= 0 ;
27798 PyObject
* obj1
= 0 ;
27799 char * kwnames
[] = {
27800 (char *) "self",(char *) "angle", NULL
27803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27805 if (!SWIG_IsOK(res1
)) {
27806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27808 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27809 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27810 if (!SWIG_IsOK(ecode2
)) {
27811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
27813 arg2
= static_cast< wxDouble
>(val2
);
27815 (arg1
)->Rotate(arg2
);
27816 if (PyErr_Occurred()) SWIG_fail
;
27818 resultobj
= SWIG_Py_Void();
27825 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27826 PyObject
*resultobj
= 0;
27827 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27828 wxDouble
*arg2
= (wxDouble
*) 0 ;
27829 wxDouble
*arg3
= (wxDouble
*) 0 ;
27836 PyObject
* obj0
= 0 ;
27837 PyObject
* obj1
= 0 ;
27838 PyObject
* obj2
= 0 ;
27839 char * kwnames
[] = {
27840 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
27843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27845 if (!SWIG_IsOK(res1
)) {
27846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27848 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27849 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
27851 int ecode
= SWIG_AsVal_double(obj1
, &val
);
27852 if (!SWIG_IsOK(ecode
)) {
27853 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27855 temp2
= static_cast< wxDouble
>(val
);
27857 res2
= SWIG_AddTmpMask(ecode
);
27859 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
27861 int ecode
= SWIG_AsVal_double(obj2
, &val
);
27862 if (!SWIG_IsOK(ecode
)) {
27863 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27865 temp3
= static_cast< wxDouble
>(val
);
27867 res3
= SWIG_AddTmpMask(ecode
);
27870 (arg1
)->TransformPoint(arg2
,arg3
);
27871 if (PyErr_Occurred()) SWIG_fail
;
27873 resultobj
= SWIG_Py_Void();
27874 if (SWIG_IsTmpObj(res2
)) {
27875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
27877 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
27880 if (SWIG_IsTmpObj(res3
)) {
27881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
27883 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
27892 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27893 PyObject
*resultobj
= 0;
27894 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27895 wxDouble
*arg2
= (wxDouble
*) 0 ;
27896 wxDouble
*arg3
= (wxDouble
*) 0 ;
27903 PyObject
* obj0
= 0 ;
27904 PyObject
* obj1
= 0 ;
27905 PyObject
* obj2
= 0 ;
27906 char * kwnames
[] = {
27907 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
27910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27912 if (!SWIG_IsOK(res1
)) {
27913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
27915 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27916 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
27918 int ecode
= SWIG_AsVal_double(obj1
, &val
);
27919 if (!SWIG_IsOK(ecode
)) {
27920 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
27922 temp2
= static_cast< wxDouble
>(val
);
27924 res2
= SWIG_AddTmpMask(ecode
);
27926 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
27928 int ecode
= SWIG_AsVal_double(obj2
, &val
);
27929 if (!SWIG_IsOK(ecode
)) {
27930 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
27932 temp3
= static_cast< wxDouble
>(val
);
27934 res3
= SWIG_AddTmpMask(ecode
);
27937 (arg1
)->TransformDistance(arg2
,arg3
);
27938 if (PyErr_Occurred()) SWIG_fail
;
27940 resultobj
= SWIG_Py_Void();
27941 if (SWIG_IsTmpObj(res2
)) {
27942 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
27944 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27945 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
27947 if (SWIG_IsTmpObj(res3
)) {
27948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
27950 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
27959 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27960 PyObject
*resultobj
= 0;
27961 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
27965 PyObject
*swig_obj
[1] ;
27967 if (!args
) SWIG_fail
;
27968 swig_obj
[0] = args
;
27969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
27970 if (!SWIG_IsOK(res1
)) {
27971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
27973 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
27975 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
27976 if (PyErr_Occurred()) SWIG_fail
;
27978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27985 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27988 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
27989 return SWIG_Py_Void();
27992 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27993 PyObject
*resultobj
= 0;
27994 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27997 PyObject
*swig_obj
[1] ;
27999 if (!args
) SWIG_fail
;
28000 swig_obj
[0] = args
;
28001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
28002 if (!SWIG_IsOK(res1
)) {
28003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28005 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28011 resultobj
= SWIG_Py_Void();
28018 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28019 PyObject
*resultobj
= 0;
28020 wxWindowDC
*arg1
= 0 ;
28021 wxGraphicsContext
*result
= 0 ;
28025 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
28027 if (!SWIG_IsOK(res1
)) {
28028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28031 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
28033 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
28035 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
28036 if (PyErr_Occurred()) SWIG_fail
;
28038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28045 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28046 PyObject
*resultobj
= 0;
28047 wxWindow
*arg1
= (wxWindow
*) 0 ;
28048 wxGraphicsContext
*result
= 0 ;
28052 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28054 if (!SWIG_IsOK(res1
)) {
28055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28057 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28059 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28069 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28073 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28078 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28079 _v
= SWIG_CheckState(res
);
28081 if (!_v
) goto check_1
;
28082 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28087 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28091 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28096 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28097 PyObject
*resultobj
= 0;
28098 void *arg1
= (void *) 0 ;
28099 wxGraphicsContext
*result
= 0 ;
28101 PyObject
* obj0
= 0 ;
28102 char * kwnames
[] = {
28103 (char *) "context", NULL
28106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28107 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28108 if (!SWIG_IsOK(res1
)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28112 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28122 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28123 PyObject
*resultobj
= 0;
28124 void *arg1
= (void *) 0 ;
28125 wxGraphicsContext
*result
= 0 ;
28127 PyObject
* obj0
= 0 ;
28128 char * kwnames
[] = {
28129 (char *) "window", NULL
28132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28133 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28134 if (!SWIG_IsOK(res1
)) {
28135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28138 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28139 if (PyErr_Occurred()) SWIG_fail
;
28141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28148 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28149 PyObject
*resultobj
= 0;
28150 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28151 wxGraphicsPath
*result
= 0 ;
28154 PyObject
*swig_obj
[1] ;
28156 if (!args
) SWIG_fail
;
28157 swig_obj
[0] = args
;
28158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28159 if (!SWIG_IsOK(res1
)) {
28160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28162 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28164 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
28165 if (PyErr_Occurred()) SWIG_fail
;
28167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28174 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28175 PyObject
*resultobj
= 0;
28176 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28178 wxGraphicsPen result
;
28183 PyObject
* obj0
= 0 ;
28184 PyObject
* obj1
= 0 ;
28185 char * kwnames
[] = {
28186 (char *) "self",(char *) "pen", NULL
28189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28191 if (!SWIG_IsOK(res1
)) {
28192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28194 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28195 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28196 if (!SWIG_IsOK(res2
)) {
28197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28202 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28204 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28207 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28214 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28215 PyObject
*resultobj
= 0;
28216 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28217 wxBrush
*arg2
= 0 ;
28218 wxGraphicsBrush result
;
28223 PyObject
* obj0
= 0 ;
28224 PyObject
* obj1
= 0 ;
28225 char * kwnames
[] = {
28226 (char *) "self",(char *) "brush", NULL
28229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28231 if (!SWIG_IsOK(res1
)) {
28232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28234 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28235 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28236 if (!SWIG_IsOK(res2
)) {
28237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28242 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28244 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28245 if (PyErr_Occurred()) SWIG_fail
;
28247 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28254 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28255 PyObject
*resultobj
= 0;
28256 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28261 wxColour
*arg6
= 0 ;
28262 wxColour
*arg7
= 0 ;
28263 wxGraphicsBrush result
;
28276 PyObject
* obj0
= 0 ;
28277 PyObject
* obj1
= 0 ;
28278 PyObject
* obj2
= 0 ;
28279 PyObject
* obj3
= 0 ;
28280 PyObject
* obj4
= 0 ;
28281 PyObject
* obj5
= 0 ;
28282 PyObject
* obj6
= 0 ;
28283 char * kwnames
[] = {
28284 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28289 if (!SWIG_IsOK(res1
)) {
28290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28292 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28293 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28294 if (!SWIG_IsOK(ecode2
)) {
28295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28297 arg2
= static_cast< wxDouble
>(val2
);
28298 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28299 if (!SWIG_IsOK(ecode3
)) {
28300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28302 arg3
= static_cast< wxDouble
>(val3
);
28303 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28304 if (!SWIG_IsOK(ecode4
)) {
28305 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28307 arg4
= static_cast< wxDouble
>(val4
);
28308 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28309 if (!SWIG_IsOK(ecode5
)) {
28310 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28312 arg5
= static_cast< wxDouble
>(val5
);
28315 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28319 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28322 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28323 if (PyErr_Occurred()) SWIG_fail
;
28325 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28332 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28333 PyObject
*resultobj
= 0;
28334 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28340 wxColour
*arg7
= 0 ;
28341 wxColour
*arg8
= 0 ;
28342 wxGraphicsBrush result
;
28357 PyObject
* obj0
= 0 ;
28358 PyObject
* obj1
= 0 ;
28359 PyObject
* obj2
= 0 ;
28360 PyObject
* obj3
= 0 ;
28361 PyObject
* obj4
= 0 ;
28362 PyObject
* obj5
= 0 ;
28363 PyObject
* obj6
= 0 ;
28364 PyObject
* obj7
= 0 ;
28365 char * kwnames
[] = {
28366 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28371 if (!SWIG_IsOK(res1
)) {
28372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28374 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28375 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28376 if (!SWIG_IsOK(ecode2
)) {
28377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28379 arg2
= static_cast< wxDouble
>(val2
);
28380 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28381 if (!SWIG_IsOK(ecode3
)) {
28382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28384 arg3
= static_cast< wxDouble
>(val3
);
28385 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28386 if (!SWIG_IsOK(ecode4
)) {
28387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28389 arg4
= static_cast< wxDouble
>(val4
);
28390 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28391 if (!SWIG_IsOK(ecode5
)) {
28392 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28394 arg5
= static_cast< wxDouble
>(val5
);
28395 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28396 if (!SWIG_IsOK(ecode6
)) {
28397 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28399 arg6
= static_cast< wxDouble
>(val6
);
28402 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28406 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28409 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28410 if (PyErr_Occurred()) SWIG_fail
;
28412 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28419 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28420 PyObject
*resultobj
= 0;
28421 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28423 wxColour
const &arg3_defvalue
= *wxBLACK
;
28424 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28425 wxGraphicsFont result
;
28431 PyObject
* obj0
= 0 ;
28432 PyObject
* obj1
= 0 ;
28433 PyObject
* obj2
= 0 ;
28434 char * kwnames
[] = {
28435 (char *) "self",(char *) "font",(char *) "col", NULL
28438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28440 if (!SWIG_IsOK(res1
)) {
28441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28443 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28444 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28445 if (!SWIG_IsOK(res2
)) {
28446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28451 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28455 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28459 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28460 if (PyErr_Occurred()) SWIG_fail
;
28462 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28469 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28470 PyObject
*resultobj
= 0;
28471 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28472 wxDouble arg2
= (wxDouble
) 1.0 ;
28473 wxDouble arg3
= (wxDouble
) 0.0 ;
28474 wxDouble arg4
= (wxDouble
) 0.0 ;
28475 wxDouble arg5
= (wxDouble
) 1.0 ;
28476 wxDouble arg6
= (wxDouble
) 0.0 ;
28477 wxDouble arg7
= (wxDouble
) 0.0 ;
28478 wxGraphicsMatrix
*result
= 0 ;
28493 PyObject
* obj0
= 0 ;
28494 PyObject
* obj1
= 0 ;
28495 PyObject
* obj2
= 0 ;
28496 PyObject
* obj3
= 0 ;
28497 PyObject
* obj4
= 0 ;
28498 PyObject
* obj5
= 0 ;
28499 PyObject
* obj6
= 0 ;
28500 char * kwnames
[] = {
28501 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28506 if (!SWIG_IsOK(res1
)) {
28507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28509 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28511 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28512 if (!SWIG_IsOK(ecode2
)) {
28513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28515 arg2
= static_cast< wxDouble
>(val2
);
28518 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28519 if (!SWIG_IsOK(ecode3
)) {
28520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28522 arg3
= static_cast< wxDouble
>(val3
);
28525 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28526 if (!SWIG_IsOK(ecode4
)) {
28527 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28529 arg4
= static_cast< wxDouble
>(val4
);
28532 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28533 if (!SWIG_IsOK(ecode5
)) {
28534 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28536 arg5
= static_cast< wxDouble
>(val5
);
28539 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28540 if (!SWIG_IsOK(ecode6
)) {
28541 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28543 arg6
= static_cast< wxDouble
>(val6
);
28546 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28547 if (!SWIG_IsOK(ecode7
)) {
28548 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28550 arg7
= static_cast< wxDouble
>(val7
);
28553 result
= (wxGraphicsMatrix
*)(arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28554 if (PyErr_Occurred()) SWIG_fail
;
28556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28563 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28564 PyObject
*resultobj
= 0;
28565 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28568 PyObject
*swig_obj
[1] ;
28570 if (!args
) SWIG_fail
;
28571 swig_obj
[0] = args
;
28572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28573 if (!SWIG_IsOK(res1
)) {
28574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28576 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28578 (arg1
)->PushState();
28579 if (PyErr_Occurred()) SWIG_fail
;
28581 resultobj
= SWIG_Py_Void();
28588 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28589 PyObject
*resultobj
= 0;
28590 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28593 PyObject
*swig_obj
[1] ;
28595 if (!args
) SWIG_fail
;
28596 swig_obj
[0] = args
;
28597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28598 if (!SWIG_IsOK(res1
)) {
28599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28601 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28603 (arg1
)->PopState();
28604 if (PyErr_Occurred()) SWIG_fail
;
28606 resultobj
= SWIG_Py_Void();
28613 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28614 PyObject
*resultobj
= 0;
28615 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28616 wxRegion
*arg2
= 0 ;
28621 PyObject
* obj0
= 0 ;
28622 PyObject
* obj1
= 0 ;
28623 char * kwnames
[] = {
28624 (char *) "self",(char *) "region", NULL
28627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28629 if (!SWIG_IsOK(res1
)) {
28630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28632 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28633 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28634 if (!SWIG_IsOK(res2
)) {
28635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28640 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28642 (arg1
)->Clip((wxRegion
const &)*arg2
);
28643 if (PyErr_Occurred()) SWIG_fail
;
28645 resultobj
= SWIG_Py_Void();
28652 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28653 PyObject
*resultobj
= 0;
28654 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28669 PyObject
* obj0
= 0 ;
28670 PyObject
* obj1
= 0 ;
28671 PyObject
* obj2
= 0 ;
28672 PyObject
* obj3
= 0 ;
28673 PyObject
* obj4
= 0 ;
28674 char * kwnames
[] = {
28675 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28680 if (!SWIG_IsOK(res1
)) {
28681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28683 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28684 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28685 if (!SWIG_IsOK(ecode2
)) {
28686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28688 arg2
= static_cast< wxDouble
>(val2
);
28689 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28690 if (!SWIG_IsOK(ecode3
)) {
28691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28693 arg3
= static_cast< wxDouble
>(val3
);
28694 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28695 if (!SWIG_IsOK(ecode4
)) {
28696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28698 arg4
= static_cast< wxDouble
>(val4
);
28699 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28700 if (!SWIG_IsOK(ecode5
)) {
28701 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28703 arg5
= static_cast< wxDouble
>(val5
);
28705 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28708 resultobj
= SWIG_Py_Void();
28715 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28716 PyObject
*resultobj
= 0;
28717 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28720 PyObject
*swig_obj
[1] ;
28722 if (!args
) SWIG_fail
;
28723 swig_obj
[0] = args
;
28724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28725 if (!SWIG_IsOK(res1
)) {
28726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28728 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28730 (arg1
)->ResetClip();
28731 if (PyErr_Occurred()) SWIG_fail
;
28733 resultobj
= SWIG_Py_Void();
28740 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28741 PyObject
*resultobj
= 0;
28742 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28746 PyObject
*swig_obj
[1] ;
28748 if (!args
) SWIG_fail
;
28749 swig_obj
[0] = args
;
28750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28751 if (!SWIG_IsOK(res1
)) {
28752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28754 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28756 result
= (void *)(arg1
)->GetNativeContext();
28757 if (PyErr_Occurred()) SWIG_fail
;
28759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28766 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
= 0;
28768 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28777 PyObject
* obj0
= 0 ;
28778 PyObject
* obj1
= 0 ;
28779 PyObject
* obj2
= 0 ;
28780 char * kwnames
[] = {
28781 (char *) "self",(char *) "dx",(char *) "dy", NULL
28784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28786 if (!SWIG_IsOK(res1
)) {
28787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28789 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28790 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28791 if (!SWIG_IsOK(ecode2
)) {
28792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28794 arg2
= static_cast< wxDouble
>(val2
);
28795 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28796 if (!SWIG_IsOK(ecode3
)) {
28797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28799 arg3
= static_cast< wxDouble
>(val3
);
28801 (arg1
)->Translate(arg2
,arg3
);
28802 if (PyErr_Occurred()) SWIG_fail
;
28804 resultobj
= SWIG_Py_Void();
28811 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28812 PyObject
*resultobj
= 0;
28813 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28822 PyObject
* obj0
= 0 ;
28823 PyObject
* obj1
= 0 ;
28824 PyObject
* obj2
= 0 ;
28825 char * kwnames
[] = {
28826 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28831 if (!SWIG_IsOK(res1
)) {
28832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28834 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28835 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28836 if (!SWIG_IsOK(ecode2
)) {
28837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28839 arg2
= static_cast< wxDouble
>(val2
);
28840 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28841 if (!SWIG_IsOK(ecode3
)) {
28842 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28844 arg3
= static_cast< wxDouble
>(val3
);
28846 (arg1
)->Scale(arg2
,arg3
);
28847 if (PyErr_Occurred()) SWIG_fail
;
28849 resultobj
= SWIG_Py_Void();
28856 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28857 PyObject
*resultobj
= 0;
28858 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28864 PyObject
* obj0
= 0 ;
28865 PyObject
* obj1
= 0 ;
28866 char * kwnames
[] = {
28867 (char *) "self",(char *) "angle", NULL
28870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28872 if (!SWIG_IsOK(res1
)) {
28873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28875 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28876 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28877 if (!SWIG_IsOK(ecode2
)) {
28878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28880 arg2
= static_cast< wxDouble
>(val2
);
28882 (arg1
)->Rotate(arg2
);
28883 if (PyErr_Occurred()) SWIG_fail
;
28885 resultobj
= SWIG_Py_Void();
28892 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28893 PyObject
*resultobj
= 0;
28894 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28895 wxGraphicsPen
*arg2
= 0 ;
28901 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28903 if (!SWIG_IsOK(res1
)) {
28904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28906 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28907 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28908 if (!SWIG_IsOK(res2
)) {
28909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28914 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28916 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28919 resultobj
= SWIG_Py_Void();
28926 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28927 PyObject
*resultobj
= 0;
28928 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28935 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28937 if (!SWIG_IsOK(res1
)) {
28938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28940 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28941 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28942 if (!SWIG_IsOK(res2
)) {
28943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28948 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28950 (arg1
)->SetPen((wxPen
const &)*arg2
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28953 resultobj
= SWIG_Py_Void();
28960 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28964 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28969 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28970 _v
= SWIG_CheckState(res
);
28972 if (!_v
) goto check_1
;
28973 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28978 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28982 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28987 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28988 PyObject
*resultobj
= 0;
28989 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28990 wxGraphicsBrush
*arg2
= 0 ;
28996 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28998 if (!SWIG_IsOK(res1
)) {
28999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29001 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29002 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29003 if (!SWIG_IsOK(res2
)) {
29004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29009 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29011 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29014 resultobj
= SWIG_Py_Void();
29021 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29022 PyObject
*resultobj
= 0;
29023 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29024 wxBrush
*arg2
= 0 ;
29030 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29032 if (!SWIG_IsOK(res1
)) {
29033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29035 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29036 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29037 if (!SWIG_IsOK(res2
)) {
29038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29043 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29045 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29046 if (PyErr_Occurred()) SWIG_fail
;
29048 resultobj
= SWIG_Py_Void();
29055 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29059 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29064 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29065 _v
= SWIG_CheckState(res
);
29067 if (!_v
) goto check_1
;
29068 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29073 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29077 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29082 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29083 PyObject
*resultobj
= 0;
29084 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29085 wxGraphicsFont
*arg2
= 0 ;
29091 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29093 if (!SWIG_IsOK(res1
)) {
29094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29096 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29097 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29098 if (!SWIG_IsOK(res2
)) {
29099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29104 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29106 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29107 if (PyErr_Occurred()) SWIG_fail
;
29109 resultobj
= SWIG_Py_Void();
29116 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29117 PyObject
*resultobj
= 0;
29118 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29120 wxColour
const &arg3_defvalue
= *wxBLACK
;
29121 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29128 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29130 if (!SWIG_IsOK(res1
)) {
29131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29133 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29134 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29135 if (!SWIG_IsOK(res2
)) {
29136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29141 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29145 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29149 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29150 if (PyErr_Occurred()) SWIG_fail
;
29152 resultobj
= SWIG_Py_Void();
29159 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29163 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29168 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29169 _v
= SWIG_CheckState(res
);
29171 if (!_v
) goto check_1
;
29172 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29176 if ((argc
>= 2) && (argc
<= 3)) {
29177 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29181 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29186 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29187 PyObject
*resultobj
= 0;
29188 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29189 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
29194 PyObject
* obj0
= 0 ;
29195 PyObject
* obj1
= 0 ;
29196 char * kwnames
[] = {
29197 (char *) "self",(char *) "path", NULL
29200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29202 if (!SWIG_IsOK(res1
)) {
29203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29205 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
29207 if (!SWIG_IsOK(res2
)) {
29208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
29210 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29212 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
29213 if (PyErr_Occurred()) SWIG_fail
;
29215 resultobj
= SWIG_Py_Void();
29222 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29223 PyObject
*resultobj
= 0;
29224 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29225 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
29226 int arg3
= (int) wxWINDING_RULE
;
29233 PyObject
* obj0
= 0 ;
29234 PyObject
* obj1
= 0 ;
29235 PyObject
* obj2
= 0 ;
29236 char * kwnames
[] = {
29237 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29242 if (!SWIG_IsOK(res1
)) {
29243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29245 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29246 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
29247 if (!SWIG_IsOK(res2
)) {
29248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
29250 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29253 if (!SWIG_IsOK(ecode3
)) {
29254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29256 arg3
= static_cast< int >(val3
);
29259 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
29260 if (PyErr_Occurred()) SWIG_fail
;
29262 resultobj
= SWIG_Py_Void();
29269 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29270 PyObject
*resultobj
= 0;
29271 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29272 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
29273 int arg3
= (int) wxWINDING_RULE
;
29280 PyObject
* obj0
= 0 ;
29281 PyObject
* obj1
= 0 ;
29282 PyObject
* obj2
= 0 ;
29283 char * kwnames
[] = {
29284 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29289 if (!SWIG_IsOK(res1
)) {
29290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29292 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29293 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
29294 if (!SWIG_IsOK(res2
)) {
29295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
29297 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29300 if (!SWIG_IsOK(ecode3
)) {
29301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29303 arg3
= static_cast< int >(val3
);
29306 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
29307 if (PyErr_Occurred()) SWIG_fail
;
29309 resultobj
= SWIG_Py_Void();
29316 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29317 PyObject
*resultobj
= 0;
29318 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29319 wxString
*arg2
= 0 ;
29324 bool temp2
= false ;
29329 PyObject
* obj0
= 0 ;
29330 PyObject
* obj1
= 0 ;
29331 PyObject
* obj2
= 0 ;
29332 PyObject
* obj3
= 0 ;
29333 char * kwnames
[] = {
29334 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
29337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29339 if (!SWIG_IsOK(res1
)) {
29340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29342 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29344 arg2
= wxString_in_helper(obj1
);
29345 if (arg2
== NULL
) SWIG_fail
;
29348 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29349 if (!SWIG_IsOK(ecode3
)) {
29350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29352 arg3
= static_cast< wxDouble
>(val3
);
29353 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29354 if (!SWIG_IsOK(ecode4
)) {
29355 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29357 arg4
= static_cast< wxDouble
>(val4
);
29359 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
29360 if (PyErr_Occurred()) SWIG_fail
;
29362 resultobj
= SWIG_Py_Void();
29377 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29378 PyObject
*resultobj
= 0;
29379 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29380 wxString
*arg2
= 0 ;
29386 bool temp2
= false ;
29393 PyObject
* obj0
= 0 ;
29394 PyObject
* obj1
= 0 ;
29395 PyObject
* obj2
= 0 ;
29396 PyObject
* obj3
= 0 ;
29397 PyObject
* obj4
= 0 ;
29398 char * kwnames
[] = {
29399 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
29402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29404 if (!SWIG_IsOK(res1
)) {
29405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29407 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29409 arg2
= wxString_in_helper(obj1
);
29410 if (arg2
== NULL
) SWIG_fail
;
29413 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29414 if (!SWIG_IsOK(ecode3
)) {
29415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29417 arg3
= static_cast< wxDouble
>(val3
);
29418 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29419 if (!SWIG_IsOK(ecode4
)) {
29420 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29422 arg4
= static_cast< wxDouble
>(val4
);
29423 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29424 if (!SWIG_IsOK(ecode5
)) {
29425 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29427 arg5
= static_cast< wxDouble
>(val5
);
29429 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
29430 if (PyErr_Occurred()) SWIG_fail
;
29432 resultobj
= SWIG_Py_Void();
29447 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29448 PyObject
*resultobj
= 0;
29449 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29450 wxString
*arg2
= 0 ;
29451 wxDouble
*arg3
= (wxDouble
*) 0 ;
29452 wxDouble
*arg4
= (wxDouble
*) 0 ;
29453 wxDouble
*arg5
= (wxDouble
*) 0 ;
29454 wxDouble
*arg6
= (wxDouble
*) 0 ;
29457 bool temp2
= false ;
29459 int res3
= SWIG_TMPOBJ
;
29461 int res4
= SWIG_TMPOBJ
;
29463 int res5
= SWIG_TMPOBJ
;
29465 int res6
= SWIG_TMPOBJ
;
29466 PyObject
* obj0
= 0 ;
29467 PyObject
* obj1
= 0 ;
29468 char * kwnames
[] = {
29469 (char *) "self",(char *) "text", NULL
29476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29478 if (!SWIG_IsOK(res1
)) {
29479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29481 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29483 arg2
= wxString_in_helper(obj1
);
29484 if (arg2
== NULL
) SWIG_fail
;
29488 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29491 resultobj
= SWIG_Py_Void();
29492 if (SWIG_IsTmpObj(res3
)) {
29493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29495 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29498 if (SWIG_IsTmpObj(res4
)) {
29499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29501 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29504 if (SWIG_IsTmpObj(res5
)) {
29505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29507 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29510 if (SWIG_IsTmpObj(res6
)) {
29511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29513 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29530 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29531 PyObject
*resultobj
= 0;
29532 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29533 wxString
*arg2
= 0 ;
29534 PyObject
*result
= 0 ;
29537 bool temp2
= false ;
29538 PyObject
* obj0
= 0 ;
29539 PyObject
* obj1
= 0 ;
29540 char * kwnames
[] = {
29541 (char *) "self",(char *) "text", NULL
29544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29546 if (!SWIG_IsOK(res1
)) {
29547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29549 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29551 arg2
= wxString_in_helper(obj1
);
29552 if (arg2
== NULL
) SWIG_fail
;
29556 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29559 resultobj
= result
;
29574 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29575 PyObject
*resultobj
= 0;
29576 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29577 wxString
*arg2
= 0 ;
29578 wxArrayDouble result
;
29581 bool temp2
= false ;
29582 PyObject
* obj0
= 0 ;
29583 PyObject
* obj1
= 0 ;
29584 char * kwnames
[] = {
29585 (char *) "self",(char *) "text", NULL
29588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29590 if (!SWIG_IsOK(res1
)) {
29591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29593 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29595 arg2
= wxString_in_helper(obj1
);
29596 if (arg2
== NULL
) SWIG_fail
;
29600 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29601 if (PyErr_Occurred()) SWIG_fail
;
29604 resultobj
= wxArrayDouble2PyList_helper(result
);
29620 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29621 PyObject
*resultobj
= 0;
29622 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29623 wxBitmap
*arg2
= 0 ;
29640 PyObject
* obj0
= 0 ;
29641 PyObject
* obj1
= 0 ;
29642 PyObject
* obj2
= 0 ;
29643 PyObject
* obj3
= 0 ;
29644 PyObject
* obj4
= 0 ;
29645 PyObject
* obj5
= 0 ;
29646 char * kwnames
[] = {
29647 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29652 if (!SWIG_IsOK(res1
)) {
29653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29655 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29657 if (!SWIG_IsOK(res2
)) {
29658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29663 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29664 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29665 if (!SWIG_IsOK(ecode3
)) {
29666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29668 arg3
= static_cast< wxDouble
>(val3
);
29669 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29670 if (!SWIG_IsOK(ecode4
)) {
29671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29673 arg4
= static_cast< wxDouble
>(val4
);
29674 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29675 if (!SWIG_IsOK(ecode5
)) {
29676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29678 arg5
= static_cast< wxDouble
>(val5
);
29679 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29680 if (!SWIG_IsOK(ecode6
)) {
29681 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29683 arg6
= static_cast< wxDouble
>(val6
);
29685 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29688 resultobj
= SWIG_Py_Void();
29695 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29696 PyObject
*resultobj
= 0;
29697 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29715 PyObject
* obj0
= 0 ;
29716 PyObject
* obj1
= 0 ;
29717 PyObject
* obj2
= 0 ;
29718 PyObject
* obj3
= 0 ;
29719 PyObject
* obj4
= 0 ;
29720 PyObject
* obj5
= 0 ;
29721 char * kwnames
[] = {
29722 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29727 if (!SWIG_IsOK(res1
)) {
29728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29730 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29731 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29732 if (!SWIG_IsOK(res2
)) {
29733 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29736 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29738 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29739 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29740 if (!SWIG_IsOK(ecode3
)) {
29741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29743 arg3
= static_cast< wxDouble
>(val3
);
29744 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29745 if (!SWIG_IsOK(ecode4
)) {
29746 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29748 arg4
= static_cast< wxDouble
>(val4
);
29749 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29750 if (!SWIG_IsOK(ecode5
)) {
29751 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29753 arg5
= static_cast< wxDouble
>(val5
);
29754 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29755 if (!SWIG_IsOK(ecode6
)) {
29756 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29758 arg6
= static_cast< wxDouble
>(val6
);
29760 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29761 if (PyErr_Occurred()) SWIG_fail
;
29763 resultobj
= SWIG_Py_Void();
29770 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29771 PyObject
*resultobj
= 0;
29772 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29787 PyObject
* obj0
= 0 ;
29788 PyObject
* obj1
= 0 ;
29789 PyObject
* obj2
= 0 ;
29790 PyObject
* obj3
= 0 ;
29791 PyObject
* obj4
= 0 ;
29792 char * kwnames
[] = {
29793 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29798 if (!SWIG_IsOK(res1
)) {
29799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29801 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29802 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29803 if (!SWIG_IsOK(ecode2
)) {
29804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29806 arg2
= static_cast< wxDouble
>(val2
);
29807 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29808 if (!SWIG_IsOK(ecode3
)) {
29809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29811 arg3
= static_cast< wxDouble
>(val3
);
29812 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29813 if (!SWIG_IsOK(ecode4
)) {
29814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29816 arg4
= static_cast< wxDouble
>(val4
);
29817 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29818 if (!SWIG_IsOK(ecode5
)) {
29819 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29821 arg5
= static_cast< wxDouble
>(val5
);
29823 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29826 resultobj
= SWIG_Py_Void();
29833 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29834 PyObject
*resultobj
= 0;
29835 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29837 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29840 PyObject
* obj0
= 0 ;
29841 PyObject
* obj1
= 0 ;
29842 char * kwnames
[] = {
29843 (char *) "self",(char *) "points", NULL
29846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29848 if (!SWIG_IsOK(res1
)) {
29849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29851 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29853 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29854 if (arg3
== NULL
) SWIG_fail
;
29857 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29858 if (PyErr_Occurred()) SWIG_fail
;
29860 resultobj
= SWIG_Py_Void();
29862 if (arg3
) delete [] arg3
;
29867 if (arg3
) delete [] arg3
;
29873 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29874 PyObject
*resultobj
= 0;
29875 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29876 PyObject
*arg2
= (PyObject
*) 0 ;
29877 PyObject
*arg3
= (PyObject
*) 0 ;
29880 PyObject
* obj0
= 0 ;
29881 PyObject
* obj1
= 0 ;
29882 PyObject
* obj2
= 0 ;
29883 char * kwnames
[] = {
29884 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29889 if (!SWIG_IsOK(res1
)) {
29890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29892 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29896 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29897 if (PyErr_Occurred()) SWIG_fail
;
29899 resultobj
= SWIG_Py_Void();
29906 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29907 PyObject
*resultobj
= 0;
29908 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29910 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29911 int arg4
= (int) wxWINDING_RULE
;
29916 PyObject
* obj0
= 0 ;
29917 PyObject
* obj1
= 0 ;
29918 PyObject
* obj2
= 0 ;
29919 char * kwnames
[] = {
29920 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29925 if (!SWIG_IsOK(res1
)) {
29926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29928 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29930 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29931 if (arg3
== NULL
) SWIG_fail
;
29934 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29935 if (!SWIG_IsOK(ecode4
)) {
29936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29938 arg4
= static_cast< int >(val4
);
29941 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29944 resultobj
= SWIG_Py_Void();
29946 if (arg3
) delete [] arg3
;
29951 if (arg3
) delete [] arg3
;
29957 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29958 PyObject
*resultobj
= 0;
29959 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29974 PyObject
* obj0
= 0 ;
29975 PyObject
* obj1
= 0 ;
29976 PyObject
* obj2
= 0 ;
29977 PyObject
* obj3
= 0 ;
29978 PyObject
* obj4
= 0 ;
29979 char * kwnames
[] = {
29980 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29985 if (!SWIG_IsOK(res1
)) {
29986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29988 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29989 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29990 if (!SWIG_IsOK(ecode2
)) {
29991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29993 arg2
= static_cast< wxDouble
>(val2
);
29994 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29995 if (!SWIG_IsOK(ecode3
)) {
29996 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29998 arg3
= static_cast< wxDouble
>(val3
);
29999 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30000 if (!SWIG_IsOK(ecode4
)) {
30001 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30003 arg4
= static_cast< wxDouble
>(val4
);
30004 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30005 if (!SWIG_IsOK(ecode5
)) {
30006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30008 arg5
= static_cast< wxDouble
>(val5
);
30010 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30013 resultobj
= SWIG_Py_Void();
30020 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30021 PyObject
*resultobj
= 0;
30022 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30037 PyObject
* obj0
= 0 ;
30038 PyObject
* obj1
= 0 ;
30039 PyObject
* obj2
= 0 ;
30040 PyObject
* obj3
= 0 ;
30041 PyObject
* obj4
= 0 ;
30042 char * kwnames
[] = {
30043 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30048 if (!SWIG_IsOK(res1
)) {
30049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30051 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30052 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30053 if (!SWIG_IsOK(ecode2
)) {
30054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30056 arg2
= static_cast< wxDouble
>(val2
);
30057 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30058 if (!SWIG_IsOK(ecode3
)) {
30059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30061 arg3
= static_cast< wxDouble
>(val3
);
30062 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30063 if (!SWIG_IsOK(ecode4
)) {
30064 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30066 arg4
= static_cast< wxDouble
>(val4
);
30067 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30068 if (!SWIG_IsOK(ecode5
)) {
30069 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30071 arg5
= static_cast< wxDouble
>(val5
);
30073 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30074 if (PyErr_Occurred()) SWIG_fail
;
30076 resultobj
= SWIG_Py_Void();
30083 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30084 PyObject
*resultobj
= 0;
30085 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30103 PyObject
* obj0
= 0 ;
30104 PyObject
* obj1
= 0 ;
30105 PyObject
* obj2
= 0 ;
30106 PyObject
* obj3
= 0 ;
30107 PyObject
* obj4
= 0 ;
30108 PyObject
* obj5
= 0 ;
30109 char * kwnames
[] = {
30110 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30115 if (!SWIG_IsOK(res1
)) {
30116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30118 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30119 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30120 if (!SWIG_IsOK(ecode2
)) {
30121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30123 arg2
= static_cast< wxDouble
>(val2
);
30124 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30125 if (!SWIG_IsOK(ecode3
)) {
30126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30128 arg3
= static_cast< wxDouble
>(val3
);
30129 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30130 if (!SWIG_IsOK(ecode4
)) {
30131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30133 arg4
= static_cast< wxDouble
>(val4
);
30134 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30135 if (!SWIG_IsOK(ecode5
)) {
30136 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30138 arg5
= static_cast< wxDouble
>(val5
);
30139 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30140 if (!SWIG_IsOK(ecode6
)) {
30141 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30143 arg6
= static_cast< wxDouble
>(val6
);
30145 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30148 resultobj
= SWIG_Py_Void();
30155 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30156 PyObject
*resultobj
= 0;
30157 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30161 PyObject
*swig_obj
[1] ;
30163 if (!args
) SWIG_fail
;
30164 swig_obj
[0] = args
;
30165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30166 if (!SWIG_IsOK(res1
)) {
30167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30169 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30171 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30172 if (PyErr_Occurred()) SWIG_fail
;
30175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30183 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30186 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30187 return SWIG_Py_Void();
30190 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30191 PyObject
*resultobj
= 0;
30192 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30195 PyObject
*swig_obj
[1] ;
30197 if (!args
) SWIG_fail
;
30198 swig_obj
[0] = args
;
30199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30200 if (!SWIG_IsOK(res1
)) {
30201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30203 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30207 if (PyErr_Occurred()) SWIG_fail
;
30209 resultobj
= SWIG_Py_Void();
30216 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30217 PyObject
*resultobj
= 0;
30218 wxGraphicsRenderer
*result
= 0 ;
30220 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30222 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30223 if (PyErr_Occurred()) SWIG_fail
;
30225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30232 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30233 PyObject
*resultobj
= 0;
30234 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30235 wxWindowDC
*arg2
= 0 ;
30236 wxGraphicsContext
*result
= 0 ;
30242 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30244 if (!SWIG_IsOK(res1
)) {
30245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30247 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30248 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30249 if (!SWIG_IsOK(res2
)) {
30250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30255 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30257 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30258 if (PyErr_Occurred()) SWIG_fail
;
30260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30267 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30268 PyObject
*resultobj
= 0;
30269 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30270 wxWindow
*arg2
= (wxWindow
*) 0 ;
30271 wxGraphicsContext
*result
= 0 ;
30277 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30279 if (!SWIG_IsOK(res1
)) {
30280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30282 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30283 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30284 if (!SWIG_IsOK(res2
)) {
30285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30287 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30289 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30290 if (PyErr_Occurred()) SWIG_fail
;
30292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30299 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30303 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30308 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30309 _v
= SWIG_CheckState(res
);
30311 if (!_v
) goto check_1
;
30312 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30317 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30321 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30326 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30327 PyObject
*resultobj
= 0;
30328 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30329 void *arg2
= (void *) 0 ;
30330 wxGraphicsContext
*result
= 0 ;
30334 PyObject
* obj0
= 0 ;
30335 PyObject
* obj1
= 0 ;
30336 char * kwnames
[] = {
30337 (char *) "self",(char *) "context", NULL
30340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30342 if (!SWIG_IsOK(res1
)) {
30343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30345 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30346 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30347 if (!SWIG_IsOK(res2
)) {
30348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30351 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30352 if (PyErr_Occurred()) SWIG_fail
;
30354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30361 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30362 PyObject
*resultobj
= 0;
30363 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30364 void *arg2
= (void *) 0 ;
30365 wxGraphicsContext
*result
= 0 ;
30369 PyObject
* obj0
= 0 ;
30370 PyObject
* obj1
= 0 ;
30371 char * kwnames
[] = {
30372 (char *) "self",(char *) "window", NULL
30375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30377 if (!SWIG_IsOK(res1
)) {
30378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30380 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30381 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30382 if (!SWIG_IsOK(res2
)) {
30383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30386 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30396 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30397 PyObject
*resultobj
= 0;
30398 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30399 wxGraphicsPath
*result
= 0 ;
30402 PyObject
*swig_obj
[1] ;
30404 if (!args
) SWIG_fail
;
30405 swig_obj
[0] = args
;
30406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30407 if (!SWIG_IsOK(res1
)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30410 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30412 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
30413 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30422 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30423 PyObject
*resultobj
= 0;
30424 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30425 wxDouble arg2
= (wxDouble
) 1.0 ;
30426 wxDouble arg3
= (wxDouble
) 0.0 ;
30427 wxDouble arg4
= (wxDouble
) 0.0 ;
30428 wxDouble arg5
= (wxDouble
) 1.0 ;
30429 wxDouble arg6
= (wxDouble
) 0.0 ;
30430 wxDouble arg7
= (wxDouble
) 0.0 ;
30431 wxGraphicsMatrix
*result
= 0 ;
30446 PyObject
* obj0
= 0 ;
30447 PyObject
* obj1
= 0 ;
30448 PyObject
* obj2
= 0 ;
30449 PyObject
* obj3
= 0 ;
30450 PyObject
* obj4
= 0 ;
30451 PyObject
* obj5
= 0 ;
30452 PyObject
* obj6
= 0 ;
30453 char * kwnames
[] = {
30454 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30459 if (!SWIG_IsOK(res1
)) {
30460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30462 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30464 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30465 if (!SWIG_IsOK(ecode2
)) {
30466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30468 arg2
= static_cast< wxDouble
>(val2
);
30471 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30472 if (!SWIG_IsOK(ecode3
)) {
30473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30475 arg3
= static_cast< wxDouble
>(val3
);
30478 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30479 if (!SWIG_IsOK(ecode4
)) {
30480 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30482 arg4
= static_cast< wxDouble
>(val4
);
30485 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30486 if (!SWIG_IsOK(ecode5
)) {
30487 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30489 arg5
= static_cast< wxDouble
>(val5
);
30492 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30493 if (!SWIG_IsOK(ecode6
)) {
30494 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30496 arg6
= static_cast< wxDouble
>(val6
);
30499 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30500 if (!SWIG_IsOK(ecode7
)) {
30501 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30503 arg7
= static_cast< wxDouble
>(val7
);
30506 result
= (wxGraphicsMatrix
*)(arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30507 if (PyErr_Occurred()) SWIG_fail
;
30509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30516 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30517 PyObject
*resultobj
= 0;
30518 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30520 wxGraphicsPen result
;
30525 PyObject
* obj0
= 0 ;
30526 PyObject
* obj1
= 0 ;
30527 char * kwnames
[] = {
30528 (char *) "self",(char *) "pen", NULL
30531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30533 if (!SWIG_IsOK(res1
)) {
30534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30536 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30537 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30538 if (!SWIG_IsOK(res2
)) {
30539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30544 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30546 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30547 if (PyErr_Occurred()) SWIG_fail
;
30549 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30556 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30557 PyObject
*resultobj
= 0;
30558 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30559 wxBrush
*arg2
= 0 ;
30560 wxGraphicsBrush result
;
30565 PyObject
* obj0
= 0 ;
30566 PyObject
* obj1
= 0 ;
30567 char * kwnames
[] = {
30568 (char *) "self",(char *) "brush", NULL
30571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30573 if (!SWIG_IsOK(res1
)) {
30574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30576 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30578 if (!SWIG_IsOK(res2
)) {
30579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30584 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30586 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30587 if (PyErr_Occurred()) SWIG_fail
;
30589 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30596 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30597 PyObject
*resultobj
= 0;
30598 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30603 wxColour
*arg6
= 0 ;
30604 wxColour
*arg7
= 0 ;
30605 wxGraphicsBrush result
;
30618 PyObject
* obj0
= 0 ;
30619 PyObject
* obj1
= 0 ;
30620 PyObject
* obj2
= 0 ;
30621 PyObject
* obj3
= 0 ;
30622 PyObject
* obj4
= 0 ;
30623 PyObject
* obj5
= 0 ;
30624 PyObject
* obj6
= 0 ;
30625 char * kwnames
[] = {
30626 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30631 if (!SWIG_IsOK(res1
)) {
30632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30634 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30635 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30636 if (!SWIG_IsOK(ecode2
)) {
30637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30639 arg2
= static_cast< wxDouble
>(val2
);
30640 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30641 if (!SWIG_IsOK(ecode3
)) {
30642 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30644 arg3
= static_cast< wxDouble
>(val3
);
30645 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30646 if (!SWIG_IsOK(ecode4
)) {
30647 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30649 arg4
= static_cast< wxDouble
>(val4
);
30650 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30651 if (!SWIG_IsOK(ecode5
)) {
30652 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30654 arg5
= static_cast< wxDouble
>(val5
);
30657 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30661 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30664 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30665 if (PyErr_Occurred()) SWIG_fail
;
30667 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30674 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30675 PyObject
*resultobj
= 0;
30676 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30682 wxColour
*arg7
= 0 ;
30683 wxColour
*arg8
= 0 ;
30684 wxGraphicsBrush result
;
30699 PyObject
* obj0
= 0 ;
30700 PyObject
* obj1
= 0 ;
30701 PyObject
* obj2
= 0 ;
30702 PyObject
* obj3
= 0 ;
30703 PyObject
* obj4
= 0 ;
30704 PyObject
* obj5
= 0 ;
30705 PyObject
* obj6
= 0 ;
30706 PyObject
* obj7
= 0 ;
30707 char * kwnames
[] = {
30708 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30713 if (!SWIG_IsOK(res1
)) {
30714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30716 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30717 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30718 if (!SWIG_IsOK(ecode2
)) {
30719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30721 arg2
= static_cast< wxDouble
>(val2
);
30722 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30723 if (!SWIG_IsOK(ecode3
)) {
30724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30726 arg3
= static_cast< wxDouble
>(val3
);
30727 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30728 if (!SWIG_IsOK(ecode4
)) {
30729 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30731 arg4
= static_cast< wxDouble
>(val4
);
30732 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30733 if (!SWIG_IsOK(ecode5
)) {
30734 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30736 arg5
= static_cast< wxDouble
>(val5
);
30737 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30738 if (!SWIG_IsOK(ecode6
)) {
30739 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30741 arg6
= static_cast< wxDouble
>(val6
);
30744 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30748 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30751 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30752 if (PyErr_Occurred()) SWIG_fail
;
30754 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30761 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30762 PyObject
*resultobj
= 0;
30763 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30765 wxColour
const &arg3_defvalue
= *wxBLACK
;
30766 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30767 wxGraphicsFont result
;
30773 PyObject
* obj0
= 0 ;
30774 PyObject
* obj1
= 0 ;
30775 PyObject
* obj2
= 0 ;
30776 char * kwnames
[] = {
30777 (char *) "self",(char *) "font",(char *) "col", NULL
30780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30782 if (!SWIG_IsOK(res1
)) {
30783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30785 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30786 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30787 if (!SWIG_IsOK(res2
)) {
30788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30793 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30797 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30801 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30802 if (PyErr_Occurred()) SWIG_fail
;
30804 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30811 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30814 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30815 return SWIG_Py_Void();
30818 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30819 PyObject
*resultobj
= 0;
30820 wxWindowDC
*arg1
= 0 ;
30821 wxGCDC
*result
= 0 ;
30824 PyObject
* obj0
= 0 ;
30825 char * kwnames
[] = {
30826 (char *) "dc", NULL
30829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
30830 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30831 if (!SWIG_IsOK(res1
)) {
30832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30837 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30839 if (!wxPyCheckForApp()) SWIG_fail
;
30840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30841 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30842 wxPyEndAllowThreads(__tstate
);
30843 if (PyErr_Occurred()) SWIG_fail
;
30845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30852 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30853 PyObject
*resultobj
= 0;
30854 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30857 PyObject
*swig_obj
[1] ;
30859 if (!args
) SWIG_fail
;
30860 swig_obj
[0] = args
;
30861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30862 if (!SWIG_IsOK(res1
)) {
30863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30865 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30869 if (PyErr_Occurred()) SWIG_fail
;
30871 resultobj
= SWIG_Py_Void();
30878 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30879 PyObject
*resultobj
= 0;
30880 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30881 wxGraphicsContext
*result
= 0 ;
30884 PyObject
*swig_obj
[1] ;
30886 if (!args
) SWIG_fail
;
30887 swig_obj
[0] = args
;
30888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30889 if (!SWIG_IsOK(res1
)) {
30890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30892 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30894 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30895 if (PyErr_Occurred()) SWIG_fail
;
30897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30904 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30905 PyObject
*resultobj
= 0;
30906 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30907 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30912 PyObject
* obj0
= 0 ;
30913 PyObject
* obj1
= 0 ;
30914 char * kwnames
[] = {
30915 (char *) "self",(char *) "ctx", NULL
30918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30920 if (!SWIG_IsOK(res1
)) {
30921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30923 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30924 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30925 if (!SWIG_IsOK(res2
)) {
30926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30928 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30930 (arg1
)->SetGraphicsContext(arg2
);
30931 if (PyErr_Occurred()) SWIG_fail
;
30933 resultobj
= SWIG_Py_Void();
30940 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30942 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30943 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30944 return SWIG_Py_Void();
30947 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30948 return SWIG_Python_InitShadowInstance(args
);
30951 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30952 PyObject
*resultobj
= 0;
30953 wxOverlay
*result
= 0 ;
30955 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30958 result
= (wxOverlay
*)new wxOverlay();
30959 wxPyEndAllowThreads(__tstate
);
30960 if (PyErr_Occurred()) SWIG_fail
;
30962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30969 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30970 PyObject
*resultobj
= 0;
30971 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30974 PyObject
*swig_obj
[1] ;
30976 if (!args
) SWIG_fail
;
30977 swig_obj
[0] = args
;
30978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30979 if (!SWIG_IsOK(res1
)) {
30980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30982 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30990 resultobj
= SWIG_Py_Void();
30997 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30998 PyObject
*resultobj
= 0;
30999 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31002 PyObject
*swig_obj
[1] ;
31004 if (!args
) SWIG_fail
;
31005 swig_obj
[0] = args
;
31006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31007 if (!SWIG_IsOK(res1
)) {
31008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31010 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31014 wxPyEndAllowThreads(__tstate
);
31015 if (PyErr_Occurred()) SWIG_fail
;
31017 resultobj
= SWIG_Py_Void();
31024 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31027 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31028 return SWIG_Py_Void();
31031 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31032 return SWIG_Python_InitShadowInstance(args
);
31035 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31036 PyObject
*resultobj
= 0;
31037 wxOverlay
*arg1
= 0 ;
31038 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31043 wxDCOverlay
*result
= 0 ;
31057 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31059 if (!SWIG_IsOK(res1
)) {
31060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31065 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31066 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31067 if (!SWIG_IsOK(res2
)) {
31068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31070 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31071 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31072 if (!SWIG_IsOK(ecode3
)) {
31073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31075 arg3
= static_cast< int >(val3
);
31076 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31077 if (!SWIG_IsOK(ecode4
)) {
31078 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31080 arg4
= static_cast< int >(val4
);
31081 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31082 if (!SWIG_IsOK(ecode5
)) {
31083 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31085 arg5
= static_cast< int >(val5
);
31086 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31087 if (!SWIG_IsOK(ecode6
)) {
31088 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31090 arg6
= static_cast< int >(val6
);
31092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31093 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31094 wxPyEndAllowThreads(__tstate
);
31095 if (PyErr_Occurred()) SWIG_fail
;
31097 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31104 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31105 PyObject
*resultobj
= 0;
31106 wxOverlay
*arg1
= 0 ;
31107 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31108 wxDCOverlay
*result
= 0 ;
31114 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31116 if (!SWIG_IsOK(res1
)) {
31117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31122 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31123 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31124 if (!SWIG_IsOK(res2
)) {
31125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31127 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31130 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31131 wxPyEndAllowThreads(__tstate
);
31132 if (PyErr_Occurred()) SWIG_fail
;
31134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31141 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31145 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31148 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31151 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31155 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31160 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31161 PyObject
*resultobj
= 0;
31162 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31165 PyObject
*swig_obj
[1] ;
31167 if (!args
) SWIG_fail
;
31168 swig_obj
[0] = args
;
31169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31170 if (!SWIG_IsOK(res1
)) {
31171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31173 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31178 wxPyEndAllowThreads(__tstate
);
31179 if (PyErr_Occurred()) SWIG_fail
;
31181 resultobj
= SWIG_Py_Void();
31188 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31189 PyObject
*resultobj
= 0;
31190 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31193 PyObject
*swig_obj
[1] ;
31195 if (!args
) SWIG_fail
;
31196 swig_obj
[0] = args
;
31197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31198 if (!SWIG_IsOK(res1
)) {
31199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31201 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31205 wxPyEndAllowThreads(__tstate
);
31206 if (PyErr_Occurred()) SWIG_fail
;
31208 resultobj
= SWIG_Py_Void();
31215 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31217 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31218 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31219 return SWIG_Py_Void();
31222 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31223 return SWIG_Python_InitShadowInstance(args
);
31226 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31227 PyObject
*resultobj
= 0;
31230 int arg3
= (int) true ;
31231 int arg4
= (int) 1 ;
31232 wxImageList
*result
= 0 ;
31241 PyObject
* obj0
= 0 ;
31242 PyObject
* obj1
= 0 ;
31243 PyObject
* obj2
= 0 ;
31244 PyObject
* obj3
= 0 ;
31245 char * kwnames
[] = {
31246 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31250 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31251 if (!SWIG_IsOK(ecode1
)) {
31252 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31254 arg1
= static_cast< int >(val1
);
31255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31256 if (!SWIG_IsOK(ecode2
)) {
31257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31259 arg2
= static_cast< int >(val2
);
31261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31262 if (!SWIG_IsOK(ecode3
)) {
31263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31265 arg3
= static_cast< int >(val3
);
31268 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31269 if (!SWIG_IsOK(ecode4
)) {
31270 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31272 arg4
= static_cast< int >(val4
);
31275 if (!wxPyCheckForApp()) SWIG_fail
;
31276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31277 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31278 wxPyEndAllowThreads(__tstate
);
31279 if (PyErr_Occurred()) SWIG_fail
;
31281 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31288 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31289 PyObject
*resultobj
= 0;
31290 wxImageList
*arg1
= (wxImageList
*) 0 ;
31293 PyObject
*swig_obj
[1] ;
31295 if (!args
) SWIG_fail
;
31296 swig_obj
[0] = args
;
31297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31298 if (!SWIG_IsOK(res1
)) {
31299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31301 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31306 wxPyEndAllowThreads(__tstate
);
31307 if (PyErr_Occurred()) SWIG_fail
;
31309 resultobj
= SWIG_Py_Void();
31316 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31317 PyObject
*resultobj
= 0;
31318 wxImageList
*arg1
= (wxImageList
*) 0 ;
31319 wxBitmap
*arg2
= 0 ;
31320 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31321 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31329 PyObject
* obj0
= 0 ;
31330 PyObject
* obj1
= 0 ;
31331 PyObject
* obj2
= 0 ;
31332 char * kwnames
[] = {
31333 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31338 if (!SWIG_IsOK(res1
)) {
31339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31341 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31342 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31343 if (!SWIG_IsOK(res2
)) {
31344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31349 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31351 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31352 if (!SWIG_IsOK(res3
)) {
31353 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31358 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31362 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31363 wxPyEndAllowThreads(__tstate
);
31364 if (PyErr_Occurred()) SWIG_fail
;
31366 resultobj
= SWIG_From_int(static_cast< int >(result
));
31373 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31374 PyObject
*resultobj
= 0;
31375 wxImageList
*arg1
= (wxImageList
*) 0 ;
31376 wxBitmap
*arg2
= 0 ;
31377 wxColour
*arg3
= 0 ;
31384 PyObject
* obj0
= 0 ;
31385 PyObject
* obj1
= 0 ;
31386 PyObject
* obj2
= 0 ;
31387 char * kwnames
[] = {
31388 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31393 if (!SWIG_IsOK(res1
)) {
31394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31396 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31397 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31398 if (!SWIG_IsOK(res2
)) {
31399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31404 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31407 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31411 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31412 wxPyEndAllowThreads(__tstate
);
31413 if (PyErr_Occurred()) SWIG_fail
;
31415 resultobj
= SWIG_From_int(static_cast< int >(result
));
31422 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31423 PyObject
*resultobj
= 0;
31424 wxImageList
*arg1
= (wxImageList
*) 0 ;
31431 PyObject
* obj0
= 0 ;
31432 PyObject
* obj1
= 0 ;
31433 char * kwnames
[] = {
31434 (char *) "self",(char *) "icon", NULL
31437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31439 if (!SWIG_IsOK(res1
)) {
31440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31442 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31443 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31444 if (!SWIG_IsOK(res2
)) {
31445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31450 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31453 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31454 wxPyEndAllowThreads(__tstate
);
31455 if (PyErr_Occurred()) SWIG_fail
;
31457 resultobj
= SWIG_From_int(static_cast< int >(result
));
31464 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31465 PyObject
*resultobj
= 0;
31466 wxImageList
*arg1
= (wxImageList
*) 0 ;
31468 SwigValueWrapper
<wxBitmap
> result
;
31473 PyObject
* obj0
= 0 ;
31474 PyObject
* obj1
= 0 ;
31475 char * kwnames
[] = {
31476 (char *) "self",(char *) "index", NULL
31479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31481 if (!SWIG_IsOK(res1
)) {
31482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31484 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31486 if (!SWIG_IsOK(ecode2
)) {
31487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31489 arg2
= static_cast< int >(val2
);
31491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31492 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31493 wxPyEndAllowThreads(__tstate
);
31494 if (PyErr_Occurred()) SWIG_fail
;
31496 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31503 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31504 PyObject
*resultobj
= 0;
31505 wxImageList
*arg1
= (wxImageList
*) 0 ;
31512 PyObject
* obj0
= 0 ;
31513 PyObject
* obj1
= 0 ;
31514 char * kwnames
[] = {
31515 (char *) "self",(char *) "index", NULL
31518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31520 if (!SWIG_IsOK(res1
)) {
31521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31523 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31525 if (!SWIG_IsOK(ecode2
)) {
31526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31528 arg2
= static_cast< int >(val2
);
31530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31531 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31532 wxPyEndAllowThreads(__tstate
);
31533 if (PyErr_Occurred()) SWIG_fail
;
31535 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31542 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31543 PyObject
*resultobj
= 0;
31544 wxImageList
*arg1
= (wxImageList
*) 0 ;
31546 wxBitmap
*arg3
= 0 ;
31547 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31548 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31558 PyObject
* obj0
= 0 ;
31559 PyObject
* obj1
= 0 ;
31560 PyObject
* obj2
= 0 ;
31561 PyObject
* obj3
= 0 ;
31562 char * kwnames
[] = {
31563 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31568 if (!SWIG_IsOK(res1
)) {
31569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31571 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31573 if (!SWIG_IsOK(ecode2
)) {
31574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31576 arg2
= static_cast< int >(val2
);
31577 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31578 if (!SWIG_IsOK(res3
)) {
31579 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31584 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31586 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31587 if (!SWIG_IsOK(res4
)) {
31588 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31591 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31593 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31597 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31598 wxPyEndAllowThreads(__tstate
);
31599 if (PyErr_Occurred()) SWIG_fail
;
31602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31610 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31611 PyObject
*resultobj
= 0;
31612 wxImageList
*arg1
= (wxImageList
*) 0 ;
31617 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31618 bool arg7
= (bool) (bool)false ;
31634 PyObject
* obj0
= 0 ;
31635 PyObject
* obj1
= 0 ;
31636 PyObject
* obj2
= 0 ;
31637 PyObject
* obj3
= 0 ;
31638 PyObject
* obj4
= 0 ;
31639 PyObject
* obj5
= 0 ;
31640 PyObject
* obj6
= 0 ;
31641 char * kwnames
[] = {
31642 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31647 if (!SWIG_IsOK(res1
)) {
31648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31650 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31652 if (!SWIG_IsOK(ecode2
)) {
31653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31655 arg2
= static_cast< int >(val2
);
31656 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31657 if (!SWIG_IsOK(res3
)) {
31658 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31663 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31664 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31665 if (!SWIG_IsOK(ecode4
)) {
31666 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31668 arg4
= static_cast< int >(val4
);
31669 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31670 if (!SWIG_IsOK(ecode5
)) {
31671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31673 arg5
= static_cast< int >(val5
);
31675 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31676 if (!SWIG_IsOK(ecode6
)) {
31677 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31679 arg6
= static_cast< int >(val6
);
31682 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31683 if (!SWIG_IsOK(ecode7
)) {
31684 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31686 arg7
= static_cast< bool >(val7
);
31689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31690 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31691 wxPyEndAllowThreads(__tstate
);
31692 if (PyErr_Occurred()) SWIG_fail
;
31695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31703 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31704 PyObject
*resultobj
= 0;
31705 wxImageList
*arg1
= (wxImageList
*) 0 ;
31709 PyObject
*swig_obj
[1] ;
31711 if (!args
) SWIG_fail
;
31712 swig_obj
[0] = args
;
31713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31714 if (!SWIG_IsOK(res1
)) {
31715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31717 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31720 result
= (int)(arg1
)->GetImageCount();
31721 wxPyEndAllowThreads(__tstate
);
31722 if (PyErr_Occurred()) SWIG_fail
;
31724 resultobj
= SWIG_From_int(static_cast< int >(result
));
31731 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31732 PyObject
*resultobj
= 0;
31733 wxImageList
*arg1
= (wxImageList
*) 0 ;
31740 PyObject
* obj0
= 0 ;
31741 PyObject
* obj1
= 0 ;
31742 char * kwnames
[] = {
31743 (char *) "self",(char *) "index", NULL
31746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31748 if (!SWIG_IsOK(res1
)) {
31749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31751 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31753 if (!SWIG_IsOK(ecode2
)) {
31754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31756 arg2
= static_cast< int >(val2
);
31758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31759 result
= (bool)(arg1
)->Remove(arg2
);
31760 wxPyEndAllowThreads(__tstate
);
31761 if (PyErr_Occurred()) SWIG_fail
;
31764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31772 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31773 PyObject
*resultobj
= 0;
31774 wxImageList
*arg1
= (wxImageList
*) 0 ;
31778 PyObject
*swig_obj
[1] ;
31780 if (!args
) SWIG_fail
;
31781 swig_obj
[0] = args
;
31782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31783 if (!SWIG_IsOK(res1
)) {
31784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31786 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31789 result
= (bool)(arg1
)->RemoveAll();
31790 wxPyEndAllowThreads(__tstate
);
31791 if (PyErr_Occurred()) SWIG_fail
;
31794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31802 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31803 PyObject
*resultobj
= 0;
31804 wxImageList
*arg1
= (wxImageList
*) 0 ;
31813 int res3
= SWIG_TMPOBJ
;
31815 int res4
= SWIG_TMPOBJ
;
31816 PyObject
* obj0
= 0 ;
31817 PyObject
* obj1
= 0 ;
31818 char * kwnames
[] = {
31819 (char *) "self",(char *) "index", NULL
31824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31826 if (!SWIG_IsOK(res1
)) {
31827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31829 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31831 if (!SWIG_IsOK(ecode2
)) {
31832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31834 arg2
= static_cast< int >(val2
);
31836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31837 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31838 wxPyEndAllowThreads(__tstate
);
31839 if (PyErr_Occurred()) SWIG_fail
;
31841 resultobj
= SWIG_Py_Void();
31842 if (SWIG_IsTmpObj(res3
)) {
31843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31845 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31848 if (SWIG_IsTmpObj(res4
)) {
31849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31851 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31860 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31862 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31863 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31864 return SWIG_Py_Void();
31867 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31868 return SWIG_Python_InitShadowInstance(args
);
31871 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31872 PyObject
*resultobj
= 0;
31873 wxStockGDI
*result
= 0 ;
31875 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31878 result
= (wxStockGDI
*)new wxStockGDI();
31879 wxPyEndAllowThreads(__tstate
);
31880 if (PyErr_Occurred()) SWIG_fail
;
31882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31889 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31890 PyObject
*resultobj
= 0;
31891 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31894 PyObject
*swig_obj
[1] ;
31896 if (!args
) SWIG_fail
;
31897 swig_obj
[0] = args
;
31898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31899 if (!SWIG_IsOK(res1
)) {
31900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31902 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31907 wxPyEndAllowThreads(__tstate
);
31908 if (PyErr_Occurred()) SWIG_fail
;
31910 resultobj
= SWIG_Py_Void();
31917 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31918 PyObject
*resultobj
= 0;
31920 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31923 wxStockGDI::DeleteAll();
31924 wxPyEndAllowThreads(__tstate
);
31925 if (PyErr_Occurred()) SWIG_fail
;
31927 resultobj
= SWIG_Py_Void();
31934 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31935 PyObject
*resultobj
= 0;
31936 wxStockGDI
*result
= 0 ;
31938 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31942 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31943 result
= (wxStockGDI
*) &_result_ref
;
31945 wxPyEndAllowThreads(__tstate
);
31946 if (PyErr_Occurred()) SWIG_fail
;
31948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31955 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31956 PyObject
*resultobj
= 0;
31957 wxStockGDI::Item arg1
;
31958 wxBrush
*result
= 0 ;
31961 PyObject
* obj0
= 0 ;
31962 char * kwnames
[] = {
31963 (char *) "item", NULL
31966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31967 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31968 if (!SWIG_IsOK(ecode1
)) {
31969 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31971 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31974 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31975 wxPyEndAllowThreads(__tstate
);
31976 if (PyErr_Occurred()) SWIG_fail
;
31978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31985 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31986 PyObject
*resultobj
= 0;
31987 wxStockGDI::Item arg1
;
31988 wxColour
*result
= 0 ;
31991 PyObject
* obj0
= 0 ;
31992 char * kwnames
[] = {
31993 (char *) "item", NULL
31996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31997 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31998 if (!SWIG_IsOK(ecode1
)) {
31999 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32001 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32004 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32005 wxPyEndAllowThreads(__tstate
);
32006 if (PyErr_Occurred()) SWIG_fail
;
32008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32015 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32016 PyObject
*resultobj
= 0;
32017 wxStockGDI::Item arg1
;
32018 wxCursor
*result
= 0 ;
32021 PyObject
* obj0
= 0 ;
32022 char * kwnames
[] = {
32023 (char *) "item", NULL
32026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32027 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32028 if (!SWIG_IsOK(ecode1
)) {
32029 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32031 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32034 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32035 wxPyEndAllowThreads(__tstate
);
32036 if (PyErr_Occurred()) SWIG_fail
;
32038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32045 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32046 PyObject
*resultobj
= 0;
32047 wxStockGDI::Item arg1
;
32048 wxPen
*result
= 0 ;
32051 PyObject
* obj0
= 0 ;
32052 char * kwnames
[] = {
32053 (char *) "item", NULL
32056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32057 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32058 if (!SWIG_IsOK(ecode1
)) {
32059 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32061 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32064 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32065 wxPyEndAllowThreads(__tstate
);
32066 if (PyErr_Occurred()) SWIG_fail
;
32068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32075 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32076 PyObject
*resultobj
= 0;
32077 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32078 wxStockGDI::Item arg2
;
32079 wxFont
*result
= 0 ;
32084 PyObject
* obj0
= 0 ;
32085 PyObject
* obj1
= 0 ;
32086 char * kwnames
[] = {
32087 (char *) "self",(char *) "item", NULL
32090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32092 if (!SWIG_IsOK(res1
)) {
32093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32095 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32097 if (!SWIG_IsOK(ecode2
)) {
32098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32100 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32103 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32104 wxPyEndAllowThreads(__tstate
);
32105 if (PyErr_Occurred()) SWIG_fail
;
32107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32114 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32117 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32118 return SWIG_Py_Void();
32121 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32122 return SWIG_Python_InitShadowInstance(args
);
32125 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32126 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32131 SWIGINTERN PyObject
*NullBitmap_get(void) {
32132 PyObject
*pyobj
= 0;
32134 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32139 SWIGINTERN
int NullIcon_set(PyObject
*) {
32140 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32145 SWIGINTERN PyObject
*NullIcon_get(void) {
32146 PyObject
*pyobj
= 0;
32148 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32153 SWIGINTERN
int NullCursor_set(PyObject
*) {
32154 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32159 SWIGINTERN PyObject
*NullCursor_get(void) {
32160 PyObject
*pyobj
= 0;
32162 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32167 SWIGINTERN
int NullPen_set(PyObject
*) {
32168 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32173 SWIGINTERN PyObject
*NullPen_get(void) {
32174 PyObject
*pyobj
= 0;
32176 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32181 SWIGINTERN
int NullBrush_set(PyObject
*) {
32182 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32187 SWIGINTERN PyObject
*NullBrush_get(void) {
32188 PyObject
*pyobj
= 0;
32190 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32195 SWIGINTERN
int NullPalette_set(PyObject
*) {
32196 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32201 SWIGINTERN PyObject
*NullPalette_get(void) {
32202 PyObject
*pyobj
= 0;
32204 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32209 SWIGINTERN
int NullFont_set(PyObject
*) {
32210 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32215 SWIGINTERN PyObject
*NullFont_get(void) {
32216 PyObject
*pyobj
= 0;
32218 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32223 SWIGINTERN
int NullColour_set(PyObject
*) {
32224 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32229 SWIGINTERN PyObject
*NullColour_get(void) {
32230 PyObject
*pyobj
= 0;
32232 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32237 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32238 PyObject
*resultobj
= 0;
32239 wxGDIObjListBase
*result
= 0 ;
32241 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32244 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32245 wxPyEndAllowThreads(__tstate
);
32246 if (PyErr_Occurred()) SWIG_fail
;
32248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32255 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32256 PyObject
*resultobj
= 0;
32257 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32260 PyObject
*swig_obj
[1] ;
32262 if (!args
) SWIG_fail
;
32263 swig_obj
[0] = args
;
32264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32265 if (!SWIG_IsOK(res1
)) {
32266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32268 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32273 wxPyEndAllowThreads(__tstate
);
32274 if (PyErr_Occurred()) SWIG_fail
;
32276 resultobj
= SWIG_Py_Void();
32283 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32286 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32287 return SWIG_Py_Void();
32290 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32291 return SWIG_Python_InitShadowInstance(args
);
32294 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32295 PyObject
*resultobj
= 0;
32296 wxPenList
*arg1
= (wxPenList
*) 0 ;
32297 wxColour
*arg2
= 0 ;
32300 wxPen
*result
= 0 ;
32308 PyObject
* obj0
= 0 ;
32309 PyObject
* obj1
= 0 ;
32310 PyObject
* obj2
= 0 ;
32311 PyObject
* obj3
= 0 ;
32312 char * kwnames
[] = {
32313 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32318 if (!SWIG_IsOK(res1
)) {
32319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32321 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32324 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32327 if (!SWIG_IsOK(ecode3
)) {
32328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32330 arg3
= static_cast< int >(val3
);
32331 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32332 if (!SWIG_IsOK(ecode4
)) {
32333 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32335 arg4
= static_cast< int >(val4
);
32337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32338 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32339 wxPyEndAllowThreads(__tstate
);
32340 if (PyErr_Occurred()) SWIG_fail
;
32342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32349 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32350 PyObject
*resultobj
= 0;
32351 wxPenList
*arg1
= (wxPenList
*) 0 ;
32352 wxPen
*arg2
= (wxPen
*) 0 ;
32357 PyObject
* obj0
= 0 ;
32358 PyObject
* obj1
= 0 ;
32359 char * kwnames
[] = {
32360 (char *) "self",(char *) "pen", NULL
32363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32365 if (!SWIG_IsOK(res1
)) {
32366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32368 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32370 if (!SWIG_IsOK(res2
)) {
32371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32373 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32376 (arg1
)->AddPen(arg2
);
32377 wxPyEndAllowThreads(__tstate
);
32378 if (PyErr_Occurred()) SWIG_fail
;
32380 resultobj
= SWIG_Py_Void();
32387 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32388 PyObject
*resultobj
= 0;
32389 wxPenList
*arg1
= (wxPenList
*) 0 ;
32390 wxPen
*arg2
= (wxPen
*) 0 ;
32395 PyObject
* obj0
= 0 ;
32396 PyObject
* obj1
= 0 ;
32397 char * kwnames
[] = {
32398 (char *) "self",(char *) "pen", NULL
32401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32403 if (!SWIG_IsOK(res1
)) {
32404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32406 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32407 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32408 if (!SWIG_IsOK(res2
)) {
32409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32411 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32414 (arg1
)->RemovePen(arg2
);
32415 wxPyEndAllowThreads(__tstate
);
32416 if (PyErr_Occurred()) SWIG_fail
;
32418 resultobj
= SWIG_Py_Void();
32425 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32428 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32429 return SWIG_Py_Void();
32432 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32433 PyObject
*resultobj
= 0;
32434 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32435 wxColour
*arg2
= 0 ;
32436 int arg3
= (int) wxSOLID
;
32437 wxBrush
*result
= 0 ;
32443 PyObject
* obj0
= 0 ;
32444 PyObject
* obj1
= 0 ;
32445 PyObject
* obj2
= 0 ;
32446 char * kwnames
[] = {
32447 (char *) "self",(char *) "colour",(char *) "style", NULL
32450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32452 if (!SWIG_IsOK(res1
)) {
32453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32455 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32458 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32462 if (!SWIG_IsOK(ecode3
)) {
32463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32465 arg3
= static_cast< int >(val3
);
32468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32469 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32470 wxPyEndAllowThreads(__tstate
);
32471 if (PyErr_Occurred()) SWIG_fail
;
32473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32480 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32481 PyObject
*resultobj
= 0;
32482 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32483 wxBrush
*arg2
= (wxBrush
*) 0 ;
32488 PyObject
* obj0
= 0 ;
32489 PyObject
* obj1
= 0 ;
32490 char * kwnames
[] = {
32491 (char *) "self",(char *) "brush", NULL
32494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32496 if (!SWIG_IsOK(res1
)) {
32497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32499 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32500 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32501 if (!SWIG_IsOK(res2
)) {
32502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32504 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32507 (arg1
)->AddBrush(arg2
);
32508 wxPyEndAllowThreads(__tstate
);
32509 if (PyErr_Occurred()) SWIG_fail
;
32511 resultobj
= SWIG_Py_Void();
32518 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32519 PyObject
*resultobj
= 0;
32520 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32521 wxBrush
*arg2
= (wxBrush
*) 0 ;
32526 PyObject
* obj0
= 0 ;
32527 PyObject
* obj1
= 0 ;
32528 char * kwnames
[] = {
32529 (char *) "self",(char *) "brush", NULL
32532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32534 if (!SWIG_IsOK(res1
)) {
32535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32537 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32538 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32539 if (!SWIG_IsOK(res2
)) {
32540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32542 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32545 (arg1
)->RemoveBrush(arg2
);
32546 wxPyEndAllowThreads(__tstate
);
32547 if (PyErr_Occurred()) SWIG_fail
;
32549 resultobj
= SWIG_Py_Void();
32556 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32558 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32559 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32560 return SWIG_Py_Void();
32563 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32564 PyObject
*resultobj
= 0;
32565 wxFontList
*arg1
= (wxFontList
*) 0 ;
32570 bool arg6
= (bool) false ;
32571 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32572 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32573 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32574 wxFont
*result
= 0 ;
32587 bool temp7
= false ;
32590 PyObject
* obj0
= 0 ;
32591 PyObject
* obj1
= 0 ;
32592 PyObject
* obj2
= 0 ;
32593 PyObject
* obj3
= 0 ;
32594 PyObject
* obj4
= 0 ;
32595 PyObject
* obj5
= 0 ;
32596 PyObject
* obj6
= 0 ;
32597 PyObject
* obj7
= 0 ;
32598 char * kwnames
[] = {
32599 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32604 if (!SWIG_IsOK(res1
)) {
32605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32607 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32609 if (!SWIG_IsOK(ecode2
)) {
32610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32612 arg2
= static_cast< int >(val2
);
32613 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32614 if (!SWIG_IsOK(ecode3
)) {
32615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32617 arg3
= static_cast< int >(val3
);
32618 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32619 if (!SWIG_IsOK(ecode4
)) {
32620 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32622 arg4
= static_cast< int >(val4
);
32623 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32624 if (!SWIG_IsOK(ecode5
)) {
32625 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32627 arg5
= static_cast< int >(val5
);
32629 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32630 if (!SWIG_IsOK(ecode6
)) {
32631 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32633 arg6
= static_cast< bool >(val6
);
32637 arg7
= wxString_in_helper(obj6
);
32638 if (arg7
== NULL
) SWIG_fail
;
32643 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32644 if (!SWIG_IsOK(ecode8
)) {
32645 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32647 arg8
= static_cast< wxFontEncoding
>(val8
);
32650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32651 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32652 wxPyEndAllowThreads(__tstate
);
32653 if (PyErr_Occurred()) SWIG_fail
;
32655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32670 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32671 PyObject
*resultobj
= 0;
32672 wxFontList
*arg1
= (wxFontList
*) 0 ;
32673 wxFont
*arg2
= (wxFont
*) 0 ;
32678 PyObject
* obj0
= 0 ;
32679 PyObject
* obj1
= 0 ;
32680 char * kwnames
[] = {
32681 (char *) "self",(char *) "font", NULL
32684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32686 if (!SWIG_IsOK(res1
)) {
32687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32689 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32690 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32691 if (!SWIG_IsOK(res2
)) {
32692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32694 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32697 (arg1
)->AddFont(arg2
);
32698 wxPyEndAllowThreads(__tstate
);
32699 if (PyErr_Occurred()) SWIG_fail
;
32701 resultobj
= SWIG_Py_Void();
32708 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32709 PyObject
*resultobj
= 0;
32710 wxFontList
*arg1
= (wxFontList
*) 0 ;
32711 wxFont
*arg2
= (wxFont
*) 0 ;
32716 PyObject
* obj0
= 0 ;
32717 PyObject
* obj1
= 0 ;
32718 char * kwnames
[] = {
32719 (char *) "self",(char *) "font", NULL
32722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32724 if (!SWIG_IsOK(res1
)) {
32725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32727 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32728 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32729 if (!SWIG_IsOK(res2
)) {
32730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32732 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32735 (arg1
)->RemoveFont(arg2
);
32736 wxPyEndAllowThreads(__tstate
);
32737 if (PyErr_Occurred()) SWIG_fail
;
32739 resultobj
= SWIG_Py_Void();
32746 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32749 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32750 return SWIG_Py_Void();
32753 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32754 PyObject
*resultobj
= 0;
32755 wxColourDatabase
*result
= 0 ;
32757 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32759 if (!wxPyCheckForApp()) SWIG_fail
;
32760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32761 result
= (wxColourDatabase
*)new wxColourDatabase();
32762 wxPyEndAllowThreads(__tstate
);
32763 if (PyErr_Occurred()) SWIG_fail
;
32765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32772 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32773 PyObject
*resultobj
= 0;
32774 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32777 PyObject
*swig_obj
[1] ;
32779 if (!args
) SWIG_fail
;
32780 swig_obj
[0] = args
;
32781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32782 if (!SWIG_IsOK(res1
)) {
32783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32785 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32790 wxPyEndAllowThreads(__tstate
);
32791 if (PyErr_Occurred()) SWIG_fail
;
32793 resultobj
= SWIG_Py_Void();
32800 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32801 PyObject
*resultobj
= 0;
32802 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32803 wxString
*arg2
= 0 ;
32807 bool temp2
= false ;
32808 PyObject
* obj0
= 0 ;
32809 PyObject
* obj1
= 0 ;
32810 char * kwnames
[] = {
32811 (char *) "self",(char *) "name", NULL
32814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32816 if (!SWIG_IsOK(res1
)) {
32817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32819 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32821 arg2
= wxString_in_helper(obj1
);
32822 if (arg2
== NULL
) SWIG_fail
;
32826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32827 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32828 wxPyEndAllowThreads(__tstate
);
32829 if (PyErr_Occurred()) SWIG_fail
;
32831 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32846 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32847 PyObject
*resultobj
= 0;
32848 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32849 wxColour
*arg2
= 0 ;
32854 PyObject
* obj0
= 0 ;
32855 PyObject
* obj1
= 0 ;
32856 char * kwnames
[] = {
32857 (char *) "self",(char *) "colour", NULL
32860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32862 if (!SWIG_IsOK(res1
)) {
32863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32865 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32868 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32872 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32873 wxPyEndAllowThreads(__tstate
);
32874 if (PyErr_Occurred()) SWIG_fail
;
32878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32889 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32890 PyObject
*resultobj
= 0;
32891 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32892 wxString
*arg2
= 0 ;
32893 wxColour
*arg3
= 0 ;
32896 bool temp2
= false ;
32898 PyObject
* obj0
= 0 ;
32899 PyObject
* obj1
= 0 ;
32900 PyObject
* obj2
= 0 ;
32901 char * kwnames
[] = {
32902 (char *) "self",(char *) "name",(char *) "colour", NULL
32905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32907 if (!SWIG_IsOK(res1
)) {
32908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32910 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32912 arg2
= wxString_in_helper(obj1
);
32913 if (arg2
== NULL
) SWIG_fail
;
32918 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32922 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32923 wxPyEndAllowThreads(__tstate
);
32924 if (PyErr_Occurred()) SWIG_fail
;
32926 resultobj
= SWIG_Py_Void();
32941 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32942 PyObject
*resultobj
= 0;
32943 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32944 wxString
*arg2
= 0 ;
32950 bool temp2
= false ;
32957 PyObject
* obj0
= 0 ;
32958 PyObject
* obj1
= 0 ;
32959 PyObject
* obj2
= 0 ;
32960 PyObject
* obj3
= 0 ;
32961 PyObject
* obj4
= 0 ;
32962 char * kwnames
[] = {
32963 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32968 if (!SWIG_IsOK(res1
)) {
32969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32971 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32973 arg2
= wxString_in_helper(obj1
);
32974 if (arg2
== NULL
) SWIG_fail
;
32977 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32978 if (!SWIG_IsOK(ecode3
)) {
32979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32981 arg3
= static_cast< int >(val3
);
32982 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32983 if (!SWIG_IsOK(ecode4
)) {
32984 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32986 arg4
= static_cast< int >(val4
);
32987 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32988 if (!SWIG_IsOK(ecode5
)) {
32989 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32991 arg5
= static_cast< int >(val5
);
32993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32994 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32995 wxPyEndAllowThreads(__tstate
);
32996 if (PyErr_Occurred()) SWIG_fail
;
32998 resultobj
= SWIG_Py_Void();
33013 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33016 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33017 return SWIG_Py_Void();
33020 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33021 return SWIG_Python_InitShadowInstance(args
);
33024 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33025 PyObject
*resultobj
= 0;
33026 wxFontList
*result
= 0 ;
33028 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33031 result
= (wxFontList
*)_wxPyInitTheFontList();
33032 wxPyEndAllowThreads(__tstate
);
33033 if (PyErr_Occurred()) SWIG_fail
;
33035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33042 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33043 PyObject
*resultobj
= 0;
33044 wxPenList
*result
= 0 ;
33046 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33049 result
= (wxPenList
*)_wxPyInitThePenList();
33050 wxPyEndAllowThreads(__tstate
);
33051 if (PyErr_Occurred()) SWIG_fail
;
33053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33060 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33061 PyObject
*resultobj
= 0;
33062 wxBrushList
*result
= 0 ;
33064 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33067 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33068 wxPyEndAllowThreads(__tstate
);
33069 if (PyErr_Occurred()) SWIG_fail
;
33071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33078 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33079 PyObject
*resultobj
= 0;
33080 wxColourDatabase
*result
= 0 ;
33082 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33085 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33086 wxPyEndAllowThreads(__tstate
);
33087 if (PyErr_Occurred()) SWIG_fail
;
33089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33096 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33097 PyObject
*resultobj
= 0;
33098 wxEffects
*result
= 0 ;
33100 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33103 result
= (wxEffects
*)new wxEffects();
33104 wxPyEndAllowThreads(__tstate
);
33105 if (PyErr_Occurred()) SWIG_fail
;
33107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33114 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33115 PyObject
*resultobj
= 0;
33116 wxEffects
*arg1
= (wxEffects
*) 0 ;
33120 PyObject
*swig_obj
[1] ;
33122 if (!args
) SWIG_fail
;
33123 swig_obj
[0] = args
;
33124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33125 if (!SWIG_IsOK(res1
)) {
33126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33128 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33131 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33132 wxPyEndAllowThreads(__tstate
);
33133 if (PyErr_Occurred()) SWIG_fail
;
33135 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33142 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33143 PyObject
*resultobj
= 0;
33144 wxEffects
*arg1
= (wxEffects
*) 0 ;
33148 PyObject
*swig_obj
[1] ;
33150 if (!args
) SWIG_fail
;
33151 swig_obj
[0] = args
;
33152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33153 if (!SWIG_IsOK(res1
)) {
33154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33156 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33159 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33160 wxPyEndAllowThreads(__tstate
);
33161 if (PyErr_Occurred()) SWIG_fail
;
33163 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33170 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33171 PyObject
*resultobj
= 0;
33172 wxEffects
*arg1
= (wxEffects
*) 0 ;
33176 PyObject
*swig_obj
[1] ;
33178 if (!args
) SWIG_fail
;
33179 swig_obj
[0] = args
;
33180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33181 if (!SWIG_IsOK(res1
)) {
33182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33184 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33187 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33188 wxPyEndAllowThreads(__tstate
);
33189 if (PyErr_Occurred()) SWIG_fail
;
33191 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33198 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33199 PyObject
*resultobj
= 0;
33200 wxEffects
*arg1
= (wxEffects
*) 0 ;
33204 PyObject
*swig_obj
[1] ;
33206 if (!args
) SWIG_fail
;
33207 swig_obj
[0] = args
;
33208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33209 if (!SWIG_IsOK(res1
)) {
33210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33212 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33215 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33216 wxPyEndAllowThreads(__tstate
);
33217 if (PyErr_Occurred()) SWIG_fail
;
33219 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33226 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33227 PyObject
*resultobj
= 0;
33228 wxEffects
*arg1
= (wxEffects
*) 0 ;
33232 PyObject
*swig_obj
[1] ;
33234 if (!args
) SWIG_fail
;
33235 swig_obj
[0] = args
;
33236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33237 if (!SWIG_IsOK(res1
)) {
33238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33240 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33243 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33244 wxPyEndAllowThreads(__tstate
);
33245 if (PyErr_Occurred()) SWIG_fail
;
33247 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33254 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33255 PyObject
*resultobj
= 0;
33256 wxEffects
*arg1
= (wxEffects
*) 0 ;
33257 wxColour
*arg2
= 0 ;
33261 PyObject
* obj0
= 0 ;
33262 PyObject
* obj1
= 0 ;
33263 char * kwnames
[] = {
33264 (char *) "self",(char *) "c", NULL
33267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33269 if (!SWIG_IsOK(res1
)) {
33270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33272 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33275 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33279 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33280 wxPyEndAllowThreads(__tstate
);
33281 if (PyErr_Occurred()) SWIG_fail
;
33283 resultobj
= SWIG_Py_Void();
33290 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33291 PyObject
*resultobj
= 0;
33292 wxEffects
*arg1
= (wxEffects
*) 0 ;
33293 wxColour
*arg2
= 0 ;
33297 PyObject
* obj0
= 0 ;
33298 PyObject
* obj1
= 0 ;
33299 char * kwnames
[] = {
33300 (char *) "self",(char *) "c", NULL
33303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33305 if (!SWIG_IsOK(res1
)) {
33306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33308 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33311 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33315 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33316 wxPyEndAllowThreads(__tstate
);
33317 if (PyErr_Occurred()) SWIG_fail
;
33319 resultobj
= SWIG_Py_Void();
33326 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33327 PyObject
*resultobj
= 0;
33328 wxEffects
*arg1
= (wxEffects
*) 0 ;
33329 wxColour
*arg2
= 0 ;
33333 PyObject
* obj0
= 0 ;
33334 PyObject
* obj1
= 0 ;
33335 char * kwnames
[] = {
33336 (char *) "self",(char *) "c", NULL
33339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33341 if (!SWIG_IsOK(res1
)) {
33342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33344 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33347 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33351 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33352 wxPyEndAllowThreads(__tstate
);
33353 if (PyErr_Occurred()) SWIG_fail
;
33355 resultobj
= SWIG_Py_Void();
33362 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33363 PyObject
*resultobj
= 0;
33364 wxEffects
*arg1
= (wxEffects
*) 0 ;
33365 wxColour
*arg2
= 0 ;
33369 PyObject
* obj0
= 0 ;
33370 PyObject
* obj1
= 0 ;
33371 char * kwnames
[] = {
33372 (char *) "self",(char *) "c", NULL
33375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33377 if (!SWIG_IsOK(res1
)) {
33378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33380 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33383 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33387 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33388 wxPyEndAllowThreads(__tstate
);
33389 if (PyErr_Occurred()) SWIG_fail
;
33391 resultobj
= SWIG_Py_Void();
33398 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33399 PyObject
*resultobj
= 0;
33400 wxEffects
*arg1
= (wxEffects
*) 0 ;
33401 wxColour
*arg2
= 0 ;
33405 PyObject
* obj0
= 0 ;
33406 PyObject
* obj1
= 0 ;
33407 char * kwnames
[] = {
33408 (char *) "self",(char *) "c", NULL
33411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33413 if (!SWIG_IsOK(res1
)) {
33414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33416 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33419 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33423 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33424 wxPyEndAllowThreads(__tstate
);
33425 if (PyErr_Occurred()) SWIG_fail
;
33427 resultobj
= SWIG_Py_Void();
33434 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33435 PyObject
*resultobj
= 0;
33436 wxEffects
*arg1
= (wxEffects
*) 0 ;
33437 wxColour
*arg2
= 0 ;
33438 wxColour
*arg3
= 0 ;
33439 wxColour
*arg4
= 0 ;
33440 wxColour
*arg5
= 0 ;
33441 wxColour
*arg6
= 0 ;
33449 PyObject
* obj0
= 0 ;
33450 PyObject
* obj1
= 0 ;
33451 PyObject
* obj2
= 0 ;
33452 PyObject
* obj3
= 0 ;
33453 PyObject
* obj4
= 0 ;
33454 PyObject
* obj5
= 0 ;
33455 char * kwnames
[] = {
33456 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33461 if (!SWIG_IsOK(res1
)) {
33462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33464 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33467 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33471 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33475 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33479 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33483 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33487 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33488 wxPyEndAllowThreads(__tstate
);
33489 if (PyErr_Occurred()) SWIG_fail
;
33491 resultobj
= SWIG_Py_Void();
33498 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33499 PyObject
*resultobj
= 0;
33500 wxEffects
*arg1
= (wxEffects
*) 0 ;
33503 int arg4
= (int) 1 ;
33511 PyObject
* obj0
= 0 ;
33512 PyObject
* obj1
= 0 ;
33513 PyObject
* obj2
= 0 ;
33514 PyObject
* obj3
= 0 ;
33515 char * kwnames
[] = {
33516 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33521 if (!SWIG_IsOK(res1
)) {
33522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33524 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33526 if (!SWIG_IsOK(res2
)) {
33527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33532 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33535 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33538 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33539 if (!SWIG_IsOK(ecode4
)) {
33540 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33542 arg4
= static_cast< int >(val4
);
33545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33546 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33547 wxPyEndAllowThreads(__tstate
);
33548 if (PyErr_Occurred()) SWIG_fail
;
33550 resultobj
= SWIG_Py_Void();
33557 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33558 PyObject
*resultobj
= 0;
33559 wxEffects
*arg1
= (wxEffects
*) 0 ;
33562 wxBitmap
*arg4
= 0 ;
33571 PyObject
* obj0
= 0 ;
33572 PyObject
* obj1
= 0 ;
33573 PyObject
* obj2
= 0 ;
33574 PyObject
* obj3
= 0 ;
33575 char * kwnames
[] = {
33576 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33581 if (!SWIG_IsOK(res1
)) {
33582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33584 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33587 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33589 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33590 if (!SWIG_IsOK(res3
)) {
33591 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33596 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33597 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33598 if (!SWIG_IsOK(res4
)) {
33599 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33604 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33607 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33608 wxPyEndAllowThreads(__tstate
);
33609 if (PyErr_Occurred()) SWIG_fail
;
33612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33620 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33622 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33623 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33624 return SWIG_Py_Void();
33627 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33628 return SWIG_Python_InitShadowInstance(args
);
33631 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33632 PyObject
*resultobj
= 0;
33636 wxSplitterRenderParams
*result
= 0 ;
33643 PyObject
* obj0
= 0 ;
33644 PyObject
* obj1
= 0 ;
33645 PyObject
* obj2
= 0 ;
33646 char * kwnames
[] = {
33647 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33651 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33652 if (!SWIG_IsOK(ecode1
)) {
33653 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33655 arg1
= static_cast< int >(val1
);
33656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33657 if (!SWIG_IsOK(ecode2
)) {
33658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33660 arg2
= static_cast< int >(val2
);
33661 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33662 if (!SWIG_IsOK(ecode3
)) {
33663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33665 arg3
= static_cast< bool >(val3
);
33667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33668 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33669 wxPyEndAllowThreads(__tstate
);
33670 if (PyErr_Occurred()) SWIG_fail
;
33672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33679 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33680 PyObject
*resultobj
= 0;
33681 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33684 PyObject
*swig_obj
[1] ;
33686 if (!args
) SWIG_fail
;
33687 swig_obj
[0] = args
;
33688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33689 if (!SWIG_IsOK(res1
)) {
33690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33692 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33697 wxPyEndAllowThreads(__tstate
);
33698 if (PyErr_Occurred()) SWIG_fail
;
33700 resultobj
= SWIG_Py_Void();
33707 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33708 PyObject
*resultobj
= 0;
33709 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33713 PyObject
*swig_obj
[1] ;
33715 if (!args
) SWIG_fail
;
33716 swig_obj
[0] = args
;
33717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33718 if (!SWIG_IsOK(res1
)) {
33719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33721 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33722 result
= (int)(int) ((arg1
)->widthSash
);
33723 resultobj
= SWIG_From_int(static_cast< int >(result
));
33730 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33731 PyObject
*resultobj
= 0;
33732 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33736 PyObject
*swig_obj
[1] ;
33738 if (!args
) SWIG_fail
;
33739 swig_obj
[0] = args
;
33740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33741 if (!SWIG_IsOK(res1
)) {
33742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33744 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33745 result
= (int)(int) ((arg1
)->border
);
33746 resultobj
= SWIG_From_int(static_cast< int >(result
));
33753 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33754 PyObject
*resultobj
= 0;
33755 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33759 PyObject
*swig_obj
[1] ;
33761 if (!args
) SWIG_fail
;
33762 swig_obj
[0] = args
;
33763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33764 if (!SWIG_IsOK(res1
)) {
33765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33767 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33768 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33769 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33776 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33778 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33779 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33780 return SWIG_Py_Void();
33783 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33784 return SWIG_Python_InitShadowInstance(args
);
33787 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33788 PyObject
*resultobj
= 0;
33789 wxHeaderButtonParams
*result
= 0 ;
33791 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33794 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33795 wxPyEndAllowThreads(__tstate
);
33796 if (PyErr_Occurred()) SWIG_fail
;
33798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33805 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33806 PyObject
*resultobj
= 0;
33807 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33810 PyObject
*swig_obj
[1] ;
33812 if (!args
) SWIG_fail
;
33813 swig_obj
[0] = args
;
33814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33815 if (!SWIG_IsOK(res1
)) {
33816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33818 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33823 wxPyEndAllowThreads(__tstate
);
33824 if (PyErr_Occurred()) SWIG_fail
;
33826 resultobj
= SWIG_Py_Void();
33833 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33834 PyObject
*resultobj
= 0;
33835 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33836 wxColour
*arg2
= (wxColour
*) 0 ;
33840 PyObject
*swig_obj
[2] ;
33842 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33844 if (!SWIG_IsOK(res1
)) {
33845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33847 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33850 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33852 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33854 resultobj
= SWIG_Py_Void();
33861 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33862 PyObject
*resultobj
= 0;
33863 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33864 wxColour
*result
= 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_wxHeaderButtonParams
, 0 | 0 );
33872 if (!SWIG_IsOK(res1
)) {
33873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33875 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33876 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33884 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33885 PyObject
*resultobj
= 0;
33886 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33887 wxColour
*arg2
= (wxColour
*) 0 ;
33891 PyObject
*swig_obj
[2] ;
33893 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33895 if (!SWIG_IsOK(res1
)) {
33896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33898 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33901 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33903 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33905 resultobj
= SWIG_Py_Void();
33912 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33913 PyObject
*resultobj
= 0;
33914 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33915 wxColour
*result
= 0 ;
33918 PyObject
*swig_obj
[1] ;
33920 if (!args
) SWIG_fail
;
33921 swig_obj
[0] = args
;
33922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33923 if (!SWIG_IsOK(res1
)) {
33924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33926 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33927 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33935 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33936 PyObject
*resultobj
= 0;
33937 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33938 wxString
*arg2
= (wxString
*) 0 ;
33941 bool temp2
= false ;
33942 PyObject
*swig_obj
[2] ;
33944 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33946 if (!SWIG_IsOK(res1
)) {
33947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33949 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33951 arg2
= wxString_in_helper(swig_obj
[1]);
33952 if (arg2
== NULL
) SWIG_fail
;
33955 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33957 resultobj
= SWIG_Py_Void();
33972 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33973 PyObject
*resultobj
= 0;
33974 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33975 wxString
*result
= 0 ;
33978 PyObject
*swig_obj
[1] ;
33980 if (!args
) SWIG_fail
;
33981 swig_obj
[0] = args
;
33982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33983 if (!SWIG_IsOK(res1
)) {
33984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33986 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33987 result
= (wxString
*)& ((arg1
)->m_labelText
);
33990 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33992 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34001 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34002 PyObject
*resultobj
= 0;
34003 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34004 wxFont
*arg2
= (wxFont
*) 0 ;
34009 PyObject
*swig_obj
[2] ;
34011 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34013 if (!SWIG_IsOK(res1
)) {
34014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34016 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34017 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34018 if (!SWIG_IsOK(res2
)) {
34019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34021 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34022 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34024 resultobj
= SWIG_Py_Void();
34031 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34032 PyObject
*resultobj
= 0;
34033 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34034 wxFont
*result
= 0 ;
34037 PyObject
*swig_obj
[1] ;
34039 if (!args
) SWIG_fail
;
34040 swig_obj
[0] = args
;
34041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34042 if (!SWIG_IsOK(res1
)) {
34043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34045 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34046 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34054 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34055 PyObject
*resultobj
= 0;
34056 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34057 wxColour
*arg2
= (wxColour
*) 0 ;
34061 PyObject
*swig_obj
[2] ;
34063 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34065 if (!SWIG_IsOK(res1
)) {
34066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34068 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34071 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34073 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34075 resultobj
= SWIG_Py_Void();
34082 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34083 PyObject
*resultobj
= 0;
34084 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34085 wxColour
*result
= 0 ;
34088 PyObject
*swig_obj
[1] ;
34090 if (!args
) SWIG_fail
;
34091 swig_obj
[0] = args
;
34092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34093 if (!SWIG_IsOK(res1
)) {
34094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34096 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34097 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34105 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34106 PyObject
*resultobj
= 0;
34107 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34108 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34113 PyObject
*swig_obj
[2] ;
34115 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34117 if (!SWIG_IsOK(res1
)) {
34118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34120 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34121 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34122 if (!SWIG_IsOK(res2
)) {
34123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34125 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34126 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34128 resultobj
= SWIG_Py_Void();
34135 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34136 PyObject
*resultobj
= 0;
34137 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34138 wxBitmap
*result
= 0 ;
34141 PyObject
*swig_obj
[1] ;
34143 if (!args
) SWIG_fail
;
34144 swig_obj
[0] = args
;
34145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34146 if (!SWIG_IsOK(res1
)) {
34147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34149 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34150 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34158 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34159 PyObject
*resultobj
= 0;
34160 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34166 PyObject
*swig_obj
[2] ;
34168 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34170 if (!SWIG_IsOK(res1
)) {
34171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34173 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34174 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34175 if (!SWIG_IsOK(ecode2
)) {
34176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34178 arg2
= static_cast< int >(val2
);
34179 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34181 resultobj
= SWIG_Py_Void();
34188 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34189 PyObject
*resultobj
= 0;
34190 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34194 PyObject
*swig_obj
[1] ;
34196 if (!args
) SWIG_fail
;
34197 swig_obj
[0] = args
;
34198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34199 if (!SWIG_IsOK(res1
)) {
34200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34202 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34203 result
= (int) ((arg1
)->m_labelAlignment
);
34204 resultobj
= SWIG_From_int(static_cast< int >(result
));
34211 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34214 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34215 return SWIG_Py_Void();
34218 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34219 return SWIG_Python_InitShadowInstance(args
);
34222 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34223 PyObject
*resultobj
= 0;
34226 wxRendererVersion
*result
= 0 ;
34231 PyObject
* obj0
= 0 ;
34232 PyObject
* obj1
= 0 ;
34233 char * kwnames
[] = {
34234 (char *) "version_",(char *) "age_", NULL
34237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34238 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34239 if (!SWIG_IsOK(ecode1
)) {
34240 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34242 arg1
= static_cast< int >(val1
);
34243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34244 if (!SWIG_IsOK(ecode2
)) {
34245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34247 arg2
= static_cast< int >(val2
);
34249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34250 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34251 wxPyEndAllowThreads(__tstate
);
34252 if (PyErr_Occurred()) SWIG_fail
;
34254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34261 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34262 PyObject
*resultobj
= 0;
34263 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34266 PyObject
*swig_obj
[1] ;
34268 if (!args
) SWIG_fail
;
34269 swig_obj
[0] = args
;
34270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34271 if (!SWIG_IsOK(res1
)) {
34272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34274 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34279 wxPyEndAllowThreads(__tstate
);
34280 if (PyErr_Occurred()) SWIG_fail
;
34282 resultobj
= SWIG_Py_Void();
34289 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34290 PyObject
*resultobj
= 0;
34291 wxRendererVersion
*arg1
= 0 ;
34295 PyObject
* obj0
= 0 ;
34296 char * kwnames
[] = {
34297 (char *) "ver", NULL
34300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34301 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34302 if (!SWIG_IsOK(res1
)) {
34303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34308 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34311 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34312 wxPyEndAllowThreads(__tstate
);
34313 if (PyErr_Occurred()) SWIG_fail
;
34316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34324 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34325 PyObject
*resultobj
= 0;
34326 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34330 PyObject
*swig_obj
[1] ;
34332 if (!args
) SWIG_fail
;
34333 swig_obj
[0] = args
;
34334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34335 if (!SWIG_IsOK(res1
)) {
34336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34338 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34339 result
= (int)(int) ((arg1
)->version
);
34340 resultobj
= SWIG_From_int(static_cast< int >(result
));
34347 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34348 PyObject
*resultobj
= 0;
34349 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34353 PyObject
*swig_obj
[1] ;
34355 if (!args
) SWIG_fail
;
34356 swig_obj
[0] = args
;
34357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34358 if (!SWIG_IsOK(res1
)) {
34359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34361 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34362 result
= (int)(int) ((arg1
)->age
);
34363 resultobj
= SWIG_From_int(static_cast< int >(result
));
34370 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34372 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34373 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34374 return SWIG_Py_Void();
34377 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34378 return SWIG_Python_InitShadowInstance(args
);
34381 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34382 PyObject
*resultobj
= 0;
34383 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34384 wxWindow
*arg2
= (wxWindow
*) 0 ;
34387 int arg5
= (int) 0 ;
34388 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34389 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34403 PyObject
* obj0
= 0 ;
34404 PyObject
* obj1
= 0 ;
34405 PyObject
* obj2
= 0 ;
34406 PyObject
* obj3
= 0 ;
34407 PyObject
* obj4
= 0 ;
34408 PyObject
* obj5
= 0 ;
34409 PyObject
* obj6
= 0 ;
34410 char * kwnames
[] = {
34411 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34416 if (!SWIG_IsOK(res1
)) {
34417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34419 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34421 if (!SWIG_IsOK(res2
)) {
34422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34424 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34425 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34426 if (!SWIG_IsOK(res3
)) {
34427 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34432 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34435 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34438 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34439 if (!SWIG_IsOK(ecode5
)) {
34440 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34442 arg5
= static_cast< int >(val5
);
34445 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34446 if (!SWIG_IsOK(ecode6
)) {
34447 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34449 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34452 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34453 if (!SWIG_IsOK(res7
)) {
34454 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34456 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34460 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34461 wxPyEndAllowThreads(__tstate
);
34462 if (PyErr_Occurred()) SWIG_fail
;
34464 resultobj
= SWIG_Py_Void();
34471 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34472 PyObject
*resultobj
= 0;
34473 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34474 wxWindow
*arg2
= (wxWindow
*) 0 ;
34477 int arg5
= (int) 0 ;
34478 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34479 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34493 PyObject
* obj0
= 0 ;
34494 PyObject
* obj1
= 0 ;
34495 PyObject
* obj2
= 0 ;
34496 PyObject
* obj3
= 0 ;
34497 PyObject
* obj4
= 0 ;
34498 PyObject
* obj5
= 0 ;
34499 PyObject
* obj6
= 0 ;
34500 char * kwnames
[] = {
34501 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34506 if (!SWIG_IsOK(res1
)) {
34507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34509 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34511 if (!SWIG_IsOK(res2
)) {
34512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34514 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34515 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34516 if (!SWIG_IsOK(res3
)) {
34517 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34522 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34525 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34528 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34529 if (!SWIG_IsOK(ecode5
)) {
34530 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34532 arg5
= static_cast< int >(val5
);
34535 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34536 if (!SWIG_IsOK(ecode6
)) {
34537 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34539 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34542 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34543 if (!SWIG_IsOK(res7
)) {
34544 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34546 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34550 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34551 wxPyEndAllowThreads(__tstate
);
34552 if (PyErr_Occurred()) SWIG_fail
;
34554 resultobj
= SWIG_Py_Void();
34561 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34562 PyObject
*resultobj
= 0;
34563 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34564 wxWindow
*arg2
= (wxWindow
*) 0 ;
34570 PyObject
* obj0
= 0 ;
34571 PyObject
* obj1
= 0 ;
34572 char * kwnames
[] = {
34573 (char *) "self",(char *) "win", NULL
34576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34578 if (!SWIG_IsOK(res1
)) {
34579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34581 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34583 if (!SWIG_IsOK(res2
)) {
34584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34586 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34589 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34590 wxPyEndAllowThreads(__tstate
);
34591 if (PyErr_Occurred()) SWIG_fail
;
34593 resultobj
= SWIG_From_int(static_cast< int >(result
));
34600 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34601 PyObject
*resultobj
= 0;
34602 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34603 wxWindow
*arg2
= (wxWindow
*) 0 ;
34606 int arg5
= (int) 0 ;
34616 PyObject
* obj0
= 0 ;
34617 PyObject
* obj1
= 0 ;
34618 PyObject
* obj2
= 0 ;
34619 PyObject
* obj3
= 0 ;
34620 PyObject
* obj4
= 0 ;
34621 char * kwnames
[] = {
34622 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34627 if (!SWIG_IsOK(res1
)) {
34628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34630 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34631 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34632 if (!SWIG_IsOK(res2
)) {
34633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34635 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34636 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34637 if (!SWIG_IsOK(res3
)) {
34638 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34643 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34646 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34649 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34650 if (!SWIG_IsOK(ecode5
)) {
34651 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34653 arg5
= static_cast< int >(val5
);
34656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34657 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34658 wxPyEndAllowThreads(__tstate
);
34659 if (PyErr_Occurred()) SWIG_fail
;
34661 resultobj
= SWIG_Py_Void();
34668 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34669 PyObject
*resultobj
= 0;
34670 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34671 wxWindow
*arg2
= (wxWindow
*) 0 ;
34674 int arg5
= (int) 0 ;
34684 PyObject
* obj0
= 0 ;
34685 PyObject
* obj1
= 0 ;
34686 PyObject
* obj2
= 0 ;
34687 PyObject
* obj3
= 0 ;
34688 PyObject
* obj4
= 0 ;
34689 char * kwnames
[] = {
34690 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34695 if (!SWIG_IsOK(res1
)) {
34696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34698 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34699 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34700 if (!SWIG_IsOK(res2
)) {
34701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34703 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34704 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34705 if (!SWIG_IsOK(res3
)) {
34706 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34711 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34714 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34717 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34718 if (!SWIG_IsOK(ecode5
)) {
34719 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34721 arg5
= static_cast< int >(val5
);
34724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34725 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34726 wxPyEndAllowThreads(__tstate
);
34727 if (PyErr_Occurred()) SWIG_fail
;
34729 resultobj
= SWIG_Py_Void();
34736 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34737 PyObject
*resultobj
= 0;
34738 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34739 wxWindow
*arg2
= (wxWindow
*) 0 ;
34743 wxOrientation arg6
;
34744 int arg7
= (int) 0 ;
34758 PyObject
* obj0
= 0 ;
34759 PyObject
* obj1
= 0 ;
34760 PyObject
* obj2
= 0 ;
34761 PyObject
* obj3
= 0 ;
34762 PyObject
* obj4
= 0 ;
34763 PyObject
* obj5
= 0 ;
34764 PyObject
* obj6
= 0 ;
34765 char * kwnames
[] = {
34766 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34771 if (!SWIG_IsOK(res1
)) {
34772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34774 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34776 if (!SWIG_IsOK(res2
)) {
34777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34779 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34780 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34781 if (!SWIG_IsOK(res3
)) {
34782 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34787 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34790 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34792 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34793 if (!SWIG_IsOK(ecode5
)) {
34794 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34796 arg5
= static_cast< int >(val5
);
34797 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34798 if (!SWIG_IsOK(ecode6
)) {
34799 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34801 arg6
= static_cast< wxOrientation
>(val6
);
34803 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34804 if (!SWIG_IsOK(ecode7
)) {
34805 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34807 arg7
= static_cast< int >(val7
);
34810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34811 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34812 wxPyEndAllowThreads(__tstate
);
34813 if (PyErr_Occurred()) SWIG_fail
;
34815 resultobj
= SWIG_Py_Void();
34822 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34823 PyObject
*resultobj
= 0;
34824 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34825 wxWindow
*arg2
= (wxWindow
*) 0 ;
34828 int arg5
= (int) 0 ;
34838 PyObject
* obj0
= 0 ;
34839 PyObject
* obj1
= 0 ;
34840 PyObject
* obj2
= 0 ;
34841 PyObject
* obj3
= 0 ;
34842 PyObject
* obj4
= 0 ;
34843 char * kwnames
[] = {
34844 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34849 if (!SWIG_IsOK(res1
)) {
34850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34852 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34853 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34854 if (!SWIG_IsOK(res2
)) {
34855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34857 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34858 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34859 if (!SWIG_IsOK(res3
)) {
34860 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34865 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34868 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34871 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34872 if (!SWIG_IsOK(ecode5
)) {
34873 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34875 arg5
= static_cast< int >(val5
);
34878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34879 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34880 wxPyEndAllowThreads(__tstate
);
34881 if (PyErr_Occurred()) SWIG_fail
;
34883 resultobj
= SWIG_Py_Void();
34890 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34891 PyObject
*resultobj
= 0;
34892 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34893 wxWindow
*arg2
= (wxWindow
*) 0 ;
34896 int arg5
= (int) 0 ;
34906 PyObject
* obj0
= 0 ;
34907 PyObject
* obj1
= 0 ;
34908 PyObject
* obj2
= 0 ;
34909 PyObject
* obj3
= 0 ;
34910 PyObject
* obj4
= 0 ;
34911 char * kwnames
[] = {
34912 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34917 if (!SWIG_IsOK(res1
)) {
34918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34920 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34921 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34922 if (!SWIG_IsOK(res2
)) {
34923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34925 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34926 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34927 if (!SWIG_IsOK(res3
)) {
34928 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34933 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34936 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34939 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34940 if (!SWIG_IsOK(ecode5
)) {
34941 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34943 arg5
= static_cast< int >(val5
);
34946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34947 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34948 wxPyEndAllowThreads(__tstate
);
34949 if (PyErr_Occurred()) SWIG_fail
;
34951 resultobj
= SWIG_Py_Void();
34958 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34959 PyObject
*resultobj
= 0;
34960 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34961 wxWindow
*arg2
= (wxWindow
*) 0 ;
34964 int arg5
= (int) 0 ;
34974 PyObject
* obj0
= 0 ;
34975 PyObject
* obj1
= 0 ;
34976 PyObject
* obj2
= 0 ;
34977 PyObject
* obj3
= 0 ;
34978 PyObject
* obj4
= 0 ;
34979 char * kwnames
[] = {
34980 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34985 if (!SWIG_IsOK(res1
)) {
34986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34988 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34989 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34990 if (!SWIG_IsOK(res2
)) {
34991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34993 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34994 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34995 if (!SWIG_IsOK(res3
)) {
34996 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35001 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35004 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35007 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35008 if (!SWIG_IsOK(ecode5
)) {
35009 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35011 arg5
= static_cast< int >(val5
);
35014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35015 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35016 wxPyEndAllowThreads(__tstate
);
35017 if (PyErr_Occurred()) SWIG_fail
;
35019 resultobj
= SWIG_Py_Void();
35026 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35027 PyObject
*resultobj
= 0;
35028 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35029 wxWindow
*arg2
= (wxWindow
*) 0 ;
35032 int arg5
= (int) 0 ;
35042 PyObject
* obj0
= 0 ;
35043 PyObject
* obj1
= 0 ;
35044 PyObject
* obj2
= 0 ;
35045 PyObject
* obj3
= 0 ;
35046 PyObject
* obj4
= 0 ;
35047 char * kwnames
[] = {
35048 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35053 if (!SWIG_IsOK(res1
)) {
35054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35056 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35057 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35058 if (!SWIG_IsOK(res2
)) {
35059 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35061 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35062 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35063 if (!SWIG_IsOK(res3
)) {
35064 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35069 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35072 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35075 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35076 if (!SWIG_IsOK(ecode5
)) {
35077 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35079 arg5
= static_cast< int >(val5
);
35082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35083 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35084 wxPyEndAllowThreads(__tstate
);
35085 if (PyErr_Occurred()) SWIG_fail
;
35087 resultobj
= SWIG_Py_Void();
35094 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35095 PyObject
*resultobj
= 0;
35096 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35097 wxWindow
*arg2
= (wxWindow
*) 0 ;
35100 int arg5
= (int) 0 ;
35110 PyObject
* obj0
= 0 ;
35111 PyObject
* obj1
= 0 ;
35112 PyObject
* obj2
= 0 ;
35113 PyObject
* obj3
= 0 ;
35114 PyObject
* obj4
= 0 ;
35115 char * kwnames
[] = {
35116 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35121 if (!SWIG_IsOK(res1
)) {
35122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35124 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35126 if (!SWIG_IsOK(res2
)) {
35127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35129 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35130 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35131 if (!SWIG_IsOK(res3
)) {
35132 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35137 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35140 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35143 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35144 if (!SWIG_IsOK(ecode5
)) {
35145 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35147 arg5
= static_cast< int >(val5
);
35150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35151 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35152 wxPyEndAllowThreads(__tstate
);
35153 if (PyErr_Occurred()) SWIG_fail
;
35155 resultobj
= SWIG_Py_Void();
35162 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35163 PyObject
*resultobj
= 0;
35164 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35165 wxWindow
*arg2
= (wxWindow
*) 0 ;
35166 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35171 PyObject
* obj0
= 0 ;
35172 PyObject
* obj1
= 0 ;
35173 char * kwnames
[] = {
35174 (char *) "self",(char *) "win", NULL
35177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35179 if (!SWIG_IsOK(res1
)) {
35180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35182 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35183 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35184 if (!SWIG_IsOK(res2
)) {
35185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35187 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35190 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35191 wxPyEndAllowThreads(__tstate
);
35192 if (PyErr_Occurred()) SWIG_fail
;
35194 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35201 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35202 PyObject
*resultobj
= 0;
35203 wxRendererNative
*result
= 0 ;
35205 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35207 if (!wxPyCheckForApp()) SWIG_fail
;
35208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35210 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35211 result
= (wxRendererNative
*) &_result_ref
;
35213 wxPyEndAllowThreads(__tstate
);
35214 if (PyErr_Occurred()) SWIG_fail
;
35216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35223 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35224 PyObject
*resultobj
= 0;
35225 wxRendererNative
*result
= 0 ;
35227 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35229 if (!wxPyCheckForApp()) SWIG_fail
;
35230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35232 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35233 result
= (wxRendererNative
*) &_result_ref
;
35235 wxPyEndAllowThreads(__tstate
);
35236 if (PyErr_Occurred()) SWIG_fail
;
35238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35245 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35246 PyObject
*resultobj
= 0;
35247 wxRendererNative
*result
= 0 ;
35249 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35251 if (!wxPyCheckForApp()) SWIG_fail
;
35252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35254 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35255 result
= (wxRendererNative
*) &_result_ref
;
35257 wxPyEndAllowThreads(__tstate
);
35258 if (PyErr_Occurred()) SWIG_fail
;
35260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35267 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35268 PyObject
*resultobj
= 0;
35269 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35270 wxRendererNative
*result
= 0 ;
35273 PyObject
* obj0
= 0 ;
35274 char * kwnames
[] = {
35275 (char *) "renderer", NULL
35278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35280 if (!SWIG_IsOK(res1
)) {
35281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35283 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35285 if (!wxPyCheckForApp()) SWIG_fail
;
35286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35287 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35288 wxPyEndAllowThreads(__tstate
);
35289 if (PyErr_Occurred()) SWIG_fail
;
35291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35298 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35299 PyObject
*resultobj
= 0;
35300 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35301 SwigValueWrapper
<wxRendererVersion
> result
;
35304 PyObject
*swig_obj
[1] ;
35306 if (!args
) SWIG_fail
;
35307 swig_obj
[0] = args
;
35308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35309 if (!SWIG_IsOK(res1
)) {
35310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35312 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35315 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35316 wxPyEndAllowThreads(__tstate
);
35317 if (PyErr_Occurred()) SWIG_fail
;
35319 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35326 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35329 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35330 return SWIG_Py_Void();
35333 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35334 PyObject
*resultobj
= 0;
35335 wxPseudoDC
*result
= 0 ;
35337 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35340 result
= (wxPseudoDC
*)new wxPseudoDC();
35341 wxPyEndAllowThreads(__tstate
);
35342 if (PyErr_Occurred()) SWIG_fail
;
35344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35351 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35352 PyObject
*resultobj
= 0;
35353 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35356 PyObject
*swig_obj
[1] ;
35358 if (!args
) SWIG_fail
;
35359 swig_obj
[0] = args
;
35360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35361 if (!SWIG_IsOK(res1
)) {
35362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35364 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35367 (arg1
)->BeginDrawing();
35368 wxPyEndAllowThreads(__tstate
);
35369 if (PyErr_Occurred()) SWIG_fail
;
35371 resultobj
= SWIG_Py_Void();
35378 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35379 PyObject
*resultobj
= 0;
35380 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35383 PyObject
*swig_obj
[1] ;
35385 if (!args
) SWIG_fail
;
35386 swig_obj
[0] = args
;
35387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35388 if (!SWIG_IsOK(res1
)) {
35389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35391 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35394 (arg1
)->EndDrawing();
35395 wxPyEndAllowThreads(__tstate
);
35396 if (PyErr_Occurred()) SWIG_fail
;
35398 resultobj
= SWIG_Py_Void();
35405 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35406 PyObject
*resultobj
= 0;
35407 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35410 PyObject
*swig_obj
[1] ;
35412 if (!args
) SWIG_fail
;
35413 swig_obj
[0] = args
;
35414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35415 if (!SWIG_IsOK(res1
)) {
35416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35418 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35423 wxPyEndAllowThreads(__tstate
);
35424 if (PyErr_Occurred()) SWIG_fail
;
35426 resultobj
= SWIG_Py_Void();
35433 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35434 PyObject
*resultobj
= 0;
35435 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35438 PyObject
*swig_obj
[1] ;
35440 if (!args
) SWIG_fail
;
35441 swig_obj
[0] = args
;
35442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35443 if (!SWIG_IsOK(res1
)) {
35444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35446 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35449 (arg1
)->RemoveAll();
35450 wxPyEndAllowThreads(__tstate
);
35451 if (PyErr_Occurred()) SWIG_fail
;
35453 resultobj
= SWIG_Py_Void();
35460 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35461 PyObject
*resultobj
= 0;
35462 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35466 PyObject
*swig_obj
[1] ;
35468 if (!args
) SWIG_fail
;
35469 swig_obj
[0] = args
;
35470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35471 if (!SWIG_IsOK(res1
)) {
35472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35474 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35477 result
= (int)(arg1
)->GetLen();
35478 wxPyEndAllowThreads(__tstate
);
35479 if (PyErr_Occurred()) SWIG_fail
;
35481 resultobj
= SWIG_From_int(static_cast< int >(result
));
35488 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35489 PyObject
*resultobj
= 0;
35490 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35496 PyObject
* obj0
= 0 ;
35497 PyObject
* obj1
= 0 ;
35498 char * kwnames
[] = {
35499 (char *) "self",(char *) "id", NULL
35502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35504 if (!SWIG_IsOK(res1
)) {
35505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35507 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35509 if (!SWIG_IsOK(ecode2
)) {
35510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35512 arg2
= static_cast< int >(val2
);
35514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35515 (arg1
)->SetId(arg2
);
35516 wxPyEndAllowThreads(__tstate
);
35517 if (PyErr_Occurred()) SWIG_fail
;
35519 resultobj
= SWIG_Py_Void();
35526 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35527 PyObject
*resultobj
= 0;
35528 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35534 PyObject
* obj0
= 0 ;
35535 PyObject
* obj1
= 0 ;
35536 char * kwnames
[] = {
35537 (char *) "self",(char *) "id", NULL
35540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35542 if (!SWIG_IsOK(res1
)) {
35543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35545 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35547 if (!SWIG_IsOK(ecode2
)) {
35548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35550 arg2
= static_cast< int >(val2
);
35552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35553 (arg1
)->ClearId(arg2
);
35554 wxPyEndAllowThreads(__tstate
);
35555 if (PyErr_Occurred()) SWIG_fail
;
35557 resultobj
= SWIG_Py_Void();
35564 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35565 PyObject
*resultobj
= 0;
35566 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35572 PyObject
* obj0
= 0 ;
35573 PyObject
* obj1
= 0 ;
35574 char * kwnames
[] = {
35575 (char *) "self",(char *) "id", NULL
35578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35580 if (!SWIG_IsOK(res1
)) {
35581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35583 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35585 if (!SWIG_IsOK(ecode2
)) {
35586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35588 arg2
= static_cast< int >(val2
);
35590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35591 (arg1
)->RemoveId(arg2
);
35592 wxPyEndAllowThreads(__tstate
);
35593 if (PyErr_Occurred()) SWIG_fail
;
35595 resultobj
= SWIG_Py_Void();
35602 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35603 PyObject
*resultobj
= 0;
35604 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35616 PyObject
* obj0
= 0 ;
35617 PyObject
* obj1
= 0 ;
35618 PyObject
* obj2
= 0 ;
35619 PyObject
* obj3
= 0 ;
35620 char * kwnames
[] = {
35621 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35626 if (!SWIG_IsOK(res1
)) {
35627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35629 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35631 if (!SWIG_IsOK(ecode2
)) {
35632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35634 arg2
= static_cast< int >(val2
);
35635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35636 if (!SWIG_IsOK(ecode3
)) {
35637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35639 arg3
= static_cast< int >(val3
);
35640 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35641 if (!SWIG_IsOK(ecode4
)) {
35642 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35644 arg4
= static_cast< int >(val4
);
35646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35647 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35648 wxPyEndAllowThreads(__tstate
);
35649 if (PyErr_Occurred()) SWIG_fail
;
35651 resultobj
= SWIG_Py_Void();
35658 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35659 PyObject
*resultobj
= 0;
35660 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35662 bool arg3
= (bool) true ;
35669 PyObject
* obj0
= 0 ;
35670 PyObject
* obj1
= 0 ;
35671 PyObject
* obj2
= 0 ;
35672 char * kwnames
[] = {
35673 (char *) "self",(char *) "id",(char *) "greyout", NULL
35676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35678 if (!SWIG_IsOK(res1
)) {
35679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35681 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35683 if (!SWIG_IsOK(ecode2
)) {
35684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35686 arg2
= static_cast< int >(val2
);
35688 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35689 if (!SWIG_IsOK(ecode3
)) {
35690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35692 arg3
= static_cast< bool >(val3
);
35695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35696 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35697 wxPyEndAllowThreads(__tstate
);
35698 if (PyErr_Occurred()) SWIG_fail
;
35700 resultobj
= SWIG_Py_Void();
35707 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35708 PyObject
*resultobj
= 0;
35709 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35716 PyObject
* obj0
= 0 ;
35717 PyObject
* obj1
= 0 ;
35718 char * kwnames
[] = {
35719 (char *) "self",(char *) "id", NULL
35722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35724 if (!SWIG_IsOK(res1
)) {
35725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35727 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35729 if (!SWIG_IsOK(ecode2
)) {
35730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35732 arg2
= static_cast< int >(val2
);
35734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35735 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35736 wxPyEndAllowThreads(__tstate
);
35737 if (PyErr_Occurred()) SWIG_fail
;
35740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35748 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35749 PyObject
*resultobj
= 0;
35750 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35753 int arg4
= (int) 1 ;
35754 wxColor
const &arg5_defvalue
= *wxWHITE
;
35755 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35756 PyObject
*result
= 0 ;
35767 PyObject
* obj0
= 0 ;
35768 PyObject
* obj1
= 0 ;
35769 PyObject
* obj2
= 0 ;
35770 PyObject
* obj3
= 0 ;
35771 PyObject
* obj4
= 0 ;
35772 char * kwnames
[] = {
35773 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35778 if (!SWIG_IsOK(res1
)) {
35779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35781 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35783 if (!SWIG_IsOK(ecode2
)) {
35784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35786 arg2
= static_cast< int >(val2
);
35787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35788 if (!SWIG_IsOK(ecode3
)) {
35789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35791 arg3
= static_cast< int >(val3
);
35793 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35794 if (!SWIG_IsOK(ecode4
)) {
35795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35797 arg4
= static_cast< int >(val4
);
35800 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35801 if (!SWIG_IsOK(res5
)) {
35802 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35807 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35810 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35811 if (PyErr_Occurred()) SWIG_fail
;
35813 resultobj
= result
;
35820 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35821 PyObject
*resultobj
= 0;
35822 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35825 PyObject
*result
= 0 ;
35832 PyObject
* obj0
= 0 ;
35833 PyObject
* obj1
= 0 ;
35834 PyObject
* obj2
= 0 ;
35835 char * kwnames
[] = {
35836 (char *) "self",(char *) "x",(char *) "y", NULL
35839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35841 if (!SWIG_IsOK(res1
)) {
35842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35844 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35846 if (!SWIG_IsOK(ecode2
)) {
35847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35849 arg2
= static_cast< int >(val2
);
35850 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35851 if (!SWIG_IsOK(ecode3
)) {
35852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35854 arg3
= static_cast< int >(val3
);
35856 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35857 if (PyErr_Occurred()) SWIG_fail
;
35859 resultobj
= result
;
35866 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35867 PyObject
*resultobj
= 0;
35868 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35870 wxDC
*arg3
= (wxDC
*) 0 ;
35877 PyObject
* obj0
= 0 ;
35878 PyObject
* obj1
= 0 ;
35879 PyObject
* obj2
= 0 ;
35880 char * kwnames
[] = {
35881 (char *) "self",(char *) "id",(char *) "dc", NULL
35884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35886 if (!SWIG_IsOK(res1
)) {
35887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35889 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35891 if (!SWIG_IsOK(ecode2
)) {
35892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35894 arg2
= static_cast< int >(val2
);
35895 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35896 if (!SWIG_IsOK(res3
)) {
35897 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35899 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35902 (arg1
)->DrawIdToDC(arg2
,arg3
);
35903 wxPyEndAllowThreads(__tstate
);
35904 if (PyErr_Occurred()) SWIG_fail
;
35906 resultobj
= SWIG_Py_Void();
35913 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35914 PyObject
*resultobj
= 0;
35915 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35923 PyObject
* obj0
= 0 ;
35924 PyObject
* obj1
= 0 ;
35925 PyObject
* obj2
= 0 ;
35926 char * kwnames
[] = {
35927 (char *) "self",(char *) "id",(char *) "rect", NULL
35930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35932 if (!SWIG_IsOK(res1
)) {
35933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35935 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35937 if (!SWIG_IsOK(ecode2
)) {
35938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35940 arg2
= static_cast< int >(val2
);
35943 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35947 (arg1
)->SetIdBounds(arg2
,*arg3
);
35948 wxPyEndAllowThreads(__tstate
);
35949 if (PyErr_Occurred()) SWIG_fail
;
35951 resultobj
= SWIG_Py_Void();
35958 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35959 PyObject
*resultobj
= 0;
35960 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35967 PyObject
* obj0
= 0 ;
35968 PyObject
* obj1
= 0 ;
35969 char * kwnames
[] = {
35970 (char *) "self",(char *) "id", NULL
35973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35975 if (!SWIG_IsOK(res1
)) {
35976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35978 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35980 if (!SWIG_IsOK(ecode2
)) {
35981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35983 arg2
= static_cast< int >(val2
);
35985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35986 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35987 wxPyEndAllowThreads(__tstate
);
35988 if (PyErr_Occurred()) SWIG_fail
;
35990 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35997 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35998 PyObject
*resultobj
= 0;
35999 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36000 wxDC
*arg2
= (wxDC
*) 0 ;
36007 PyObject
* obj0
= 0 ;
36008 PyObject
* obj1
= 0 ;
36009 PyObject
* obj2
= 0 ;
36010 char * kwnames
[] = {
36011 (char *) "self",(char *) "dc",(char *) "rect", NULL
36014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36016 if (!SWIG_IsOK(res1
)) {
36017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36019 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36020 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36021 if (!SWIG_IsOK(res2
)) {
36022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36024 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36027 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36031 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36032 wxPyEndAllowThreads(__tstate
);
36033 if (PyErr_Occurred()) SWIG_fail
;
36035 resultobj
= SWIG_Py_Void();
36042 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36043 PyObject
*resultobj
= 0;
36044 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36045 wxDC
*arg2
= (wxDC
*) 0 ;
36046 wxRegion
*arg3
= 0 ;
36053 PyObject
* obj0
= 0 ;
36054 PyObject
* obj1
= 0 ;
36055 PyObject
* obj2
= 0 ;
36056 char * kwnames
[] = {
36057 (char *) "self",(char *) "dc",(char *) "region", NULL
36060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36062 if (!SWIG_IsOK(res1
)) {
36063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36065 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36066 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36067 if (!SWIG_IsOK(res2
)) {
36068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36070 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36071 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36072 if (!SWIG_IsOK(res3
)) {
36073 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36078 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36081 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36082 wxPyEndAllowThreads(__tstate
);
36083 if (PyErr_Occurred()) SWIG_fail
;
36085 resultobj
= SWIG_Py_Void();
36092 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36093 PyObject
*resultobj
= 0;
36094 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36095 wxDC
*arg2
= (wxDC
*) 0 ;
36100 PyObject
* obj0
= 0 ;
36101 PyObject
* obj1
= 0 ;
36102 char * kwnames
[] = {
36103 (char *) "self",(char *) "dc", NULL
36106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36108 if (!SWIG_IsOK(res1
)) {
36109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36111 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36112 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36113 if (!SWIG_IsOK(res2
)) {
36114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36116 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36119 (arg1
)->DrawToDC(arg2
);
36120 wxPyEndAllowThreads(__tstate
);
36121 if (PyErr_Occurred()) SWIG_fail
;
36123 resultobj
= SWIG_Py_Void();
36130 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36131 PyObject
*resultobj
= 0;
36132 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36135 wxColour
*arg4
= 0 ;
36136 int arg5
= (int) wxFLOOD_SURFACE
;
36146 PyObject
* obj0
= 0 ;
36147 PyObject
* obj1
= 0 ;
36148 PyObject
* obj2
= 0 ;
36149 PyObject
* obj3
= 0 ;
36150 PyObject
* obj4
= 0 ;
36151 char * kwnames
[] = {
36152 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36157 if (!SWIG_IsOK(res1
)) {
36158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36160 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36162 if (!SWIG_IsOK(ecode2
)) {
36163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36165 arg2
= static_cast< int >(val2
);
36166 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36167 if (!SWIG_IsOK(ecode3
)) {
36168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36170 arg3
= static_cast< int >(val3
);
36173 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36176 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36177 if (!SWIG_IsOK(ecode5
)) {
36178 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36180 arg5
= static_cast< int >(val5
);
36183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36184 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36185 wxPyEndAllowThreads(__tstate
);
36186 if (PyErr_Occurred()) SWIG_fail
;
36188 resultobj
= SWIG_Py_Void();
36195 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36196 PyObject
*resultobj
= 0;
36197 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36198 wxPoint
*arg2
= 0 ;
36199 wxColour
*arg3
= 0 ;
36200 int arg4
= (int) wxFLOOD_SURFACE
;
36207 PyObject
* obj0
= 0 ;
36208 PyObject
* obj1
= 0 ;
36209 PyObject
* obj2
= 0 ;
36210 PyObject
* obj3
= 0 ;
36211 char * kwnames
[] = {
36212 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36217 if (!SWIG_IsOK(res1
)) {
36218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36220 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36223 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36227 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36230 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36231 if (!SWIG_IsOK(ecode4
)) {
36232 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36234 arg4
= static_cast< int >(val4
);
36237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36238 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36239 wxPyEndAllowThreads(__tstate
);
36240 if (PyErr_Occurred()) SWIG_fail
;
36242 resultobj
= SWIG_Py_Void();
36249 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36250 PyObject
*resultobj
= 0;
36251 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36266 PyObject
* obj0
= 0 ;
36267 PyObject
* obj1
= 0 ;
36268 PyObject
* obj2
= 0 ;
36269 PyObject
* obj3
= 0 ;
36270 PyObject
* obj4
= 0 ;
36271 char * kwnames
[] = {
36272 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36277 if (!SWIG_IsOK(res1
)) {
36278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36280 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36282 if (!SWIG_IsOK(ecode2
)) {
36283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36285 arg2
= static_cast< int >(val2
);
36286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36287 if (!SWIG_IsOK(ecode3
)) {
36288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36290 arg3
= static_cast< int >(val3
);
36291 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36292 if (!SWIG_IsOK(ecode4
)) {
36293 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36295 arg4
= static_cast< int >(val4
);
36296 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36297 if (!SWIG_IsOK(ecode5
)) {
36298 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36300 arg5
= static_cast< int >(val5
);
36302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36303 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36304 wxPyEndAllowThreads(__tstate
);
36305 if (PyErr_Occurred()) SWIG_fail
;
36307 resultobj
= SWIG_Py_Void();
36314 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36315 PyObject
*resultobj
= 0;
36316 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36317 wxPoint
*arg2
= 0 ;
36318 wxPoint
*arg3
= 0 ;
36323 PyObject
* obj0
= 0 ;
36324 PyObject
* obj1
= 0 ;
36325 PyObject
* obj2
= 0 ;
36326 char * kwnames
[] = {
36327 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36332 if (!SWIG_IsOK(res1
)) {
36333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36335 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36338 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36342 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36346 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36347 wxPyEndAllowThreads(__tstate
);
36348 if (PyErr_Occurred()) SWIG_fail
;
36350 resultobj
= SWIG_Py_Void();
36357 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36358 PyObject
*resultobj
= 0;
36359 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36368 PyObject
* obj0
= 0 ;
36369 PyObject
* obj1
= 0 ;
36370 PyObject
* obj2
= 0 ;
36371 char * kwnames
[] = {
36372 (char *) "self",(char *) "x",(char *) "y", NULL
36375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36377 if (!SWIG_IsOK(res1
)) {
36378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36380 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36381 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36382 if (!SWIG_IsOK(ecode2
)) {
36383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36385 arg2
= static_cast< int >(val2
);
36386 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36387 if (!SWIG_IsOK(ecode3
)) {
36388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36390 arg3
= static_cast< int >(val3
);
36392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36393 (arg1
)->CrossHair(arg2
,arg3
);
36394 wxPyEndAllowThreads(__tstate
);
36395 if (PyErr_Occurred()) SWIG_fail
;
36397 resultobj
= SWIG_Py_Void();
36404 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36405 PyObject
*resultobj
= 0;
36406 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36407 wxPoint
*arg2
= 0 ;
36411 PyObject
* obj0
= 0 ;
36412 PyObject
* obj1
= 0 ;
36413 char * kwnames
[] = {
36414 (char *) "self",(char *) "pt", NULL
36417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36419 if (!SWIG_IsOK(res1
)) {
36420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36422 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36425 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36429 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36430 wxPyEndAllowThreads(__tstate
);
36431 if (PyErr_Occurred()) SWIG_fail
;
36433 resultobj
= SWIG_Py_Void();
36440 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36441 PyObject
*resultobj
= 0;
36442 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36463 PyObject
* obj0
= 0 ;
36464 PyObject
* obj1
= 0 ;
36465 PyObject
* obj2
= 0 ;
36466 PyObject
* obj3
= 0 ;
36467 PyObject
* obj4
= 0 ;
36468 PyObject
* obj5
= 0 ;
36469 PyObject
* obj6
= 0 ;
36470 char * kwnames
[] = {
36471 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36476 if (!SWIG_IsOK(res1
)) {
36477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36479 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36481 if (!SWIG_IsOK(ecode2
)) {
36482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36484 arg2
= static_cast< int >(val2
);
36485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36486 if (!SWIG_IsOK(ecode3
)) {
36487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36489 arg3
= static_cast< int >(val3
);
36490 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36491 if (!SWIG_IsOK(ecode4
)) {
36492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36494 arg4
= static_cast< int >(val4
);
36495 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36496 if (!SWIG_IsOK(ecode5
)) {
36497 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36499 arg5
= static_cast< int >(val5
);
36500 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36501 if (!SWIG_IsOK(ecode6
)) {
36502 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36504 arg6
= static_cast< int >(val6
);
36505 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36506 if (!SWIG_IsOK(ecode7
)) {
36507 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36509 arg7
= static_cast< int >(val7
);
36511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36512 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36513 wxPyEndAllowThreads(__tstate
);
36514 if (PyErr_Occurred()) SWIG_fail
;
36516 resultobj
= SWIG_Py_Void();
36523 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36524 PyObject
*resultobj
= 0;
36525 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36526 wxPoint
*arg2
= 0 ;
36527 wxPoint
*arg3
= 0 ;
36528 wxPoint
*arg4
= 0 ;
36534 PyObject
* obj0
= 0 ;
36535 PyObject
* obj1
= 0 ;
36536 PyObject
* obj2
= 0 ;
36537 PyObject
* obj3
= 0 ;
36538 char * kwnames
[] = {
36539 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36544 if (!SWIG_IsOK(res1
)) {
36545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36547 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36550 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36554 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36558 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36562 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36563 wxPyEndAllowThreads(__tstate
);
36564 if (PyErr_Occurred()) SWIG_fail
;
36566 resultobj
= SWIG_Py_Void();
36573 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36574 PyObject
*resultobj
= 0;
36575 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36590 PyObject
* obj0
= 0 ;
36591 PyObject
* obj1
= 0 ;
36592 PyObject
* obj2
= 0 ;
36593 PyObject
* obj3
= 0 ;
36594 PyObject
* obj4
= 0 ;
36595 char * kwnames
[] = {
36596 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36601 if (!SWIG_IsOK(res1
)) {
36602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36604 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36606 if (!SWIG_IsOK(ecode2
)) {
36607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36609 arg2
= static_cast< int >(val2
);
36610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36611 if (!SWIG_IsOK(ecode3
)) {
36612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36614 arg3
= static_cast< int >(val3
);
36615 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36616 if (!SWIG_IsOK(ecode4
)) {
36617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36619 arg4
= static_cast< int >(val4
);
36620 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36621 if (!SWIG_IsOK(ecode5
)) {
36622 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36624 arg5
= static_cast< int >(val5
);
36626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36627 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36628 wxPyEndAllowThreads(__tstate
);
36629 if (PyErr_Occurred()) SWIG_fail
;
36631 resultobj
= SWIG_Py_Void();
36638 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36639 PyObject
*resultobj
= 0;
36640 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36645 PyObject
* obj0
= 0 ;
36646 PyObject
* obj1
= 0 ;
36647 char * kwnames
[] = {
36648 (char *) "self",(char *) "rect", NULL
36651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36653 if (!SWIG_IsOK(res1
)) {
36654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36656 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36659 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36663 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36664 wxPyEndAllowThreads(__tstate
);
36665 if (PyErr_Occurred()) SWIG_fail
;
36667 resultobj
= SWIG_Py_Void();
36674 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36675 PyObject
*resultobj
= 0;
36676 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36697 PyObject
* obj0
= 0 ;
36698 PyObject
* obj1
= 0 ;
36699 PyObject
* obj2
= 0 ;
36700 PyObject
* obj3
= 0 ;
36701 PyObject
* obj4
= 0 ;
36702 PyObject
* obj5
= 0 ;
36703 PyObject
* obj6
= 0 ;
36704 char * kwnames
[] = {
36705 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36710 if (!SWIG_IsOK(res1
)) {
36711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36713 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36715 if (!SWIG_IsOK(ecode2
)) {
36716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36718 arg2
= static_cast< int >(val2
);
36719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36720 if (!SWIG_IsOK(ecode3
)) {
36721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36723 arg3
= static_cast< int >(val3
);
36724 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36725 if (!SWIG_IsOK(ecode4
)) {
36726 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36728 arg4
= static_cast< int >(val4
);
36729 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36730 if (!SWIG_IsOK(ecode5
)) {
36731 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36733 arg5
= static_cast< int >(val5
);
36734 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36735 if (!SWIG_IsOK(ecode6
)) {
36736 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36738 arg6
= static_cast< double >(val6
);
36739 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36740 if (!SWIG_IsOK(ecode7
)) {
36741 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36743 arg7
= static_cast< double >(val7
);
36745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36746 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36747 wxPyEndAllowThreads(__tstate
);
36748 if (PyErr_Occurred()) SWIG_fail
;
36750 resultobj
= SWIG_Py_Void();
36757 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36758 PyObject
*resultobj
= 0;
36759 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36760 wxPoint
*arg2
= 0 ;
36772 PyObject
* obj0
= 0 ;
36773 PyObject
* obj1
= 0 ;
36774 PyObject
* obj2
= 0 ;
36775 PyObject
* obj3
= 0 ;
36776 PyObject
* obj4
= 0 ;
36777 char * kwnames
[] = {
36778 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36783 if (!SWIG_IsOK(res1
)) {
36784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36786 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36789 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36793 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36795 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36796 if (!SWIG_IsOK(ecode4
)) {
36797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36799 arg4
= static_cast< double >(val4
);
36800 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36801 if (!SWIG_IsOK(ecode5
)) {
36802 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36804 arg5
= static_cast< double >(val5
);
36806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36807 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36808 wxPyEndAllowThreads(__tstate
);
36809 if (PyErr_Occurred()) SWIG_fail
;
36811 resultobj
= SWIG_Py_Void();
36818 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36819 PyObject
*resultobj
= 0;
36820 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36829 PyObject
* obj0
= 0 ;
36830 PyObject
* obj1
= 0 ;
36831 PyObject
* obj2
= 0 ;
36832 char * kwnames
[] = {
36833 (char *) "self",(char *) "x",(char *) "y", NULL
36836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36838 if (!SWIG_IsOK(res1
)) {
36839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36841 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36843 if (!SWIG_IsOK(ecode2
)) {
36844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36846 arg2
= static_cast< int >(val2
);
36847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36848 if (!SWIG_IsOK(ecode3
)) {
36849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36851 arg3
= static_cast< int >(val3
);
36853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36854 (arg1
)->DrawPoint(arg2
,arg3
);
36855 wxPyEndAllowThreads(__tstate
);
36856 if (PyErr_Occurred()) SWIG_fail
;
36858 resultobj
= SWIG_Py_Void();
36865 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36866 PyObject
*resultobj
= 0;
36867 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36868 wxPoint
*arg2
= 0 ;
36872 PyObject
* obj0
= 0 ;
36873 PyObject
* obj1
= 0 ;
36874 char * kwnames
[] = {
36875 (char *) "self",(char *) "pt", NULL
36878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36880 if (!SWIG_IsOK(res1
)) {
36881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36883 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36890 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36891 wxPyEndAllowThreads(__tstate
);
36892 if (PyErr_Occurred()) SWIG_fail
;
36894 resultobj
= SWIG_Py_Void();
36901 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36902 PyObject
*resultobj
= 0;
36903 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36918 PyObject
* obj0
= 0 ;
36919 PyObject
* obj1
= 0 ;
36920 PyObject
* obj2
= 0 ;
36921 PyObject
* obj3
= 0 ;
36922 PyObject
* obj4
= 0 ;
36923 char * kwnames
[] = {
36924 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36929 if (!SWIG_IsOK(res1
)) {
36930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36932 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36934 if (!SWIG_IsOK(ecode2
)) {
36935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36937 arg2
= static_cast< int >(val2
);
36938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36939 if (!SWIG_IsOK(ecode3
)) {
36940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36942 arg3
= static_cast< int >(val3
);
36943 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36944 if (!SWIG_IsOK(ecode4
)) {
36945 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36947 arg4
= static_cast< int >(val4
);
36948 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36949 if (!SWIG_IsOK(ecode5
)) {
36950 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36952 arg5
= static_cast< int >(val5
);
36954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36955 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36956 wxPyEndAllowThreads(__tstate
);
36957 if (PyErr_Occurred()) SWIG_fail
;
36959 resultobj
= SWIG_Py_Void();
36966 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36967 PyObject
*resultobj
= 0;
36968 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36973 PyObject
* obj0
= 0 ;
36974 PyObject
* obj1
= 0 ;
36975 char * kwnames
[] = {
36976 (char *) "self",(char *) "rect", NULL
36979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36981 if (!SWIG_IsOK(res1
)) {
36982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36984 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36987 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36991 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36992 wxPyEndAllowThreads(__tstate
);
36993 if (PyErr_Occurred()) SWIG_fail
;
36995 resultobj
= SWIG_Py_Void();
37002 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37003 PyObject
*resultobj
= 0;
37004 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37005 wxPoint
*arg2
= 0 ;
37011 PyObject
* obj0
= 0 ;
37012 PyObject
* obj1
= 0 ;
37013 PyObject
* obj2
= 0 ;
37014 char * kwnames
[] = {
37015 (char *) "self",(char *) "pt",(char *) "sz", NULL
37018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37020 if (!SWIG_IsOK(res1
)) {
37021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37023 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37026 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37030 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37034 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37035 wxPyEndAllowThreads(__tstate
);
37036 if (PyErr_Occurred()) SWIG_fail
;
37038 resultobj
= SWIG_Py_Void();
37045 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37046 PyObject
*resultobj
= 0;
37047 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37065 PyObject
* obj0
= 0 ;
37066 PyObject
* obj1
= 0 ;
37067 PyObject
* obj2
= 0 ;
37068 PyObject
* obj3
= 0 ;
37069 PyObject
* obj4
= 0 ;
37070 PyObject
* obj5
= 0 ;
37071 char * kwnames
[] = {
37072 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37077 if (!SWIG_IsOK(res1
)) {
37078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37080 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37082 if (!SWIG_IsOK(ecode2
)) {
37083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37085 arg2
= static_cast< int >(val2
);
37086 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37087 if (!SWIG_IsOK(ecode3
)) {
37088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37090 arg3
= static_cast< int >(val3
);
37091 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37092 if (!SWIG_IsOK(ecode4
)) {
37093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37095 arg4
= static_cast< int >(val4
);
37096 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37097 if (!SWIG_IsOK(ecode5
)) {
37098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37100 arg5
= static_cast< int >(val5
);
37101 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37102 if (!SWIG_IsOK(ecode6
)) {
37103 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37105 arg6
= static_cast< double >(val6
);
37107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37108 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37109 wxPyEndAllowThreads(__tstate
);
37110 if (PyErr_Occurred()) SWIG_fail
;
37112 resultobj
= SWIG_Py_Void();
37119 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37120 PyObject
*resultobj
= 0;
37121 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37129 PyObject
* obj0
= 0 ;
37130 PyObject
* obj1
= 0 ;
37131 PyObject
* obj2
= 0 ;
37132 char * kwnames
[] = {
37133 (char *) "self",(char *) "r",(char *) "radius", NULL
37136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37138 if (!SWIG_IsOK(res1
)) {
37139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37141 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37144 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37146 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37147 if (!SWIG_IsOK(ecode3
)) {
37148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37150 arg3
= static_cast< double >(val3
);
37152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37153 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37154 wxPyEndAllowThreads(__tstate
);
37155 if (PyErr_Occurred()) SWIG_fail
;
37157 resultobj
= SWIG_Py_Void();
37164 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37165 PyObject
*resultobj
= 0;
37166 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37167 wxPoint
*arg2
= 0 ;
37176 PyObject
* obj0
= 0 ;
37177 PyObject
* obj1
= 0 ;
37178 PyObject
* obj2
= 0 ;
37179 PyObject
* obj3
= 0 ;
37180 char * kwnames
[] = {
37181 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37186 if (!SWIG_IsOK(res1
)) {
37187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37189 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37192 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37196 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37198 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37199 if (!SWIG_IsOK(ecode4
)) {
37200 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37202 arg4
= static_cast< double >(val4
);
37204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37205 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37206 wxPyEndAllowThreads(__tstate
);
37207 if (PyErr_Occurred()) SWIG_fail
;
37209 resultobj
= SWIG_Py_Void();
37216 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37217 PyObject
*resultobj
= 0;
37218 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37230 PyObject
* obj0
= 0 ;
37231 PyObject
* obj1
= 0 ;
37232 PyObject
* obj2
= 0 ;
37233 PyObject
* obj3
= 0 ;
37234 char * kwnames
[] = {
37235 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37240 if (!SWIG_IsOK(res1
)) {
37241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37243 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37245 if (!SWIG_IsOK(ecode2
)) {
37246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37248 arg2
= static_cast< int >(val2
);
37249 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37250 if (!SWIG_IsOK(ecode3
)) {
37251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37253 arg3
= static_cast< int >(val3
);
37254 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37255 if (!SWIG_IsOK(ecode4
)) {
37256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37258 arg4
= static_cast< int >(val4
);
37260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37261 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37262 wxPyEndAllowThreads(__tstate
);
37263 if (PyErr_Occurred()) SWIG_fail
;
37265 resultobj
= SWIG_Py_Void();
37272 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37273 PyObject
*resultobj
= 0;
37274 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37275 wxPoint
*arg2
= 0 ;
37282 PyObject
* obj0
= 0 ;
37283 PyObject
* obj1
= 0 ;
37284 PyObject
* obj2
= 0 ;
37285 char * kwnames
[] = {
37286 (char *) "self",(char *) "pt",(char *) "radius", NULL
37289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37291 if (!SWIG_IsOK(res1
)) {
37292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37294 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37297 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37300 if (!SWIG_IsOK(ecode3
)) {
37301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37303 arg3
= static_cast< int >(val3
);
37305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37306 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37307 wxPyEndAllowThreads(__tstate
);
37308 if (PyErr_Occurred()) SWIG_fail
;
37310 resultobj
= SWIG_Py_Void();
37317 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37318 PyObject
*resultobj
= 0;
37319 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37334 PyObject
* obj0
= 0 ;
37335 PyObject
* obj1
= 0 ;
37336 PyObject
* obj2
= 0 ;
37337 PyObject
* obj3
= 0 ;
37338 PyObject
* obj4
= 0 ;
37339 char * kwnames
[] = {
37340 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37345 if (!SWIG_IsOK(res1
)) {
37346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37348 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37350 if (!SWIG_IsOK(ecode2
)) {
37351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37353 arg2
= static_cast< int >(val2
);
37354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37355 if (!SWIG_IsOK(ecode3
)) {
37356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37358 arg3
= static_cast< int >(val3
);
37359 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37360 if (!SWIG_IsOK(ecode4
)) {
37361 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37363 arg4
= static_cast< int >(val4
);
37364 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37365 if (!SWIG_IsOK(ecode5
)) {
37366 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37368 arg5
= static_cast< int >(val5
);
37370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37371 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37372 wxPyEndAllowThreads(__tstate
);
37373 if (PyErr_Occurred()) SWIG_fail
;
37375 resultobj
= SWIG_Py_Void();
37382 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37383 PyObject
*resultobj
= 0;
37384 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37389 PyObject
* obj0
= 0 ;
37390 PyObject
* obj1
= 0 ;
37391 char * kwnames
[] = {
37392 (char *) "self",(char *) "rect", NULL
37395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37397 if (!SWIG_IsOK(res1
)) {
37398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37400 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37403 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37407 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37408 wxPyEndAllowThreads(__tstate
);
37409 if (PyErr_Occurred()) SWIG_fail
;
37411 resultobj
= SWIG_Py_Void();
37418 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37419 PyObject
*resultobj
= 0;
37420 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37421 wxPoint
*arg2
= 0 ;
37427 PyObject
* obj0
= 0 ;
37428 PyObject
* obj1
= 0 ;
37429 PyObject
* obj2
= 0 ;
37430 char * kwnames
[] = {
37431 (char *) "self",(char *) "pt",(char *) "sz", NULL
37434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37436 if (!SWIG_IsOK(res1
)) {
37437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37439 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37442 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37446 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37450 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37451 wxPyEndAllowThreads(__tstate
);
37452 if (PyErr_Occurred()) SWIG_fail
;
37454 resultobj
= SWIG_Py_Void();
37461 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37462 PyObject
*resultobj
= 0;
37463 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37475 PyObject
* obj0
= 0 ;
37476 PyObject
* obj1
= 0 ;
37477 PyObject
* obj2
= 0 ;
37478 PyObject
* obj3
= 0 ;
37479 char * kwnames
[] = {
37480 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37485 if (!SWIG_IsOK(res1
)) {
37486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37488 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37489 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37490 if (!SWIG_IsOK(res2
)) {
37491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37496 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37498 if (!SWIG_IsOK(ecode3
)) {
37499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37501 arg3
= static_cast< int >(val3
);
37502 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37503 if (!SWIG_IsOK(ecode4
)) {
37504 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37506 arg4
= static_cast< int >(val4
);
37508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37509 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37510 wxPyEndAllowThreads(__tstate
);
37511 if (PyErr_Occurred()) SWIG_fail
;
37513 resultobj
= SWIG_Py_Void();
37520 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37521 PyObject
*resultobj
= 0;
37522 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37524 wxPoint
*arg3
= 0 ;
37530 PyObject
* obj0
= 0 ;
37531 PyObject
* obj1
= 0 ;
37532 PyObject
* obj2
= 0 ;
37533 char * kwnames
[] = {
37534 (char *) "self",(char *) "icon",(char *) "pt", NULL
37537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37539 if (!SWIG_IsOK(res1
)) {
37540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37542 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37544 if (!SWIG_IsOK(res2
)) {
37545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37550 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37553 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37557 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37558 wxPyEndAllowThreads(__tstate
);
37559 if (PyErr_Occurred()) SWIG_fail
;
37561 resultobj
= SWIG_Py_Void();
37568 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37569 PyObject
*resultobj
= 0;
37570 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37571 wxBitmap
*arg2
= 0 ;
37574 bool arg5
= (bool) false ;
37585 PyObject
* obj0
= 0 ;
37586 PyObject
* obj1
= 0 ;
37587 PyObject
* obj2
= 0 ;
37588 PyObject
* obj3
= 0 ;
37589 PyObject
* obj4
= 0 ;
37590 char * kwnames
[] = {
37591 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37596 if (!SWIG_IsOK(res1
)) {
37597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37599 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37601 if (!SWIG_IsOK(res2
)) {
37602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37607 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37609 if (!SWIG_IsOK(ecode3
)) {
37610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37612 arg3
= static_cast< int >(val3
);
37613 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37614 if (!SWIG_IsOK(ecode4
)) {
37615 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37617 arg4
= static_cast< int >(val4
);
37619 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37620 if (!SWIG_IsOK(ecode5
)) {
37621 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37623 arg5
= static_cast< bool >(val5
);
37626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37627 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37628 wxPyEndAllowThreads(__tstate
);
37629 if (PyErr_Occurred()) SWIG_fail
;
37631 resultobj
= SWIG_Py_Void();
37638 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37639 PyObject
*resultobj
= 0;
37640 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37641 wxBitmap
*arg2
= 0 ;
37642 wxPoint
*arg3
= 0 ;
37643 bool arg4
= (bool) false ;
37651 PyObject
* obj0
= 0 ;
37652 PyObject
* obj1
= 0 ;
37653 PyObject
* obj2
= 0 ;
37654 PyObject
* obj3
= 0 ;
37655 char * kwnames
[] = {
37656 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37661 if (!SWIG_IsOK(res1
)) {
37662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37664 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37666 if (!SWIG_IsOK(res2
)) {
37667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37672 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37675 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37678 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37679 if (!SWIG_IsOK(ecode4
)) {
37680 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37682 arg4
= static_cast< bool >(val4
);
37685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37686 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37687 wxPyEndAllowThreads(__tstate
);
37688 if (PyErr_Occurred()) SWIG_fail
;
37690 resultobj
= SWIG_Py_Void();
37697 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37698 PyObject
*resultobj
= 0;
37699 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37700 wxString
*arg2
= 0 ;
37705 bool temp2
= false ;
37710 PyObject
* obj0
= 0 ;
37711 PyObject
* obj1
= 0 ;
37712 PyObject
* obj2
= 0 ;
37713 PyObject
* obj3
= 0 ;
37714 char * kwnames
[] = {
37715 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37720 if (!SWIG_IsOK(res1
)) {
37721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37723 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37725 arg2
= wxString_in_helper(obj1
);
37726 if (arg2
== NULL
) SWIG_fail
;
37729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37730 if (!SWIG_IsOK(ecode3
)) {
37731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37733 arg3
= static_cast< int >(val3
);
37734 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37735 if (!SWIG_IsOK(ecode4
)) {
37736 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37738 arg4
= static_cast< int >(val4
);
37740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37741 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37742 wxPyEndAllowThreads(__tstate
);
37743 if (PyErr_Occurred()) SWIG_fail
;
37745 resultobj
= SWIG_Py_Void();
37760 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37761 PyObject
*resultobj
= 0;
37762 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37763 wxString
*arg2
= 0 ;
37764 wxPoint
*arg3
= 0 ;
37767 bool temp2
= false ;
37769 PyObject
* obj0
= 0 ;
37770 PyObject
* obj1
= 0 ;
37771 PyObject
* obj2
= 0 ;
37772 char * kwnames
[] = {
37773 (char *) "self",(char *) "text",(char *) "pt", NULL
37776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37778 if (!SWIG_IsOK(res1
)) {
37779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37781 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37783 arg2
= wxString_in_helper(obj1
);
37784 if (arg2
== NULL
) SWIG_fail
;
37789 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37793 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37794 wxPyEndAllowThreads(__tstate
);
37795 if (PyErr_Occurred()) SWIG_fail
;
37797 resultobj
= SWIG_Py_Void();
37812 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37813 PyObject
*resultobj
= 0;
37814 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37815 wxString
*arg2
= 0 ;
37821 bool temp2
= false ;
37828 PyObject
* obj0
= 0 ;
37829 PyObject
* obj1
= 0 ;
37830 PyObject
* obj2
= 0 ;
37831 PyObject
* obj3
= 0 ;
37832 PyObject
* obj4
= 0 ;
37833 char * kwnames
[] = {
37834 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37839 if (!SWIG_IsOK(res1
)) {
37840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37842 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37844 arg2
= wxString_in_helper(obj1
);
37845 if (arg2
== NULL
) SWIG_fail
;
37848 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37849 if (!SWIG_IsOK(ecode3
)) {
37850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37852 arg3
= static_cast< int >(val3
);
37853 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37854 if (!SWIG_IsOK(ecode4
)) {
37855 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37857 arg4
= static_cast< int >(val4
);
37858 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37859 if (!SWIG_IsOK(ecode5
)) {
37860 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37862 arg5
= static_cast< double >(val5
);
37864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37865 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37866 wxPyEndAllowThreads(__tstate
);
37867 if (PyErr_Occurred()) SWIG_fail
;
37869 resultobj
= SWIG_Py_Void();
37884 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37885 PyObject
*resultobj
= 0;
37886 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37887 wxString
*arg2
= 0 ;
37888 wxPoint
*arg3
= 0 ;
37892 bool temp2
= false ;
37896 PyObject
* obj0
= 0 ;
37897 PyObject
* obj1
= 0 ;
37898 PyObject
* obj2
= 0 ;
37899 PyObject
* obj3
= 0 ;
37900 char * kwnames
[] = {
37901 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37906 if (!SWIG_IsOK(res1
)) {
37907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37909 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37911 arg2
= wxString_in_helper(obj1
);
37912 if (arg2
== NULL
) SWIG_fail
;
37917 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37919 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37920 if (!SWIG_IsOK(ecode4
)) {
37921 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37923 arg4
= static_cast< double >(val4
);
37925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37926 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37927 wxPyEndAllowThreads(__tstate
);
37928 if (PyErr_Occurred()) SWIG_fail
;
37930 resultobj
= SWIG_Py_Void();
37945 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37946 PyObject
*resultobj
= 0;
37947 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37949 wxPoint
*arg3
= (wxPoint
*) 0 ;
37950 int arg4
= (int) 0 ;
37951 int arg5
= (int) 0 ;
37958 PyObject
* obj0
= 0 ;
37959 PyObject
* obj1
= 0 ;
37960 PyObject
* obj2
= 0 ;
37961 PyObject
* obj3
= 0 ;
37962 char * kwnames
[] = {
37963 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37968 if (!SWIG_IsOK(res1
)) {
37969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37971 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37973 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37974 if (arg3
== NULL
) SWIG_fail
;
37977 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37978 if (!SWIG_IsOK(ecode4
)) {
37979 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37981 arg4
= static_cast< int >(val4
);
37984 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37985 if (!SWIG_IsOK(ecode5
)) {
37986 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37988 arg5
= static_cast< int >(val5
);
37991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37992 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37993 wxPyEndAllowThreads(__tstate
);
37994 if (PyErr_Occurred()) SWIG_fail
;
37996 resultobj
= SWIG_Py_Void();
37998 if (arg3
) delete [] arg3
;
38003 if (arg3
) delete [] arg3
;
38009 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38010 PyObject
*resultobj
= 0;
38011 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38013 wxPoint
*arg3
= (wxPoint
*) 0 ;
38014 int arg4
= (int) 0 ;
38015 int arg5
= (int) 0 ;
38016 int arg6
= (int) wxODDEVEN_RULE
;
38025 PyObject
* obj0
= 0 ;
38026 PyObject
* obj1
= 0 ;
38027 PyObject
* obj2
= 0 ;
38028 PyObject
* obj3
= 0 ;
38029 PyObject
* obj4
= 0 ;
38030 char * kwnames
[] = {
38031 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38036 if (!SWIG_IsOK(res1
)) {
38037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38039 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38041 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38042 if (arg3
== NULL
) SWIG_fail
;
38045 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38046 if (!SWIG_IsOK(ecode4
)) {
38047 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38049 arg4
= static_cast< int >(val4
);
38052 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38053 if (!SWIG_IsOK(ecode5
)) {
38054 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38056 arg5
= static_cast< int >(val5
);
38059 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38060 if (!SWIG_IsOK(ecode6
)) {
38061 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38063 arg6
= static_cast< int >(val6
);
38066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38067 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38068 wxPyEndAllowThreads(__tstate
);
38069 if (PyErr_Occurred()) SWIG_fail
;
38071 resultobj
= SWIG_Py_Void();
38073 if (arg3
) delete [] arg3
;
38078 if (arg3
) delete [] arg3
;
38084 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38085 PyObject
*resultobj
= 0;
38086 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38087 wxString
*arg2
= 0 ;
38089 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38090 int arg5
= (int) -1 ;
38093 bool temp2
= false ;
38099 PyObject
* obj0
= 0 ;
38100 PyObject
* obj1
= 0 ;
38101 PyObject
* obj2
= 0 ;
38102 PyObject
* obj3
= 0 ;
38103 PyObject
* obj4
= 0 ;
38104 char * kwnames
[] = {
38105 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38110 if (!SWIG_IsOK(res1
)) {
38111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38113 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38115 arg2
= wxString_in_helper(obj1
);
38116 if (arg2
== NULL
) SWIG_fail
;
38121 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38124 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38125 if (!SWIG_IsOK(ecode4
)) {
38126 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38128 arg4
= static_cast< int >(val4
);
38131 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38132 if (!SWIG_IsOK(ecode5
)) {
38133 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38135 arg5
= static_cast< int >(val5
);
38138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38139 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38140 wxPyEndAllowThreads(__tstate
);
38141 if (PyErr_Occurred()) SWIG_fail
;
38143 resultobj
= SWIG_Py_Void();
38158 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38159 PyObject
*resultobj
= 0;
38160 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38161 wxString
*arg2
= 0 ;
38162 wxBitmap
*arg3
= 0 ;
38164 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38165 int arg6
= (int) -1 ;
38168 bool temp2
= false ;
38176 PyObject
* obj0
= 0 ;
38177 PyObject
* obj1
= 0 ;
38178 PyObject
* obj2
= 0 ;
38179 PyObject
* obj3
= 0 ;
38180 PyObject
* obj4
= 0 ;
38181 PyObject
* obj5
= 0 ;
38182 char * kwnames
[] = {
38183 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38188 if (!SWIG_IsOK(res1
)) {
38189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38191 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38193 arg2
= wxString_in_helper(obj1
);
38194 if (arg2
== NULL
) SWIG_fail
;
38197 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38198 if (!SWIG_IsOK(res3
)) {
38199 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38204 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38207 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38210 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38211 if (!SWIG_IsOK(ecode5
)) {
38212 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38214 arg5
= static_cast< int >(val5
);
38217 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38218 if (!SWIG_IsOK(ecode6
)) {
38219 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38221 arg6
= static_cast< int >(val6
);
38224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38225 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38226 wxPyEndAllowThreads(__tstate
);
38227 if (PyErr_Occurred()) SWIG_fail
;
38229 resultobj
= SWIG_Py_Void();
38244 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38245 PyObject
*resultobj
= 0;
38246 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38248 wxPoint
*arg3
= (wxPoint
*) 0 ;
38251 PyObject
* obj0
= 0 ;
38252 PyObject
* obj1
= 0 ;
38253 char * kwnames
[] = {
38254 (char *) "self",(char *) "points", NULL
38257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38259 if (!SWIG_IsOK(res1
)) {
38260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38262 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38264 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38265 if (arg3
== NULL
) SWIG_fail
;
38268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38269 (arg1
)->DrawSpline(arg2
,arg3
);
38270 wxPyEndAllowThreads(__tstate
);
38271 if (PyErr_Occurred()) SWIG_fail
;
38273 resultobj
= SWIG_Py_Void();
38275 if (arg3
) delete [] arg3
;
38280 if (arg3
) delete [] arg3
;
38286 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38287 PyObject
*resultobj
= 0;
38288 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38291 PyObject
*swig_obj
[1] ;
38293 if (!args
) SWIG_fail
;
38294 swig_obj
[0] = args
;
38295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38296 if (!SWIG_IsOK(res1
)) {
38297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38299 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38303 wxPyEndAllowThreads(__tstate
);
38304 if (PyErr_Occurred()) SWIG_fail
;
38306 resultobj
= SWIG_Py_Void();
38313 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38314 PyObject
*resultobj
= 0;
38315 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38321 PyObject
* obj0
= 0 ;
38322 PyObject
* obj1
= 0 ;
38323 char * kwnames
[] = {
38324 (char *) "self",(char *) "font", NULL
38327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38329 if (!SWIG_IsOK(res1
)) {
38330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38332 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38333 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38334 if (!SWIG_IsOK(res2
)) {
38335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38340 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38343 (arg1
)->SetFont((wxFont
const &)*arg2
);
38344 wxPyEndAllowThreads(__tstate
);
38345 if (PyErr_Occurred()) SWIG_fail
;
38347 resultobj
= SWIG_Py_Void();
38354 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38355 PyObject
*resultobj
= 0;
38356 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38362 PyObject
* obj0
= 0 ;
38363 PyObject
* obj1
= 0 ;
38364 char * kwnames
[] = {
38365 (char *) "self",(char *) "pen", NULL
38368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38370 if (!SWIG_IsOK(res1
)) {
38371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38373 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38374 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38375 if (!SWIG_IsOK(res2
)) {
38376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38381 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38384 (arg1
)->SetPen((wxPen
const &)*arg2
);
38385 wxPyEndAllowThreads(__tstate
);
38386 if (PyErr_Occurred()) SWIG_fail
;
38388 resultobj
= SWIG_Py_Void();
38395 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38396 PyObject
*resultobj
= 0;
38397 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38398 wxBrush
*arg2
= 0 ;
38403 PyObject
* obj0
= 0 ;
38404 PyObject
* obj1
= 0 ;
38405 char * kwnames
[] = {
38406 (char *) "self",(char *) "brush", NULL
38409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38411 if (!SWIG_IsOK(res1
)) {
38412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38414 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38416 if (!SWIG_IsOK(res2
)) {
38417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38422 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38425 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38426 wxPyEndAllowThreads(__tstate
);
38427 if (PyErr_Occurred()) SWIG_fail
;
38429 resultobj
= SWIG_Py_Void();
38436 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38437 PyObject
*resultobj
= 0;
38438 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38439 wxBrush
*arg2
= 0 ;
38444 PyObject
* obj0
= 0 ;
38445 PyObject
* obj1
= 0 ;
38446 char * kwnames
[] = {
38447 (char *) "self",(char *) "brush", NULL
38450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38452 if (!SWIG_IsOK(res1
)) {
38453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38455 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38456 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38457 if (!SWIG_IsOK(res2
)) {
38458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38463 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38466 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38467 wxPyEndAllowThreads(__tstate
);
38468 if (PyErr_Occurred()) SWIG_fail
;
38470 resultobj
= SWIG_Py_Void();
38477 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38478 PyObject
*resultobj
= 0;
38479 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38485 PyObject
* obj0
= 0 ;
38486 PyObject
* obj1
= 0 ;
38487 char * kwnames
[] = {
38488 (char *) "self",(char *) "mode", NULL
38491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38493 if (!SWIG_IsOK(res1
)) {
38494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38496 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38498 if (!SWIG_IsOK(ecode2
)) {
38499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38501 arg2
= static_cast< int >(val2
);
38503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38504 (arg1
)->SetBackgroundMode(arg2
);
38505 wxPyEndAllowThreads(__tstate
);
38506 if (PyErr_Occurred()) SWIG_fail
;
38508 resultobj
= SWIG_Py_Void();
38515 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38516 PyObject
*resultobj
= 0;
38517 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38518 wxPalette
*arg2
= 0 ;
38523 PyObject
* obj0
= 0 ;
38524 PyObject
* obj1
= 0 ;
38525 char * kwnames
[] = {
38526 (char *) "self",(char *) "palette", NULL
38529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38531 if (!SWIG_IsOK(res1
)) {
38532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38534 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38535 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38536 if (!SWIG_IsOK(res2
)) {
38537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38542 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38545 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38546 wxPyEndAllowThreads(__tstate
);
38547 if (PyErr_Occurred()) SWIG_fail
;
38549 resultobj
= SWIG_Py_Void();
38556 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38557 PyObject
*resultobj
= 0;
38558 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38559 wxColour
*arg2
= 0 ;
38563 PyObject
* obj0
= 0 ;
38564 PyObject
* obj1
= 0 ;
38565 char * kwnames
[] = {
38566 (char *) "self",(char *) "colour", NULL
38569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38571 if (!SWIG_IsOK(res1
)) {
38572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38574 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38577 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38581 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38582 wxPyEndAllowThreads(__tstate
);
38583 if (PyErr_Occurred()) SWIG_fail
;
38585 resultobj
= SWIG_Py_Void();
38592 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38593 PyObject
*resultobj
= 0;
38594 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38595 wxColour
*arg2
= 0 ;
38599 PyObject
* obj0
= 0 ;
38600 PyObject
* obj1
= 0 ;
38601 char * kwnames
[] = {
38602 (char *) "self",(char *) "colour", NULL
38605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38607 if (!SWIG_IsOK(res1
)) {
38608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38610 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38613 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38617 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38618 wxPyEndAllowThreads(__tstate
);
38619 if (PyErr_Occurred()) SWIG_fail
;
38621 resultobj
= SWIG_Py_Void();
38628 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38629 PyObject
*resultobj
= 0;
38630 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38636 PyObject
* obj0
= 0 ;
38637 PyObject
* obj1
= 0 ;
38638 char * kwnames
[] = {
38639 (char *) "self",(char *) "function", NULL
38642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38644 if (!SWIG_IsOK(res1
)) {
38645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38647 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38649 if (!SWIG_IsOK(ecode2
)) {
38650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38652 arg2
= static_cast< int >(val2
);
38654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38655 (arg1
)->SetLogicalFunction(arg2
);
38656 wxPyEndAllowThreads(__tstate
);
38657 if (PyErr_Occurred()) SWIG_fail
;
38659 resultobj
= SWIG_Py_Void();
38666 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38669 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38670 return SWIG_Py_Void();
38673 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38674 return SWIG_Python_InitShadowInstance(args
);
38677 static PyMethodDef SwigMethods
[] = {
38678 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38679 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38680 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38681 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38682 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38683 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38684 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38687 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38688 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38689 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38690 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38691 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38692 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38693 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38694 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38695 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38696 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38697 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38698 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38701 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38702 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38703 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38705 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38708 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38709 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38710 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38711 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38713 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38714 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38715 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38716 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38717 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38718 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38719 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38720 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38721 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38723 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38725 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38726 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
38728 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
38729 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38733 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38734 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38736 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38737 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38741 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38742 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38743 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38744 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38745 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38746 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38747 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38749 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
38755 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38756 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38757 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38758 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38759 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38760 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38761 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38762 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38763 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38764 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38765 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38766 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38767 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38768 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38769 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38771 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38773 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38778 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38779 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38780 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38781 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38782 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38783 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38784 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38785 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38786 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38787 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38788 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38789 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38790 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38791 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38792 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38793 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38794 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38795 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38796 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38797 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38798 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38800 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38801 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38803 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38805 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38806 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38807 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38808 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38809 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38810 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38811 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38812 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38813 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38814 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38815 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38816 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38817 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38818 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38820 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38821 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38824 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38826 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38827 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38828 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38829 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38831 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38832 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38833 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38835 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38836 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38838 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38839 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
38841 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38843 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38844 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38845 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38846 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38848 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38851 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38852 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38853 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38855 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38856 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38858 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38860 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38861 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38862 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38863 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38865 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38866 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38867 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38869 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38870 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38871 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38873 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
38876 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38878 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
38879 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
38880 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
38881 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38883 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38884 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38886 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38887 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38889 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38890 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38892 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38893 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38899 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38900 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38903 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38906 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38910 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38913 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38914 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38915 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38917 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38918 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38920 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38921 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38922 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38923 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38924 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38925 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38926 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38927 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38928 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38929 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38930 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38931 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38932 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38933 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38934 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38935 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38936 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38937 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38938 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
38939 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38940 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38941 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38942 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38943 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38944 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38945 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38954 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38955 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38956 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38958 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38959 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38960 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38961 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38962 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38963 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38964 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38965 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38966 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38967 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38968 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38969 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38970 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38972 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38973 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38974 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38975 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38976 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38977 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38978 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38980 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38981 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38982 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38984 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38989 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38990 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38991 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38992 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38995 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38998 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38999 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39000 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39001 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39002 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39003 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39004 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39005 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39006 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39007 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39008 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39009 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39010 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39011 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39012 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39013 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39014 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39015 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39016 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39019 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39020 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39021 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39022 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39023 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39024 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39025 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39026 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39027 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39028 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39029 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39030 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39031 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39032 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39033 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39034 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39035 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39037 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39038 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39039 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39040 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39041 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39042 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39043 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39044 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39045 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39046 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39047 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39048 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39049 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39050 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39052 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39055 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39056 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39057 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39058 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39059 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39060 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39061 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39062 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39063 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39064 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39068 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39072 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39073 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39074 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39076 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39078 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39080 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39081 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39082 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39083 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39084 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39085 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39091 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39092 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39093 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39100 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39101 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39105 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39126 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39129 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39130 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39142 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39144 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39145 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39146 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39147 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39153 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39154 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39155 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39156 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39157 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39162 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39163 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39164 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39165 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39171 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39174 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39175 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39176 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39177 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39178 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39179 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39180 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39181 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39182 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39183 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39184 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39185 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39188 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39190 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39192 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39194 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39195 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39198 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39199 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39200 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39203 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39205 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39208 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39209 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39210 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39211 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39212 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39213 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39214 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39215 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
39216 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39217 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39218 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39219 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39220 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39222 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39223 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39224 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39225 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39226 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39227 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39229 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39230 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39231 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39233 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39234 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39235 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39236 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39237 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39238 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39239 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39243 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39244 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39245 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39248 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39249 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39250 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39252 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39253 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39255 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39256 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39257 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39258 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39259 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39260 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39261 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39262 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39263 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39264 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39265 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39266 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39267 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39269 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39270 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39273 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39274 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39276 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39279 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39280 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39281 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39283 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39284 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39286 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39287 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39288 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
39289 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39290 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39291 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39293 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39294 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39295 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39297 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39298 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39300 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39301 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39302 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39303 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39304 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39305 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39306 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39307 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39308 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39309 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39310 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39311 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39312 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39313 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39314 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39315 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39316 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39317 { (char *)"GraphicsPath_Clone", (PyCFunction
)_wrap_GraphicsPath_Clone
, METH_O
, NULL
},
39318 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39319 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39320 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39321 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39323 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39324 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39325 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39332 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39335 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39336 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39337 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39338 { (char *)"GraphicsMatrix_Clone", (PyCFunction
)_wrap_GraphicsMatrix_Clone
, METH_O
, NULL
},
39339 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"GraphicsMatrix_Copy", (PyCFunction
) _wrap_GraphicsMatrix_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39343 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39345 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39351 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39352 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39353 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39354 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39357 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39364 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39365 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39368 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39369 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39371 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39372 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39373 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39374 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39375 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39387 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39388 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39391 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39393 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39394 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39395 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39396 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39397 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39400 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39403 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39407 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39409 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39410 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39411 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39412 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39413 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39414 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39415 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39416 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39417 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39418 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39419 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39420 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39421 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39422 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39423 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39424 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39425 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39427 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39429 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39430 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39431 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39432 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39433 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39434 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39435 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39436 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39437 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39438 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39439 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39440 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39441 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39442 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39446 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39448 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39449 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39450 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39451 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39452 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39453 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39457 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39459 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39460 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39461 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39463 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39465 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39466 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39467 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39468 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39471 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39472 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39473 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39474 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39475 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39476 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39477 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39478 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39479 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39480 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39481 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39482 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39483 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39492 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39493 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39495 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39496 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39497 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39498 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39499 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39500 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39501 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39502 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39503 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39504 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39505 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39506 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39507 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39508 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39509 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39510 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39511 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39512 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39513 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39514 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39515 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39516 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39517 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39518 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39519 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39520 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39522 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39523 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39524 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39525 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39538 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39539 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39540 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39542 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39543 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39544 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39545 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39546 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39547 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39548 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39549 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39553 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39573 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39576 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39578 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39580 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39586 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39588 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39589 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39593 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39594 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39595 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39597 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39598 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39599 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39600 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39601 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39602 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39604 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39606 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39607 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39610 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39611 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39612 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39613 { NULL
, NULL
, 0, NULL
}
39617 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39619 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39620 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39622 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39623 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39625 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39626 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39628 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39629 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39631 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39632 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39634 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39635 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39637 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39638 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39640 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39641 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39643 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39644 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39646 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39647 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39649 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39650 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39652 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39653 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39655 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39656 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39658 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39659 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39661 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39662 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39664 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39665 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39667 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39668 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39670 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39671 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39673 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39674 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39676 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39677 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39679 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39680 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39682 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39683 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39685 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39686 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39688 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39689 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39691 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39692 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
39694 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39695 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39697 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39698 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39700 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39701 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39703 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39704 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39706 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39707 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39709 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39710 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39712 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39713 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39715 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39716 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39718 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39719 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39721 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39722 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39724 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39725 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39727 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39728 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39730 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39731 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39733 static void *_p_wxPenTo_p_wxObject(void *x
) {
39734 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39736 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39737 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39739 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39740 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39742 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39743 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39745 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39746 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39748 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39749 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39751 static void *_p_wxIconTo_p_wxObject(void *x
) {
39752 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39754 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39755 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39757 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39758 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39760 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39761 return (void *)((wxObject
*) ((wxSizer
*) x
));
39763 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39764 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39766 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39767 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39769 static void *_p_wxEventTo_p_wxObject(void *x
) {
39770 return (void *)((wxObject
*) ((wxEvent
*) x
));
39772 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39773 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39775 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39776 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39778 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39779 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39781 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39782 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39784 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39785 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39787 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39788 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39790 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39791 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39793 static void *_p_wxDCTo_p_wxObject(void *x
) {
39794 return (void *)((wxObject
*) ((wxDC
*) x
));
39796 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39797 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39799 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39800 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39802 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39803 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39805 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39806 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39808 static void *_p_wxControlTo_p_wxObject(void *x
) {
39809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39811 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39812 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39814 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39815 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39817 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39818 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39820 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39821 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39823 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39824 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
39826 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39827 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39829 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39830 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39832 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39833 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39835 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39836 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39838 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39839 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39841 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39842 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39844 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39845 return (void *)((wxObject
*) ((wxEffects
*) x
));
39847 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39848 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39850 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39851 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39853 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39854 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39856 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39857 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39859 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39860 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39862 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39863 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39865 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39866 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39868 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39869 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39871 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39872 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39874 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39875 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39877 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39878 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39880 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39881 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39883 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39884 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39886 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39887 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39889 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39890 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39892 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39893 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39895 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39896 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39898 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39899 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39901 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39902 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39904 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39905 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39907 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39908 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39910 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39911 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39913 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39914 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39916 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39917 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39919 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39920 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39922 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39923 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39925 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39926 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39928 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39929 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39931 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39932 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39934 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39935 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39937 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39938 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39940 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39941 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39943 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39944 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39946 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39947 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39949 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39950 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39952 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39953 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39955 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39956 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39958 static void *_p_wxImageTo_p_wxObject(void *x
) {
39959 return (void *)((wxObject
*) ((wxImage
*) x
));
39961 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39962 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39964 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39965 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39967 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39968 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39970 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39971 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39973 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39974 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39976 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39977 return (void *)((wxObject
*) ((wxImageList
*) x
));
39979 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39980 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39982 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39983 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39985 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39986 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39988 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39989 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39991 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39992 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39994 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39995 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39997 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39998 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40000 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40001 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40003 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40004 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40006 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40007 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40009 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40010 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40012 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40013 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40015 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40016 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40018 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40019 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40021 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40022 return (void *)((wxObject
*) ((wxMask
*) x
));
40024 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40025 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40027 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40030 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40031 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40033 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40034 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40036 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40037 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40039 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40040 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40042 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40043 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40045 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40046 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40048 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40049 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40051 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40052 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40054 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40055 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40057 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40060 static void *_p_wxFontTo_p_wxObject(void *x
) {
40061 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40063 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40064 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40066 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40067 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40069 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40070 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40072 static void *_p_wxColourTo_p_wxObject(void *x
) {
40073 return (void *)((wxObject
*) ((wxColour
*) x
));
40075 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40076 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40078 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40079 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40081 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40082 return (void *)((wxWindow
*) ((wxControl
*) x
));
40084 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40085 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40087 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40088 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40090 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40091 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40093 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40094 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40096 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40097 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40098 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40099 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};
40100 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40101 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40102 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40103 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40104 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40105 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40106 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40107 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40108 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40109 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40110 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40111 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40112 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40113 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40114 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40115 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
40116 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40117 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40118 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40119 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40120 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40121 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40122 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40123 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40124 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40125 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40126 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40127 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40128 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40129 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40130 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40131 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40132 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40133 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40134 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40135 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40136 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40137 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40138 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40139 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40140 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40141 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40142 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40143 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40144 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40145 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40146 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40147 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40148 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40149 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40150 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40151 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40152 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40153 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40154 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40155 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40156 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40157 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40158 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40159 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40160 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40161 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40162 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40163 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40164 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40165 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40166 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40167 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40168 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40169 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40170 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40171 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40172 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40173 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40174 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40175 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40176 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40177 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40178 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40179 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40180 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40181 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40182 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40183 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40184 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40185 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40186 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40187 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40188 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40189 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40190 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40191 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40192 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40193 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40194 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40195 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40196 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40197 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40198 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40199 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40200 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40201 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40202 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40203 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40204 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40205 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40206 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40207 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40208 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40209 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40210 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40211 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40212 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40213 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40214 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40215 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40216 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40217 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40218 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40219 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40220 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40221 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40222 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40223 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40224 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40225 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40226 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40227 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40228 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40229 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40230 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40231 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40232 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40233 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40234 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40235 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40236 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40237 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40238 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40239 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40240 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40241 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40242 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40243 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40244 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40245 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40246 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
40247 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40248 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40249 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40250 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40251 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40252 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40253 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40254 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
40255 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40256 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40257 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40258 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40259 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40260 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40261 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40262 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40263 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40264 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40265 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40267 static swig_type_info
*swig_type_initial
[] = {
40271 &_swigt__p_form_ops_t
,
40273 &_swigt__p_unsigned_char
,
40274 &_swigt__p_unsigned_int
,
40275 &_swigt__p_unsigned_long
,
40277 &_swigt__p_wxANIHandler
,
40278 &_swigt__p_wxAcceleratorTable
,
40279 &_swigt__p_wxActivateEvent
,
40280 &_swigt__p_wxAlphaPixelData
,
40281 &_swigt__p_wxAlphaPixelData_Accessor
,
40282 &_swigt__p_wxAutoBufferedPaintDC
,
40283 &_swigt__p_wxBMPHandler
,
40284 &_swigt__p_wxBitmap
,
40285 &_swigt__p_wxBoxSizer
,
40286 &_swigt__p_wxBrush
,
40287 &_swigt__p_wxBrushList
,
40288 &_swigt__p_wxBufferedDC
,
40289 &_swigt__p_wxBufferedPaintDC
,
40290 &_swigt__p_wxCURHandler
,
40292 &_swigt__p_wxChildFocusEvent
,
40293 &_swigt__p_wxClientDC
,
40294 &_swigt__p_wxClipboardTextEvent
,
40295 &_swigt__p_wxCloseEvent
,
40296 &_swigt__p_wxColor
,
40297 &_swigt__p_wxColour
,
40298 &_swigt__p_wxColourDatabase
,
40299 &_swigt__p_wxCommandEvent
,
40300 &_swigt__p_wxContextMenuEvent
,
40301 &_swigt__p_wxControl
,
40302 &_swigt__p_wxControlWithItems
,
40303 &_swigt__p_wxCursor
,
40305 &_swigt__p_wxDCBrushChanger
,
40306 &_swigt__p_wxDCClipper
,
40307 &_swigt__p_wxDCOverlay
,
40308 &_swigt__p_wxDCPenChanger
,
40309 &_swigt__p_wxDCTextColourChanger
,
40311 &_swigt__p_wxDateEvent
,
40312 &_swigt__p_wxDisplayChangedEvent
,
40313 &_swigt__p_wxDropFilesEvent
,
40314 &_swigt__p_wxDuplexMode
,
40315 &_swigt__p_wxEffects
,
40316 &_swigt__p_wxEncodingConverter
,
40317 &_swigt__p_wxEraseEvent
,
40318 &_swigt__p_wxEvent
,
40319 &_swigt__p_wxEvtHandler
,
40320 &_swigt__p_wxFSFile
,
40321 &_swigt__p_wxFileSystem
,
40322 &_swigt__p_wxFlexGridSizer
,
40323 &_swigt__p_wxFocusEvent
,
40325 &_swigt__p_wxFontList
,
40326 &_swigt__p_wxFontMapper
,
40327 &_swigt__p_wxGBSizerItem
,
40329 &_swigt__p_wxGDIObjListBase
,
40330 &_swigt__p_wxGDIObject
,
40331 &_swigt__p_wxGIFHandler
,
40332 &_swigt__p_wxGraphicsBrush
,
40333 &_swigt__p_wxGraphicsContext
,
40334 &_swigt__p_wxGraphicsFont
,
40335 &_swigt__p_wxGraphicsMatrix
,
40336 &_swigt__p_wxGraphicsObject
,
40337 &_swigt__p_wxGraphicsPath
,
40338 &_swigt__p_wxGraphicsPen
,
40339 &_swigt__p_wxGraphicsRenderer
,
40340 &_swigt__p_wxGridBagSizer
,
40341 &_swigt__p_wxGridSizer
,
40342 &_swigt__p_wxHeaderButtonParams
,
40343 &_swigt__p_wxICOHandler
,
40345 &_swigt__p_wxIconBundle
,
40346 &_swigt__p_wxIconLocation
,
40347 &_swigt__p_wxIconizeEvent
,
40348 &_swigt__p_wxIdleEvent
,
40349 &_swigt__p_wxImage
,
40350 &_swigt__p_wxImageHandler
,
40351 &_swigt__p_wxImageList
,
40352 &_swigt__p_wxIndividualLayoutConstraint
,
40353 &_swigt__p_wxInitDialogEvent
,
40354 &_swigt__p_wxJPEGHandler
,
40355 &_swigt__p_wxKeyEvent
,
40356 &_swigt__p_wxLanguageInfo
,
40357 &_swigt__p_wxLayoutConstraints
,
40358 &_swigt__p_wxLocale
,
40360 &_swigt__p_wxMaximizeEvent
,
40361 &_swigt__p_wxMemoryDC
,
40363 &_swigt__p_wxMenuBar
,
40364 &_swigt__p_wxMenuEvent
,
40365 &_swigt__p_wxMenuItem
,
40366 &_swigt__p_wxMetaFile
,
40367 &_swigt__p_wxMetaFileDC
,
40368 &_swigt__p_wxMirrorDC
,
40369 &_swigt__p_wxMouseCaptureChangedEvent
,
40370 &_swigt__p_wxMouseCaptureLostEvent
,
40371 &_swigt__p_wxMouseEvent
,
40372 &_swigt__p_wxMoveEvent
,
40373 &_swigt__p_wxNativeEncodingInfo
,
40374 &_swigt__p_wxNativeFontInfo
,
40375 &_swigt__p_wxNativePixelData
,
40376 &_swigt__p_wxNativePixelData_Accessor
,
40377 &_swigt__p_wxNavigationKeyEvent
,
40378 &_swigt__p_wxNcPaintEvent
,
40379 &_swigt__p_wxNotifyEvent
,
40380 &_swigt__p_wxObject
,
40381 &_swigt__p_wxOverlay
,
40382 &_swigt__p_wxPCXHandler
,
40383 &_swigt__p_wxPNGHandler
,
40384 &_swigt__p_wxPNMHandler
,
40385 &_swigt__p_wxPaintDC
,
40386 &_swigt__p_wxPaintEvent
,
40387 &_swigt__p_wxPalette
,
40388 &_swigt__p_wxPaletteChangedEvent
,
40389 &_swigt__p_wxPaperSize
,
40391 &_swigt__p_wxPenList
,
40392 &_swigt__p_wxPixelDataBase
,
40393 &_swigt__p_wxPoint
,
40394 &_swigt__p_wxPoint2D
,
40395 &_swigt__p_wxPoint2DDouble
,
40396 &_swigt__p_wxPostScriptDC
,
40397 &_swigt__p_wxPrintData
,
40398 &_swigt__p_wxPrinterDC
,
40399 &_swigt__p_wxPseudoDC
,
40400 &_swigt__p_wxPyApp
,
40401 &_swigt__p_wxPyCommandEvent
,
40402 &_swigt__p_wxPyEvent
,
40403 &_swigt__p_wxPyFontEnumerator
,
40404 &_swigt__p_wxPyImageHandler
,
40405 &_swigt__p_wxPyLocale
,
40406 &_swigt__p_wxPySizer
,
40407 &_swigt__p_wxPyValidator
,
40408 &_swigt__p_wxQueryNewPaletteEvent
,
40410 &_swigt__p_wxRect2DDouble
,
40411 &_swigt__p_wxRegion
,
40412 &_swigt__p_wxRegionIterator
,
40413 &_swigt__p_wxRendererNative
,
40414 &_swigt__p_wxRendererVersion
,
40415 &_swigt__p_wxScreenDC
,
40416 &_swigt__p_wxScrollEvent
,
40417 &_swigt__p_wxScrollWinEvent
,
40418 &_swigt__p_wxSetCursorEvent
,
40419 &_swigt__p_wxShowEvent
,
40421 &_swigt__p_wxSizeEvent
,
40422 &_swigt__p_wxSizer
,
40423 &_swigt__p_wxSizerItem
,
40424 &_swigt__p_wxSplitterRenderParams
,
40425 &_swigt__p_wxStaticBoxSizer
,
40426 &_swigt__p_wxStdDialogButtonSizer
,
40427 &_swigt__p_wxStockGDI
,
40428 &_swigt__p_wxString
,
40429 &_swigt__p_wxSysColourChangedEvent
,
40430 &_swigt__p_wxTIFFHandler
,
40431 &_swigt__p_wxUpdateUIEvent
,
40432 &_swigt__p_wxValidator
,
40433 &_swigt__p_wxWindow
,
40434 &_swigt__p_wxWindowCreateEvent
,
40435 &_swigt__p_wxWindowDC
,
40436 &_swigt__p_wxWindowDestroyEvent
,
40437 &_swigt__p_wxXPMHandler
,
40440 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40441 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40442 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40443 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40444 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40445 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40446 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40447 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40448 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40449 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40450 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40451 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40452 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40453 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40454 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40455 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}};
40456 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40457 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40458 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}};
40459 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40460 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40461 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40462 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40463 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}};
40464 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40465 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40466 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40467 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40468 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40469 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40470 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40471 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40472 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40473 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40474 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40475 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40476 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40477 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}};
40478 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}};
40479 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40480 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40481 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40482 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40483 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}};
40484 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40485 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40486 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40487 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40488 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40489 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40490 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40491 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40492 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40493 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40494 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}};
40495 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40496 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}};
40497 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40498 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40499 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40500 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40501 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40502 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40503 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40504 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40505 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40506 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40507 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40508 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40509 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40510 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40511 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40512 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40513 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40514 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40515 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40516 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40517 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40518 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40519 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40520 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40521 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40522 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40523 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40524 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40525 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40526 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40527 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40528 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40529 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40530 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40531 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40532 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40533 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40534 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40535 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40536 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40537 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40538 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40539 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40540 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40541 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40542 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40543 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40544 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40545 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40546 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40547 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40548 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40549 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40550 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40551 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40552 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40553 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40554 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40555 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40556 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40557 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40558 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40559 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40560 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40561 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40562 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40563 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40564 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40565 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40566 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40567 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40568 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40569 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40570 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40571 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40572 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40573 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40574 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40575 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40576 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40577 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40578 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40579 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40580 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_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_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_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}};
40581 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40582 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40583 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40584 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40585 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40586 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40587 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}};
40588 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40589 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40590 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40591 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40592 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40593 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40594 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40595 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40596 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40597 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40598 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40599 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40600 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40601 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40602 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40603 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40604 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40605 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40606 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40607 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40608 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}};
40609 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
40611 static swig_cast_info
*swig_cast_initial
[] = {
40615 _swigc__p_form_ops_t
,
40617 _swigc__p_unsigned_char
,
40618 _swigc__p_unsigned_int
,
40619 _swigc__p_unsigned_long
,
40621 _swigc__p_wxANIHandler
,
40622 _swigc__p_wxAcceleratorTable
,
40623 _swigc__p_wxActivateEvent
,
40624 _swigc__p_wxAlphaPixelData
,
40625 _swigc__p_wxAlphaPixelData_Accessor
,
40626 _swigc__p_wxAutoBufferedPaintDC
,
40627 _swigc__p_wxBMPHandler
,
40628 _swigc__p_wxBitmap
,
40629 _swigc__p_wxBoxSizer
,
40631 _swigc__p_wxBrushList
,
40632 _swigc__p_wxBufferedDC
,
40633 _swigc__p_wxBufferedPaintDC
,
40634 _swigc__p_wxCURHandler
,
40636 _swigc__p_wxChildFocusEvent
,
40637 _swigc__p_wxClientDC
,
40638 _swigc__p_wxClipboardTextEvent
,
40639 _swigc__p_wxCloseEvent
,
40641 _swigc__p_wxColour
,
40642 _swigc__p_wxColourDatabase
,
40643 _swigc__p_wxCommandEvent
,
40644 _swigc__p_wxContextMenuEvent
,
40645 _swigc__p_wxControl
,
40646 _swigc__p_wxControlWithItems
,
40647 _swigc__p_wxCursor
,
40649 _swigc__p_wxDCBrushChanger
,
40650 _swigc__p_wxDCClipper
,
40651 _swigc__p_wxDCOverlay
,
40652 _swigc__p_wxDCPenChanger
,
40653 _swigc__p_wxDCTextColourChanger
,
40655 _swigc__p_wxDateEvent
,
40656 _swigc__p_wxDisplayChangedEvent
,
40657 _swigc__p_wxDropFilesEvent
,
40658 _swigc__p_wxDuplexMode
,
40659 _swigc__p_wxEffects
,
40660 _swigc__p_wxEncodingConverter
,
40661 _swigc__p_wxEraseEvent
,
40663 _swigc__p_wxEvtHandler
,
40664 _swigc__p_wxFSFile
,
40665 _swigc__p_wxFileSystem
,
40666 _swigc__p_wxFlexGridSizer
,
40667 _swigc__p_wxFocusEvent
,
40669 _swigc__p_wxFontList
,
40670 _swigc__p_wxFontMapper
,
40671 _swigc__p_wxGBSizerItem
,
40673 _swigc__p_wxGDIObjListBase
,
40674 _swigc__p_wxGDIObject
,
40675 _swigc__p_wxGIFHandler
,
40676 _swigc__p_wxGraphicsBrush
,
40677 _swigc__p_wxGraphicsContext
,
40678 _swigc__p_wxGraphicsFont
,
40679 _swigc__p_wxGraphicsMatrix
,
40680 _swigc__p_wxGraphicsObject
,
40681 _swigc__p_wxGraphicsPath
,
40682 _swigc__p_wxGraphicsPen
,
40683 _swigc__p_wxGraphicsRenderer
,
40684 _swigc__p_wxGridBagSizer
,
40685 _swigc__p_wxGridSizer
,
40686 _swigc__p_wxHeaderButtonParams
,
40687 _swigc__p_wxICOHandler
,
40689 _swigc__p_wxIconBundle
,
40690 _swigc__p_wxIconLocation
,
40691 _swigc__p_wxIconizeEvent
,
40692 _swigc__p_wxIdleEvent
,
40694 _swigc__p_wxImageHandler
,
40695 _swigc__p_wxImageList
,
40696 _swigc__p_wxIndividualLayoutConstraint
,
40697 _swigc__p_wxInitDialogEvent
,
40698 _swigc__p_wxJPEGHandler
,
40699 _swigc__p_wxKeyEvent
,
40700 _swigc__p_wxLanguageInfo
,
40701 _swigc__p_wxLayoutConstraints
,
40702 _swigc__p_wxLocale
,
40704 _swigc__p_wxMaximizeEvent
,
40705 _swigc__p_wxMemoryDC
,
40707 _swigc__p_wxMenuBar
,
40708 _swigc__p_wxMenuEvent
,
40709 _swigc__p_wxMenuItem
,
40710 _swigc__p_wxMetaFile
,
40711 _swigc__p_wxMetaFileDC
,
40712 _swigc__p_wxMirrorDC
,
40713 _swigc__p_wxMouseCaptureChangedEvent
,
40714 _swigc__p_wxMouseCaptureLostEvent
,
40715 _swigc__p_wxMouseEvent
,
40716 _swigc__p_wxMoveEvent
,
40717 _swigc__p_wxNativeEncodingInfo
,
40718 _swigc__p_wxNativeFontInfo
,
40719 _swigc__p_wxNativePixelData
,
40720 _swigc__p_wxNativePixelData_Accessor
,
40721 _swigc__p_wxNavigationKeyEvent
,
40722 _swigc__p_wxNcPaintEvent
,
40723 _swigc__p_wxNotifyEvent
,
40724 _swigc__p_wxObject
,
40725 _swigc__p_wxOverlay
,
40726 _swigc__p_wxPCXHandler
,
40727 _swigc__p_wxPNGHandler
,
40728 _swigc__p_wxPNMHandler
,
40729 _swigc__p_wxPaintDC
,
40730 _swigc__p_wxPaintEvent
,
40731 _swigc__p_wxPalette
,
40732 _swigc__p_wxPaletteChangedEvent
,
40733 _swigc__p_wxPaperSize
,
40735 _swigc__p_wxPenList
,
40736 _swigc__p_wxPixelDataBase
,
40738 _swigc__p_wxPoint2D
,
40739 _swigc__p_wxPoint2DDouble
,
40740 _swigc__p_wxPostScriptDC
,
40741 _swigc__p_wxPrintData
,
40742 _swigc__p_wxPrinterDC
,
40743 _swigc__p_wxPseudoDC
,
40745 _swigc__p_wxPyCommandEvent
,
40746 _swigc__p_wxPyEvent
,
40747 _swigc__p_wxPyFontEnumerator
,
40748 _swigc__p_wxPyImageHandler
,
40749 _swigc__p_wxPyLocale
,
40750 _swigc__p_wxPySizer
,
40751 _swigc__p_wxPyValidator
,
40752 _swigc__p_wxQueryNewPaletteEvent
,
40754 _swigc__p_wxRect2DDouble
,
40755 _swigc__p_wxRegion
,
40756 _swigc__p_wxRegionIterator
,
40757 _swigc__p_wxRendererNative
,
40758 _swigc__p_wxRendererVersion
,
40759 _swigc__p_wxScreenDC
,
40760 _swigc__p_wxScrollEvent
,
40761 _swigc__p_wxScrollWinEvent
,
40762 _swigc__p_wxSetCursorEvent
,
40763 _swigc__p_wxShowEvent
,
40765 _swigc__p_wxSizeEvent
,
40767 _swigc__p_wxSizerItem
,
40768 _swigc__p_wxSplitterRenderParams
,
40769 _swigc__p_wxStaticBoxSizer
,
40770 _swigc__p_wxStdDialogButtonSizer
,
40771 _swigc__p_wxStockGDI
,
40772 _swigc__p_wxString
,
40773 _swigc__p_wxSysColourChangedEvent
,
40774 _swigc__p_wxTIFFHandler
,
40775 _swigc__p_wxUpdateUIEvent
,
40776 _swigc__p_wxValidator
,
40777 _swigc__p_wxWindow
,
40778 _swigc__p_wxWindowCreateEvent
,
40779 _swigc__p_wxWindowDC
,
40780 _swigc__p_wxWindowDestroyEvent
,
40781 _swigc__p_wxXPMHandler
,
40785 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40787 static swig_const_info swig_const_table
[] = {
40788 {0, 0, 0, 0.0, 0, 0}};
40793 /* -----------------------------------------------------------------------------
40794 * Type initialization:
40795 * This problem is tough by the requirement that no dynamic
40796 * memory is used. Also, since swig_type_info structures store pointers to
40797 * swig_cast_info structures and swig_cast_info structures store pointers back
40798 * to swig_type_info structures, we need some lookup code at initialization.
40799 * The idea is that swig generates all the structures that are needed.
40800 * The runtime then collects these partially filled structures.
40801 * The SWIG_InitializeModule function takes these initial arrays out of
40802 * swig_module, and does all the lookup, filling in the swig_module.types
40803 * array with the correct data and linking the correct swig_cast_info
40804 * structures together.
40806 * The generated swig_type_info structures are assigned staticly to an initial
40807 * array. We just loop though that array, and handle each type individually.
40808 * First we lookup if this type has been already loaded, and if so, use the
40809 * loaded structure instead of the generated one. Then we have to fill in the
40810 * cast linked list. The cast data is initially stored in something like a
40811 * two-dimensional array. Each row corresponds to a type (there are the same
40812 * number of rows as there are in the swig_type_initial array). Each entry in
40813 * a column is one of the swig_cast_info structures for that type.
40814 * The cast_initial array is actually an array of arrays, because each row has
40815 * a variable number of columns. So to actually build the cast linked list,
40816 * we find the array of casts associated with the type, and loop through it
40817 * adding the casts to the list. The one last trick we need to do is making
40818 * sure the type pointer in the swig_cast_info struct is correct.
40820 * First off, we lookup the cast->type name to see if it is already loaded.
40821 * There are three cases to handle:
40822 * 1) If the cast->type has already been loaded AND the type we are adding
40823 * casting info to has not been loaded (it is in this module), THEN we
40824 * replace the cast->type pointer with the type pointer that has already
40826 * 2) If BOTH types (the one we are adding casting info to, and the
40827 * cast->type) are loaded, THEN the cast info has already been loaded by
40828 * the previous module so we just ignore it.
40829 * 3) Finally, if cast->type has not already been loaded, then we add that
40830 * swig_cast_info to the linked list (because the cast->type) pointer will
40832 * ----------------------------------------------------------------------------- */
40842 #define SWIGRUNTIME_DEBUG
40846 SWIG_InitializeModule(void *clientdata
) {
40848 swig_module_info
*module_head
;
40849 static int init_run
= 0;
40851 clientdata
= clientdata
;
40853 if (init_run
) return;
40856 /* Initialize the swig_module */
40857 swig_module
.type_initial
= swig_type_initial
;
40858 swig_module
.cast_initial
= swig_cast_initial
;
40860 /* Try and load any already created modules */
40861 module_head
= SWIG_GetModule(clientdata
);
40863 swig_module
.next
= module_head
->next
;
40864 module_head
->next
= &swig_module
;
40866 /* This is the first module loaded */
40867 swig_module
.next
= &swig_module
;
40868 SWIG_SetModule(clientdata
, &swig_module
);
40871 /* Now work on filling in swig_module.types */
40872 #ifdef SWIGRUNTIME_DEBUG
40873 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40875 for (i
= 0; i
< swig_module
.size
; ++i
) {
40876 swig_type_info
*type
= 0;
40877 swig_type_info
*ret
;
40878 swig_cast_info
*cast
;
40880 #ifdef SWIGRUNTIME_DEBUG
40881 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40884 /* if there is another module already loaded */
40885 if (swig_module
.next
!= &swig_module
) {
40886 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40889 /* Overwrite clientdata field */
40890 #ifdef SWIGRUNTIME_DEBUG
40891 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40893 if (swig_module
.type_initial
[i
]->clientdata
) {
40894 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40895 #ifdef SWIGRUNTIME_DEBUG
40896 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40900 type
= swig_module
.type_initial
[i
];
40903 /* Insert casting types */
40904 cast
= swig_module
.cast_initial
[i
];
40905 while (cast
->type
) {
40906 /* Don't need to add information already in the list */
40908 #ifdef SWIGRUNTIME_DEBUG
40909 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40911 if (swig_module
.next
!= &swig_module
) {
40912 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40913 #ifdef SWIGRUNTIME_DEBUG
40914 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40918 if (type
== swig_module
.type_initial
[i
]) {
40919 #ifdef SWIGRUNTIME_DEBUG
40920 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40925 /* Check for casting already in the list */
40926 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40927 #ifdef SWIGRUNTIME_DEBUG
40928 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40930 if (!ocast
) ret
= 0;
40935 #ifdef SWIGRUNTIME_DEBUG
40936 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40939 type
->cast
->prev
= cast
;
40940 cast
->next
= type
->cast
;
40946 /* Set entry in modules->types array equal to the type */
40947 swig_module
.types
[i
] = type
;
40949 swig_module
.types
[i
] = 0;
40951 #ifdef SWIGRUNTIME_DEBUG
40952 printf("**** SWIG_InitializeModule: Cast List ******\n");
40953 for (i
= 0; i
< swig_module
.size
; ++i
) {
40955 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40956 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40957 while (cast
->type
) {
40958 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40962 printf("---- Total casts: %d\n",j
);
40964 printf("**** SWIG_InitializeModule: Cast List ******\n");
40968 /* This function will propagate the clientdata field of type to
40969 * any new swig_type_info structures that have been added into the list
40970 * of equivalent types. It is like calling
40971 * SWIG_TypeClientData(type, clientdata) a second time.
40974 SWIG_PropagateClientData(void) {
40976 swig_cast_info
*equiv
;
40977 static int init_run
= 0;
40979 if (init_run
) return;
40982 for (i
= 0; i
< swig_module
.size
; i
++) {
40983 if (swig_module
.types
[i
]->clientdata
) {
40984 equiv
= swig_module
.types
[i
]->cast
;
40986 if (!equiv
->converter
) {
40987 if (equiv
->type
&& !equiv
->type
->clientdata
)
40988 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40990 equiv
= equiv
->next
;
41010 /* Python-specific SWIG API */
41011 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41012 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41013 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41015 /* -----------------------------------------------------------------------------
41016 * global variable support code.
41017 * ----------------------------------------------------------------------------- */
41019 typedef struct swig_globalvar
{
41020 char *name
; /* Name of global variable */
41021 PyObject
*(*get_attr
)(void); /* Return the current value */
41022 int (*set_attr
)(PyObject
*); /* Set the value */
41023 struct swig_globalvar
*next
;
41026 typedef struct swig_varlinkobject
{
41028 swig_globalvar
*vars
;
41029 } swig_varlinkobject
;
41031 SWIGINTERN PyObject
*
41032 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41033 return PyString_FromString("<Swig global variables>");
41036 SWIGINTERN PyObject
*
41037 swig_varlink_str(swig_varlinkobject
*v
) {
41038 PyObject
*str
= PyString_FromString("(");
41039 swig_globalvar
*var
;
41040 for (var
= v
->vars
; var
; var
=var
->next
) {
41041 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41042 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41044 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41049 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41050 PyObject
*str
= swig_varlink_str(v
);
41051 fprintf(fp
,"Swig global variables ");
41052 fprintf(fp
,"%s\n", PyString_AsString(str
));
41058 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41059 swig_globalvar
*var
= v
->vars
;
41061 swig_globalvar
*n
= var
->next
;
41068 SWIGINTERN PyObject
*
41069 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41070 PyObject
*res
= NULL
;
41071 swig_globalvar
*var
= v
->vars
;
41073 if (strcmp(var
->name
,n
) == 0) {
41074 res
= (*var
->get_attr
)();
41079 if (res
== NULL
&& !PyErr_Occurred()) {
41080 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41086 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41088 swig_globalvar
*var
= v
->vars
;
41090 if (strcmp(var
->name
,n
) == 0) {
41091 res
= (*var
->set_attr
)(p
);
41096 if (res
== 1 && !PyErr_Occurred()) {
41097 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41102 SWIGINTERN PyTypeObject
*
41103 swig_varlink_type(void) {
41104 static char varlink__doc__
[] = "Swig var link object";
41105 static PyTypeObject varlink_type
;
41106 static int type_init
= 0;
41108 const PyTypeObject tmp
41110 PyObject_HEAD_INIT(NULL
)
41111 0, /* Number of items in variable part (ob_size) */
41112 (char *)"swigvarlink", /* Type name (tp_name) */
41113 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41114 0, /* Itemsize (tp_itemsize) */
41115 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41116 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41117 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41118 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41119 0, /* tp_compare */
41120 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41121 0, /* tp_as_number */
41122 0, /* tp_as_sequence */
41123 0, /* tp_as_mapping */
41126 (reprfunc
)swig_varlink_str
, /* tp_str */
41127 0, /* tp_getattro */
41128 0, /* tp_setattro */
41129 0, /* tp_as_buffer */
41131 varlink__doc__
, /* tp_doc */
41132 0, /* tp_traverse */
41134 0, /* tp_richcompare */
41135 0, /* tp_weaklistoffset */
41136 #if PY_VERSION_HEX >= 0x02020000
41137 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41139 #if PY_VERSION_HEX >= 0x02030000
41142 #ifdef COUNT_ALLOCS
41143 0,0,0,0 /* tp_alloc -> tp_next */
41146 varlink_type
= tmp
;
41147 varlink_type
.ob_type
= &PyType_Type
;
41150 return &varlink_type
;
41153 /* Create a variable linking object for use later */
41154 SWIGINTERN PyObject
*
41155 SWIG_Python_newvarlink(void) {
41156 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41160 return ((PyObject
*) result
);
41164 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41165 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41166 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41168 size_t size
= strlen(name
)+1;
41169 gv
->name
= (char *)malloc(size
);
41171 strncpy(gv
->name
,name
,size
);
41172 gv
->get_attr
= get_attr
;
41173 gv
->set_attr
= set_attr
;
41174 gv
->next
= v
->vars
;
41180 SWIGINTERN PyObject
*
41182 static PyObject
*_SWIG_globals
= 0;
41183 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41184 return _SWIG_globals
;
41187 /* -----------------------------------------------------------------------------
41188 * constants/methods manipulation
41189 * ----------------------------------------------------------------------------- */
41191 /* Install Constants */
41193 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41196 for (i
= 0; constants
[i
].type
; ++i
) {
41197 switch(constants
[i
].type
) {
41198 case SWIG_PY_POINTER
:
41199 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41201 case SWIG_PY_BINARY
:
41202 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41209 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41215 /* -----------------------------------------------------------------------------*/
41216 /* Fix SwigMethods to carry the callback ptrs when needed */
41217 /* -----------------------------------------------------------------------------*/
41220 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41221 swig_const_info
*const_table
,
41222 swig_type_info
**types
,
41223 swig_type_info
**types_initial
) {
41225 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41226 const char *c
= methods
[i
].ml_doc
;
41227 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41229 swig_const_info
*ci
= 0;
41230 const char *name
= c
+ 10;
41231 for (j
= 0; const_table
[j
].type
; ++j
) {
41232 if (strncmp(const_table
[j
].name
, name
,
41233 strlen(const_table
[j
].name
)) == 0) {
41234 ci
= &(const_table
[j
]);
41239 size_t shift
= (ci
->ptype
) - types
;
41240 swig_type_info
*ty
= types_initial
[shift
];
41241 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41242 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41243 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41246 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41248 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41250 strncpy(buff
, "swig_ptr: ", 10);
41252 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41253 methods
[i
].ml_doc
= ndoc
;
41265 /* -----------------------------------------------------------------------------*
41266 * Partial Init method
41267 * -----------------------------------------------------------------------------*/
41272 SWIGEXPORT
void SWIG_init(void) {
41275 /* Fix SwigMethods to carry the callback ptrs when needed */
41276 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41278 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41279 d
= PyModule_GetDict(m
);
41281 SWIG_InitializeModule(0);
41282 SWIG_InstallConstants(d
,swig_const_table
);
41285 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41286 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41287 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41288 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41289 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41290 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41291 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41292 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41293 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41294 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41295 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41296 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41297 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41298 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41299 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41300 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41301 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41302 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41303 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41304 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41305 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41306 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41307 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41308 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41309 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41310 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41311 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41312 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41313 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41314 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41315 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41316 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41317 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41318 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41319 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41320 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41321 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41322 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41323 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41324 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41325 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41326 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41327 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41328 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41329 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41330 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41331 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41332 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41333 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41334 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41335 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41336 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41337 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41338 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41339 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41340 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41341 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41342 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41343 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41344 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41345 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41346 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41347 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41348 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41349 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41350 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41351 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41352 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41353 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41354 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41355 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41356 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41357 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41358 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41359 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41360 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41361 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41362 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41363 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41364 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41365 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41366 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41367 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41368 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41369 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41370 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41371 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41372 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41373 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41374 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41375 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41376 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41377 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41378 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41379 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41380 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41381 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41382 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41383 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41384 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41385 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41386 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41387 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41388 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41389 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41390 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41391 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41392 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41393 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41394 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41395 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41396 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41397 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41398 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41399 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41400 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41401 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41402 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41403 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41404 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41405 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41406 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41407 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41408 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41409 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41410 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41411 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41412 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41413 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41414 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41415 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41416 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41418 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41420 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41421 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41422 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41423 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41424 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41425 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41426 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41427 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41428 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41429 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41430 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41431 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41432 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41433 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41434 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41435 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41436 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41437 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41438 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41439 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41440 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41441 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41442 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41443 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41444 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41445 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41446 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41447 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41448 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41449 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41450 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41451 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41452 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41453 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41454 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41455 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41456 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41457 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41458 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41459 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41460 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41461 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41462 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41463 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41464 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41465 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41466 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41467 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41468 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41469 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41470 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41471 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41472 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41473 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41474 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41475 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41476 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41477 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41478 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41479 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41480 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41481 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41482 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41483 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41484 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41485 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41486 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41487 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41488 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41489 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41490 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41491 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41492 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41493 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41494 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41495 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41496 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41497 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41498 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41499 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41500 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41501 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41502 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41503 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41504 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41505 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41506 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41507 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41508 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41509 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41510 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41511 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41512 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41513 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41514 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41515 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41516 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41517 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41518 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41519 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41520 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41521 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41522 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41523 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41524 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41525 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41526 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41527 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41528 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41529 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41530 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41531 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41532 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41533 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41534 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41535 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41536 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41537 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41538 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41539 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41540 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41541 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41542 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41543 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41544 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41545 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41546 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41547 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41548 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41549 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41550 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41551 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41552 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41553 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41554 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41555 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41556 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41557 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41558 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41559 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41560 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41561 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41562 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41563 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41564 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41565 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41566 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41567 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41568 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41569 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41570 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41571 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41572 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41573 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41574 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41575 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41576 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41577 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41578 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41579 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41580 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41581 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41582 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41583 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41584 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41585 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41586 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41587 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41588 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41589 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41590 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41591 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41592 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41593 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41594 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41595 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41596 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41597 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41598 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41599 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41600 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41601 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41602 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41603 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41604 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41605 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41606 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41607 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41608 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41609 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41610 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41611 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41612 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41613 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41614 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41615 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41616 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41617 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41618 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41619 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41620 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41621 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41622 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41623 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41624 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41625 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41626 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41627 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41628 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41629 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41630 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41631 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41632 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41633 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41634 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41635 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41636 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41637 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41638 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41639 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41640 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41641 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41642 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41643 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41644 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41645 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41646 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41647 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41648 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41649 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41650 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41651 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41652 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41653 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41654 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41655 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41656 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41657 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41658 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41659 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41660 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41661 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41662 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41663 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41664 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41665 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41666 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41667 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41668 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41669 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41670 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41671 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41672 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41673 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41674 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41675 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41676 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41677 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41678 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41679 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41680 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41681 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41682 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41683 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41684 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41685 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41686 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41687 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41688 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41689 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41690 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41691 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41692 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41693 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41694 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41695 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41696 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41697 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41698 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41699 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41700 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41701 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41702 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41703 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41704 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41705 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41706 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41707 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41708 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41709 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41710 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41711 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41712 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41713 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41714 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41715 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41716 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41717 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41718 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41719 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41720 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41721 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41722 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41723 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41724 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41725 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41726 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41727 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41728 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41729 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41730 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41731 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41732 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41733 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41734 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41735 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41736 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41737 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41738 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41739 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41740 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41741 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41743 // Work around a chicken/egg problem in drawlist.cpp
41744 wxPyDrawList_SetAPIPtr();