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_wxTGAHandler swig_types[162]
2629 #define SWIGTYPE_p_wxTIFFHandler swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDC swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _gdi_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_gdi_
2664 #define SWIG_name "_gdi_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2742 #define SWIG_From_long PyInt_FromLong
2745 SWIGINTERNINLINE PyObject
*
2746 SWIG_From_int (int value
)
2748 return SWIG_From_long (value
);
2754 # define LLONG_MIN LONG_LONG_MIN
2757 # define LLONG_MAX LONG_LONG_MAX
2760 # define ULLONG_MAX ULONG_LONG_MAX
2765 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2767 if (PyNumber_Check(obj
)) {
2768 if (val
) *val
= PyInt_AsLong(obj
);
2771 return SWIG_TypeError
;
2776 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2779 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2780 return SWIG_TypeError
;
2783 *val
= (unsigned long)v
;
2789 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2792 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
> UCHAR_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< unsigned char >(v
);
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_unsigned_SS_long (unsigned long value
)
2807 return (value
> LONG_MAX
) ?
2808 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2812 SWIGINTERNINLINE PyObject
*
2813 SWIG_From_unsigned_SS_char (unsigned char value
)
2815 return SWIG_From_unsigned_SS_long (value
);
2818 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2819 wxColour temp
, *obj
= &temp
;
2820 if ( other
== Py_None
) return false;
2821 if ( ! wxColour_helper(other
, &obj
) ) {
2825 return self
->operator==(*obj
);
2827 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2828 wxColour temp
, *obj
= &temp
;
2829 if ( other
== Py_None
) return true;
2830 if ( ! wxColour_helper(other
, &obj
)) {
2834 return self
->operator!=(*obj
);
2838 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2840 if (obj
== Py_True
) {
2841 if (val
) *val
= true;
2843 } else if (obj
== Py_False
) {
2844 if (val
) *val
= false;
2848 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2849 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2854 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2855 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2859 int alpha
= wxALPHA_OPAQUE
;
2862 green
= self
->Green();
2863 blue
= self
->Blue();
2864 alpha
= self
->Alpha();
2866 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2867 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2868 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2870 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2873 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2874 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2878 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2881 int res
= SWIG_AsVal_long (obj
, &v
);
2882 if (SWIG_IsOK(res
)) {
2883 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2884 return SWIG_OverflowError
;
2886 if (val
) *val
= static_cast< int >(v
);
2892 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2894 int count
= self
->GetDashes(&dashes
);
2895 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2896 PyObject
* retval
= PyList_New(0);
2897 for (int x
=0; x
<count
; x
++) {
2898 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2899 PyList_Append(retval
, pyint
);
2902 wxPyEndBlockThreads(blocked
);
2905 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2907 int size
= PyList_Size(pyDashes
);
2908 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2910 // black magic warning! The array of wxDashes needs to exist as
2911 // long as the pen does because wxPen does not copy the array. So
2912 // stick a copy in a Python string object and attach it to _self,
2913 // and then call SetDashes with a pointer to that array. Then
2914 // when the Python pen object is destroyed the array will be
2916 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2917 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2919 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2921 Py_DECREF(strDashes
);
2922 wxPyEndBlockThreads(blocked
);
2924 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2925 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2927 SWIGINTERNINLINE PyObject
*
2928 SWIG_From_short (short value
)
2930 return SWIG_From_long (value
);
2935 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2938 int res
= SWIG_AsVal_long (obj
, &v
);
2939 if (SWIG_IsOK(res
)) {
2940 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2941 return SWIG_OverflowError
;
2943 if (val
) *val
= static_cast< short >(v
);
2950 #include <wx/rawbmp.h>
2953 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2954 // appears to me that the other platforms are already doing it, so I'll just
2955 // automatically do it for wxMSW here.
2957 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2958 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2960 #define wxPy_premultiply(p, a) (p)
2961 #define wxPy_unpremultiply(p, a) (p)
2965 #include <wx/image.h>
2967 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2968 char** cArray
= NULL
;
2971 if (!PyList_Check(listOfStrings
)) {
2972 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2975 count
= PyList_Size(listOfStrings
);
2976 cArray
= new char*[count
];
2978 for(int x
=0; x
<count
; x
++) {
2979 // TODO: Need some validation and error checking here
2980 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2986 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2987 char** cArray
= NULL
;
2990 cArray
= ConvertListOfStrings(listOfStrings
);
2993 bmp
= new wxBitmap(cArray
);
2997 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
3000 PyString_AsStringAndSize(bits
, &buf
, &length
);
3001 return new wxBitmap(buf
, width
, height
, depth
);
3003 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
3004 wxSize
size(self
->GetWidth(), self
->GetHeight());
3007 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
3008 wxMask
*mask
= new wxMask(*self
, colour
);
3009 self
->SetMask(mask
);
3011 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
3012 self
->SetWidth(size
.x
);
3013 self
->SetHeight(size
.y
);
3015 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
3016 int height
=self
->GetHeight();
3017 int width
=self
->GetWidth();
3019 if (DATASIZE
!= width
* height
* 3) {
3020 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3022 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3024 // raise an exception...
3025 wxPyErr_SetString(PyExc_RuntimeError
,
3026 "Failed to gain raw access to bitmap data.");
3030 wxNativePixelData::Iterator
p(pixData
);
3031 for (int y
=0; y
<height
; y
++) {
3032 wxNativePixelData::Iterator rowStart
= p
;
3033 for (int x
=0; x
<width
; x
++) {
3034 p
.Red() = *(data
++);
3035 p
.Green() = *(data
++);
3036 p
.Blue() = *(data
++);
3040 p
.OffsetY(pixData
, 1);
3043 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3044 int height
=self
->GetHeight();
3045 int width
=self
->GetWidth();
3047 if (DATASIZE
!= width
* height
* 4) {
3048 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3050 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3052 // raise an exception...
3053 wxPyErr_SetString(PyExc_RuntimeError
,
3054 "Failed to gain raw access to bitmap data.");
3059 wxAlphaPixelData::Iterator
p(pixData
);
3060 for (int y
=0; y
<height
; y
++) {
3061 wxAlphaPixelData::Iterator rowStart
= p
;
3062 for (int x
=0; x
<width
; x
++) {
3064 p
.Red() = wxPy_premultiply(*(data
++), a
);
3065 p
.Green() = wxPy_premultiply(*(data
++), a
);
3066 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3067 p
.Alpha() = a
; data
++;
3071 p
.OffsetY(pixData
, 1);
3074 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3075 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3077 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3078 buffer data
, int DATASIZE
,
3079 buffer alpha
, int ALPHASIZE
)
3081 if (DATASIZE
!= width
*height
*3) {
3082 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3086 if (ALPHASIZE
!= width
*height
) {
3087 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3091 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3092 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3094 // raise an exception...
3095 wxPyErr_SetString(PyExc_RuntimeError
,
3096 "Failed to gain raw access to bitmap data.");
3101 wxAlphaPixelData::Iterator
p(pixData
);
3102 for (int y
=0; y
<height
; y
++) {
3103 wxAlphaPixelData::Iterator rowStart
= p
;
3104 for (int x
=0; x
<width
; x
++) {
3105 byte a
= *(alpha
++);
3106 p
.Red() = wxPy_premultiply(*(data
++), a
);
3107 p
.Green() = wxPy_premultiply(*(data
++), a
);
3108 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3113 p
.OffsetY(pixData
, 1);
3118 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3120 if (DATASIZE
!= width
*height
*3) {
3121 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3125 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3126 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3128 // raise an exception...
3129 wxPyErr_SetString(PyExc_RuntimeError
,
3130 "Failed to gain raw access to bitmap data.");
3134 wxNativePixelData::Iterator
p(pixData
);
3135 for (int y
=0; y
<height
; y
++) {
3136 wxNativePixelData::Iterator rowStart
= p
;
3137 for (int x
=0; x
<width
; x
++) {
3138 p
.Red() = *(data
++);
3139 p
.Green() = *(data
++);
3140 p
.Blue() = *(data
++);
3144 p
.OffsetY(pixData
, 1);
3150 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3152 if (DATASIZE
!= width
*height
*4) {
3153 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3157 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3158 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3160 // raise an exception...
3161 wxPyErr_SetString(PyExc_RuntimeError
,
3162 "Failed to gain raw access to bitmap data.");
3167 wxAlphaPixelData::Iterator
p(pixData
);
3168 for (int y
=0; y
<height
; y
++) {
3169 wxAlphaPixelData::Iterator rowStart
= p
;
3170 for (int x
=0; x
<width
; x
++) {
3172 p
.Red() = wxPy_premultiply(*(data
++), a
);
3173 p
.Green() = wxPy_premultiply(*(data
++), a
);
3174 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3175 p
.Alpha() = a
; data
++;
3179 p
.OffsetY(pixData
, 1);
3185 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3187 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3188 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3189 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3191 self
->Green() = green
;
3192 self
->Blue() = blue
;
3194 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3195 PyObject
* rv
= PyTuple_New(3);
3196 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3197 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3198 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3202 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3204 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3205 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3206 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3207 self
->Red() = wxPy_premultiply(red
, alpha
);
3208 self
->Green() = wxPy_premultiply(green
, alpha
);
3209 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3210 self
->Alpha() = alpha
;
3212 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3213 PyObject
* rv
= PyTuple_New(4);
3214 int red
= self
->Red();
3215 int green
= self
->Green();
3216 int blue
= self
->Blue();
3217 int alpha
= self
->Alpha();
3219 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3220 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3221 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3222 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3225 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3226 if ( !colour
.IsOk() )
3227 return new wxMask(bitmap
, *wxBLACK
);
3229 return new wxMask(bitmap
, colour
);
3232 #include <wx/iconbndl.h>
3234 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3235 wxIcon
* icon
= new wxIcon();
3236 icon
->CopyFromBitmap(bmp
);
3239 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3240 char** cArray
= NULL
;
3243 cArray
= ConvertListOfStrings(listOfStrings
);
3246 icon
= new wxIcon(cArray
);
3250 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3254 return new wxIconLocation(*filename
);
3257 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3264 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3271 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3273 wxImage
img(cursorName
, type
);
3274 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3275 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3276 return new wxCursor(img
);
3278 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3283 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3286 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3287 return self
->operator bool();
3290 #include <wx/fontutil.h>
3291 #include <wx/fontmap.h>
3292 #include <wx/fontenum.h>
3294 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3295 return self
->ToString();
3298 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3299 static wxNativeEncodingInfo info
;
3300 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3307 SWIGINTERNINLINE PyObject
*
3308 SWIG_From_size_t (size_t value
)
3310 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3314 SWIGINTERNINLINE
int
3315 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3318 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3319 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3323 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3324 wxFontEncoding alt_enc
;
3325 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3326 return PyInt_FromLong(alt_enc
);
3332 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3333 wxNativeFontInfo nfi
;
3334 nfi
.FromString(info
);
3335 return new wxFont(nfi
);
3337 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3338 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3340 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3341 return wxFontBase::New(pixelSize
, family
,
3342 style
, weight
, underlined
,
3345 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3346 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3348 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3349 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3351 class wxPyFontEnumerator
: public wxFontEnumerator
{
3353 wxPyFontEnumerator() {}
3354 ~wxPyFontEnumerator() {}
3356 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3357 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3362 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3363 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3366 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3368 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3369 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3370 ret
= wxArrayString2PyList_helper(arr
);
3371 wxPyEndBlockThreads(blocked
);
3374 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3376 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3377 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3378 ret
= wxArrayString2PyList_helper(arr
);
3379 wxPyEndBlockThreads(blocked
);
3385 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3388 loc
= new wxLocale();
3390 loc
= new wxLocale(language
, flags
);
3391 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3392 // for the floating point conversions and such to work right.
3393 #if PY_VERSION_HEX < 0x02040000
3394 setlocale(LC_NUMERIC
, "C");
3398 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3399 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3400 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3401 // for the floating point conversions and such to work right.
3402 #if PY_VERSION_HEX < 0x02040000
3403 setlocale(LC_NUMERIC
, "C");
3407 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3408 bool rc
= self
->Init(language
, flags
);
3409 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3410 // for the floating point conversions and such to work right.
3411 #if PY_VERSION_HEX < 0x02040000
3412 setlocale(LC_NUMERIC
, "C");
3417 class wxPyLocale
: public wxLocale
3422 wxPyLocale(const wxChar
*szName
, // name (for messages)
3423 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3424 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3425 bool bLoadDefault
= true, // preload wxstd.mo?
3426 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3428 wxPyLocale(int language
, // wxLanguage id or custom language
3429 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3433 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3434 const wxChar
*szDomain
= NULL
) const;
3435 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3436 const wxChar
*szOrigString2
, size_t n
,
3437 const wxChar
*szDomain
= NULL
) const;
3439 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3440 const wxChar
*szDomain
= NULL
) const;
3441 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3442 const wxChar
*szOrigString2
, size_t n
,
3443 const wxChar
*szDomain
= NULL
) const;
3447 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3450 wxPyLocale::wxPyLocale() : wxLocale()
3454 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3455 const wxChar
*szShort
, // dir prefix (for msg files)
3456 const wxChar
*szLocale
, // locale (for setlocale)
3457 bool bLoadDefault
, // preload wxstd.mo?
3458 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3459 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3463 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3464 int flags
) : wxLocale(language
, flags
)
3468 wxPyLocale::~wxPyLocale()
3472 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3473 const wxChar
*szDomain
) const
3475 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3476 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3479 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3480 const wxChar
*szOrigString2
, size_t n
,
3481 const wxChar
*szDomain
) const
3483 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3484 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3487 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3488 const wxChar
*szDomain
) const
3491 static wxString str
;
3492 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3493 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3494 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3495 PyObject
* param1
= wx2PyString(szOrigString
);
3496 PyObject
* param2
= wx2PyString(szDomain
);
3497 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3501 str
= Py2wxString(ret
);
3505 wxPyEndBlockThreads(blocked
);
3506 return (found
? (wxChar
*)str
.c_str() : NULL
);
3509 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3510 const wxChar
*szOrigString2
, size_t n
,
3511 const wxChar
*szDomain
) const
3514 static wxString str
;
3515 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.
3516 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3517 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3518 PyObject
* param1
= wx2PyString(szOrigString
);
3519 PyObject
* param2
= wx2PyString(szOrigString2
);
3520 PyObject
* param4
= wx2PyString(szDomain
);
3521 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3526 str
= Py2wxString(ret
);
3530 wxPyEndBlockThreads(blocked
);
3531 return (found
? (wxChar
*)str
.c_str() : NULL
);
3534 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3537 loc
= new wxPyLocale();
3539 loc
= new wxPyLocale(language
, flags
);
3540 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3541 // for the floating point conversions and such to work right.
3542 #if PY_VERSION_HEX < 0x02040000
3543 setlocale(LC_NUMERIC
, "C");
3548 #include "wx/wxPython/pydrawxxx.h"
3550 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3552 self
->GetPixel(x
, y
, &col
);
3555 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3557 self
->GetPixel(pt
, &col
);
3562 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3564 if (PyNumber_Check(obj
)) {
3565 if (val
) *val
= PyFloat_AsDouble(obj
);
3568 return SWIG_TypeError
;
3571 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3573 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3576 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3578 self
->GetClippingBox(rect
);
3581 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3583 self
->GetPartialTextExtents(text
, widths
);
3587 #define SWIG_From_double PyFloat_FromDouble
3589 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3590 self
->SetLogicalOrigin(point
.x
, point
.y
);
3592 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3593 self
->SetDeviceOrigin(point
.x
, point
.y
);
3595 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3596 self
->CalcBoundingBox(point
.x
, point
.y
);
3598 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3599 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3601 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3602 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3604 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3605 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3607 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3608 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3610 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3611 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3613 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3614 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3617 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3625 #include <wx/dcbuffer.h>
3628 #include <wx/dcps.h>
3631 #include <wx/metafile.h>
3634 #include <wx/graphics.h>
3637 #if !wxUSE_GRAPHICS_CONTEXT
3638 // C++ stub classes for platforms or build configurations that don't have
3639 // wxGraphicsContext yet.
3641 class wxGraphicsRenderer
;
3642 class wxGraphicsMatrix
;
3645 class wxGraphicsObject
: public wxObject
3648 wxGraphicsObject() {}
3649 wxGraphicsObject( wxGraphicsRenderer
* ) {
3650 PyErr_SetString(PyExc_NotImplementedError
,
3651 "wx.GraphicsObject is not available on this platform.");
3653 wxGraphicsObject( const wxGraphicsObject
& ) {}
3654 virtual ~wxGraphicsObject() {}
3655 bool IsNull() const { return false; }
3656 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3661 class wxGraphicsPen
: public wxGraphicsObject
3665 virtual ~wxGraphicsPen() {}
3667 wxGraphicsPen wxNullGraphicsPen
;
3671 class wxGraphicsBrush
: public wxGraphicsObject
3674 wxGraphicsBrush() {}
3675 virtual ~wxGraphicsBrush() {}
3677 wxGraphicsBrush wxNullGraphicsBrush
;
3681 class wxGraphicsFont
: public wxGraphicsObject
3685 virtual ~wxGraphicsFont() {}
3687 wxGraphicsFont wxNullGraphicsFont
;
3691 class wxGraphicsPath
: public wxGraphicsObject
3694 wxGraphicsPath() { }
3695 wxGraphicsPath(wxGraphicsRenderer
* ) {
3696 PyErr_SetString(PyExc_NotImplementedError
,
3697 "wx.GraphicsPath is not available on this platform.");
3699 virtual ~wxGraphicsPath() {}
3701 void MoveToPoint( wxDouble
, wxDouble
) {}
3702 void MoveToPoint( const wxPoint2DDouble
& ) {}
3703 void AddLineToPoint( wxDouble
, wxDouble
) {}
3704 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3705 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3706 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3707 void AddPath( const wxGraphicsPath
& ) {}
3708 void CloseSubpath() {}
3709 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3710 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3711 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3712 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3714 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3715 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3716 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3717 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3719 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3720 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3721 void * GetNativePath() const { return NULL
; }
3722 void UnGetNativePath(void *) const {}
3723 void Transform( const wxGraphicsMatrix
& ) {}
3724 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3725 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3727 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3728 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3730 wxGraphicsPath wxNullGraphicsPath
;
3733 class wxGraphicsMatrix
: public wxGraphicsObject
3736 wxGraphicsMatrix() { }
3737 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3738 PyErr_SetString(PyExc_NotImplementedError
,
3739 "wx.GraphicsMatrix is not available on this platform.");
3741 virtual ~wxGraphicsMatrix() {}
3742 virtual void Concat( const wxGraphicsMatrix
& ) {}
3743 virtual void Copy( const wxGraphicsMatrix
& ) {}
3744 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3745 wxDouble
, wxDouble
) {}
3746 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3747 wxDouble
*, wxDouble
*, wxDouble
*) {}
3748 virtual void Invert() {}
3749 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3750 virtual bool IsIdentity() const { return false; }
3751 virtual void Translate( wxDouble
, wxDouble
) {}
3752 virtual void Scale( wxDouble
, wxDouble
) {}
3753 virtual void Rotate( wxDouble
) {}
3754 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3755 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3756 virtual void * GetNativeMatrix() const { return NULL
; }
3758 wxGraphicsMatrix wxNullGraphicsMatrix
;
3761 class wxGraphicsContext
: public wxGraphicsObject
3765 wxGraphicsContext(wxGraphicsRenderer
* ) {
3766 PyErr_SetString(PyExc_NotImplementedError
,
3767 "wx.GraphicsContext is not available on this platform.");
3770 virtual ~wxGraphicsContext() {}
3772 static wxGraphicsContext
* Create() {
3773 PyErr_SetString(PyExc_NotImplementedError
,
3774 "wx.GraphicsContext is not available on this platform.");
3777 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3778 PyErr_SetString(PyExc_NotImplementedError
,
3779 "wx.GraphicsContext is not available on this platform.");
3783 static wxGraphicsContext
* CreateFromNative( void * ) {
3784 PyErr_SetString(PyExc_NotImplementedError
,
3785 "wx.GraphicsContext is not available on this platform.");
3789 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3790 PyErr_SetString(PyExc_NotImplementedError
,
3791 "wx.GraphicsContext is not available on this platform.");
3795 static wxGraphicsContext
* Create( wxWindow
* ) {
3796 PyErr_SetString(PyExc_NotImplementedError
,
3797 "wx.GraphicsContext is not available on this platform.");
3801 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3803 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3805 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3807 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3808 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3810 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3811 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3812 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3814 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3816 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3817 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3819 virtual void PushState() {}
3820 virtual void PopState() {}
3821 virtual void Clip( const wxRegion
& ) {}
3822 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3823 virtual void ResetClip() {}
3824 virtual void * GetNativeContext() { return NULL
; }
3825 virtual int GetLogicalFunction() const { return 0; }
3826 virtual bool SetLogicalFunction(int ) {}
3827 virtual void Translate( wxDouble
, wxDouble
) {}
3828 virtual void Scale( wxDouble
, wxDouble
) {}
3829 virtual void Rotate( wxDouble
) {}
3830 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3831 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3832 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3834 virtual void SetPen( const wxGraphicsPen
& ) {}
3835 void SetPen( const wxPen
& ) {}
3837 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3838 void SetBrush( const wxBrush
& ) {}
3840 virtual void SetFont( const wxGraphicsFont
& ) {}
3841 void SetFont( const wxFont
&, const wxColour
& ) {}
3843 virtual void StrokePath( const wxGraphicsPath
& ) {}
3844 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3845 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3847 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3848 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3849 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3850 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3851 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3852 wxDouble
*, wxDouble
* ) const {}
3853 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3855 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3856 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3858 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3859 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3860 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3861 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3862 virtual void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3863 virtual void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3864 virtual void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3865 virtual void DrawRoundedRectangle( wxDouble wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3866 virtual bool ShouldOffset() const { return false; }
3870 class wxGraphicsRenderer
: public wxObject
3873 wxGraphicsRenderer() {
3874 PyErr_SetString(PyExc_NotImplementedError
,
3875 "wx.GraphicsRenderer is not available on this platform.");
3878 virtual ~wxGraphicsRenderer() {}
3880 static wxGraphicsRenderer
* GetDefaultRenderer() {
3881 PyErr_SetString(PyExc_NotImplementedError
,
3882 "wx.GraphicsRenderer is not available on this platform.");
3886 virtual wxGraphicsContext
* CreateContext( const wxWindowDC
& ) { return NULL
; }
3887 virtual wxGraphicsContext
* CreateContextFromNativeContext( void * ) { return NULL
; }
3888 virtual wxGraphicsContext
* CreateContextFromNativeWindow( void * ) { return NULL
; }
3889 virtual wxGraphicsContext
* CreateContext( wxWindow
* ) { return NULL
; }
3890 virtual wxGraphicsContext
* CreateMeasuringContext() { return NULL
; }
3892 virtual wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3894 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3895 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3897 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3898 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3899 virtual wxGraphicsBrush
CreateLinearGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3900 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3901 virtual wxGraphicsBrush
CreateRadialGradientBrush(wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3902 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3903 virtual wxGraphicsFont
CreateFont( const wxFont
& , const wxColour
& ) { return wxNullGraphicsFont
; }
3908 class wxGCDC
: public wxWindowDC
3911 wxGCDC(const wxWindowDC
&) {
3912 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3913 PyErr_SetString(PyExc_NotImplementedError
,
3914 "wxGCDC is not available on this platform.");
3915 wxPyEndBlockThreads(blocked
);
3918 wxGCDC(const wxWindow
*) {
3919 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3920 PyErr_SetString(PyExc_NotImplementedError
,
3921 "wxGCDC is not available on this platform.");
3922 wxPyEndBlockThreads(blocked
);
3926 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3927 PyErr_SetString(PyExc_NotImplementedError
,
3928 "wxGCDC is not available on this platform.");
3929 wxPyEndBlockThreads(blocked
);
3932 virtual ~wxGCDC() {}
3934 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3935 void SetGraphicsContext( wxGraphicsContext
* ) {}
3940 SWIGINTERN
void wxGraphicsContext_DrawText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3941 if ( !backgroundBrush
.IsNull() )
3942 self
->DrawText(str
, x
, y
, backgroundBrush
);
3944 self
->DrawText(str
, x
, y
);
3946 SWIGINTERN
void wxGraphicsContext_DrawRotatedText(wxGraphicsContext
*self
,wxString
const &str
,wxDouble x
,wxDouble y
,wxDouble angle
,wxGraphicsBrush
const &backgroundBrush
=wxNullGraphicsBrush
){
3947 if ( !backgroundBrush
.IsNull() )
3948 self
->DrawText(str
, x
, y
, angle
, backgroundBrush
);
3950 self
->DrawText(str
, x
, y
, angle
);
3952 SWIGINTERN PyObject
*wxGraphicsContext_GetTextExtent(wxGraphicsContext
*self
,wxString
const &text
){
3953 wxDouble width
= 0.0,
3955 self
->GetTextExtent(text
, &width
, &height
, NULL
, NULL
);
3956 // thread wrapers are turned off for this .i file, so no need to acquire GIL...
3957 PyObject
* rv
= PyTuple_New(2);
3958 PyTuple_SET_ITEM(rv
, 0, PyFloat_FromDouble(width
));
3959 PyTuple_SET_ITEM(rv
, 1, PyFloat_FromDouble(height
));
3962 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3963 wxArrayDouble widths
;
3964 self
->GetPartialTextExtents(text
, widths
);
3967 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3968 size_t c1
, c2
, count
;
3969 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3970 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3972 if ( beginP
!= NULL
&& endP
!= NULL
)
3974 count
= wxMin(c1
, c2
);
3975 self
->StrokeLines(count
, beginP
, endP
);
3981 #include "wx/dcgraph.h"
3984 #include <wx/overlay.h>
3988 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3989 self
->AddColour(name
, wxColour(red
, green
, blue
));
3992 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3993 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3994 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3995 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3998 #include <wx/effects.h>
4001 #include "wx/renderer.h"
4004 SWIGINTERNINLINE PyObject
*
4005 SWIG_From_bool (bool value
)
4007 return PyBool_FromLong(value
? 1 : 0);
4011 #include "wx/wxPython/pseudodc.h"
4013 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
4015 self
->GetIdBounds(id
, rect
);
4021 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4022 PyObject
*resultobj
= 0;
4023 wxGDIObject
*result
= 0 ;
4025 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
4027 if (!wxPyCheckForApp()) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 result
= (wxGDIObject
*)new wxGDIObject();
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
4040 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4041 PyObject
*resultobj
= 0;
4042 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4045 PyObject
*swig_obj
[1] ;
4047 if (!args
) SWIG_fail
;
4049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
4050 if (!SWIG_IsOK(res1
)) {
4051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4053 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_Py_Void();
4068 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4069 PyObject
*resultobj
= 0;
4070 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
4074 PyObject
*swig_obj
[1] ;
4076 if (!args
) SWIG_fail
;
4078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
4079 if (!SWIG_IsOK(res1
)) {
4080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
4082 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 result
= (bool)(arg1
)->IsNull();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4098 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4101 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
4102 return SWIG_Py_Void();
4105 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4106 return SWIG_Python_InitShadowInstance(args
);
4109 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
= 0;
4111 byte arg1
= (byte
) 0 ;
4112 byte arg2
= (byte
) 0 ;
4113 byte arg3
= (byte
) 0 ;
4114 byte arg4
= (byte
) wxALPHA_OPAQUE
;
4115 wxColour
*result
= 0 ;
4116 unsigned char val1
;
4118 unsigned char val2
;
4120 unsigned char val3
;
4122 unsigned char val4
;
4124 PyObject
* obj0
= 0 ;
4125 PyObject
* obj1
= 0 ;
4126 PyObject
* obj2
= 0 ;
4127 PyObject
* obj3
= 0 ;
4128 char * kwnames
[] = {
4129 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4134 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
4135 if (!SWIG_IsOK(ecode1
)) {
4136 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
4138 arg1
= static_cast< byte
>(val1
);
4141 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4142 if (!SWIG_IsOK(ecode2
)) {
4143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
4145 arg2
= static_cast< byte
>(val2
);
4148 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4149 if (!SWIG_IsOK(ecode3
)) {
4150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
4152 arg3
= static_cast< byte
>(val3
);
4155 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4156 if (!SWIG_IsOK(ecode4
)) {
4157 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
4159 arg4
= static_cast< byte
>(val4
);
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
4174 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
= 0;
4176 wxString
*arg1
= 0 ;
4177 wxColour
*result
= 0 ;
4178 bool temp1
= false ;
4179 PyObject
* obj0
= 0 ;
4180 char * kwnames
[] = {
4181 (char *) "colorName", NULL
4184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
4186 arg1
= wxString_in_helper(obj0
);
4187 if (arg1
== NULL
) SWIG_fail
;
4191 if (!wxPyCheckForApp()) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4193 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4212 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
= 0;
4214 unsigned long arg1
;
4215 wxColour
*result
= 0 ;
4216 unsigned long val1
;
4218 PyObject
* obj0
= 0 ;
4219 char * kwnames
[] = {
4220 (char *) "colRGB", NULL
4223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
4224 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
4225 if (!SWIG_IsOK(ecode1
)) {
4226 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
4228 arg1
= static_cast< unsigned long >(val1
);
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 result
= (wxColour
*)new wxColour(arg1
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4242 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4243 PyObject
*resultobj
= 0;
4244 wxColour
*arg1
= (wxColour
*) 0 ;
4247 PyObject
*swig_obj
[1] ;
4249 if (!args
) SWIG_fail
;
4251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
4252 if (!SWIG_IsOK(res1
)) {
4253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
4255 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4263 resultobj
= SWIG_Py_Void();
4270 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4271 PyObject
*resultobj
= 0;
4272 wxColour
*arg1
= (wxColour
*) 0 ;
4276 PyObject
*swig_obj
[1] ;
4278 if (!args
) SWIG_fail
;
4280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4281 if (!SWIG_IsOK(res1
)) {
4282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4284 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 result
= (byte
)(arg1
)->Red();
4288 wxPyEndAllowThreads(__tstate
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4291 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4298 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4299 PyObject
*resultobj
= 0;
4300 wxColour
*arg1
= (wxColour
*) 0 ;
4304 PyObject
*swig_obj
[1] ;
4306 if (!args
) SWIG_fail
;
4308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4309 if (!SWIG_IsOK(res1
)) {
4310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4312 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 result
= (byte
)(arg1
)->Green();
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4326 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4327 PyObject
*resultobj
= 0;
4328 wxColour
*arg1
= (wxColour
*) 0 ;
4332 PyObject
*swig_obj
[1] ;
4334 if (!args
) SWIG_fail
;
4336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4337 if (!SWIG_IsOK(res1
)) {
4338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4340 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 result
= (byte
)(arg1
)->Blue();
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4354 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4355 PyObject
*resultobj
= 0;
4356 wxColour
*arg1
= (wxColour
*) 0 ;
4360 PyObject
*swig_obj
[1] ;
4362 if (!args
) SWIG_fail
;
4364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4365 if (!SWIG_IsOK(res1
)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4368 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 result
= (byte
)(arg1
)->Alpha();
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4382 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4383 PyObject
*resultobj
= 0;
4384 wxColour
*arg1
= (wxColour
*) 0 ;
4388 PyObject
*swig_obj
[1] ;
4390 if (!args
) SWIG_fail
;
4392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4393 if (!SWIG_IsOK(res1
)) {
4394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4396 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 result
= (bool)(arg1
)->IsOk();
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4412 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
= 0;
4414 wxColour
*arg1
= (wxColour
*) 0 ;
4418 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4421 unsigned char val2
;
4423 unsigned char val3
;
4425 unsigned char val4
;
4427 unsigned char val5
;
4429 PyObject
* obj0
= 0 ;
4430 PyObject
* obj1
= 0 ;
4431 PyObject
* obj2
= 0 ;
4432 PyObject
* obj3
= 0 ;
4433 PyObject
* obj4
= 0 ;
4434 char * kwnames
[] = {
4435 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4440 if (!SWIG_IsOK(res1
)) {
4441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4443 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4444 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4445 if (!SWIG_IsOK(ecode2
)) {
4446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4448 arg2
= static_cast< byte
>(val2
);
4449 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4450 if (!SWIG_IsOK(ecode3
)) {
4451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4453 arg3
= static_cast< byte
>(val3
);
4454 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4455 if (!SWIG_IsOK(ecode4
)) {
4456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4458 arg4
= static_cast< byte
>(val4
);
4460 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4461 if (!SWIG_IsOK(ecode5
)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4464 arg5
= static_cast< byte
>(val5
);
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 resultobj
= SWIG_Py_Void();
4479 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
= 0;
4481 wxColour
*arg1
= (wxColour
*) 0 ;
4482 unsigned long arg2
;
4485 unsigned long val2
;
4487 PyObject
* obj0
= 0 ;
4488 PyObject
* obj1
= 0 ;
4489 char * kwnames
[] = {
4490 (char *) "self",(char *) "colRGB", NULL
4493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4495 if (!SWIG_IsOK(res1
)) {
4496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4498 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4499 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4500 if (!SWIG_IsOK(ecode2
)) {
4501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4503 arg2
= static_cast< unsigned long >(val2
);
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= SWIG_Py_Void();
4517 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
= 0;
4519 wxColour
*arg1
= (wxColour
*) 0 ;
4520 wxString
*arg2
= 0 ;
4523 bool temp2
= false ;
4524 PyObject
* obj0
= 0 ;
4525 PyObject
* obj1
= 0 ;
4526 char * kwnames
[] = {
4527 (char *) "self",(char *) "colourName", NULL
4530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4532 if (!SWIG_IsOK(res1
)) {
4533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4535 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4537 arg2
= wxString_in_helper(obj1
);
4538 if (arg2
== NULL
) SWIG_fail
;
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 (arg1
)->Set((wxString
const &)*arg2
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4547 resultobj
= SWIG_Py_Void();
4562 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
= 0;
4564 wxColour
*arg1
= (wxColour
*) 0 ;
4565 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4571 PyObject
* obj0
= 0 ;
4572 PyObject
* obj1
= 0 ;
4573 char * kwnames
[] = {
4574 (char *) "self",(char *) "flags", NULL
4577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4579 if (!SWIG_IsOK(res1
)) {
4580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4582 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4584 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4585 if (!SWIG_IsOK(ecode2
)) {
4586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4588 arg2
= static_cast< long >(val2
);
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4609 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4610 PyObject
*resultobj
= 0;
4611 wxColour
*arg1
= (wxColour
*) 0 ;
4615 PyObject
*swig_obj
[1] ;
4617 if (!args
) SWIG_fail
;
4619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4620 if (!SWIG_IsOK(res1
)) {
4621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4623 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= SWIG_From_long(static_cast< long >(result
));
4637 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
= 0;
4639 wxColour
*arg1
= (wxColour
*) 0 ;
4640 PyObject
*arg2
= (PyObject
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4645 PyObject
* obj1
= 0 ;
4646 char * kwnames
[] = {
4647 (char *) "self",(char *) "other", NULL
4650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4652 if (!SWIG_IsOK(res1
)) {
4653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4655 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4658 result
= (bool)wxColour___eq__(arg1
,arg2
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4670 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
*resultobj
= 0;
4672 wxColour
*arg1
= (wxColour
*) 0 ;
4673 PyObject
*arg2
= (PyObject
*) 0 ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4679 char * kwnames
[] = {
4680 (char *) "self",(char *) "other", NULL
4683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4685 if (!SWIG_IsOK(res1
)) {
4686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4688 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4691 result
= (bool)wxColour___ne__(arg1
,arg2
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4703 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
*resultobj
= 0;
4705 wxColour
*arg1
= (wxColour
*) 0 ;
4706 bool arg2
= (bool) false ;
4707 PyObject
*result
= 0 ;
4712 PyObject
* obj0
= 0 ;
4713 PyObject
* obj1
= 0 ;
4714 char * kwnames
[] = {
4715 (char *) "self",(char *) "includeAlpha", NULL
4718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4720 if (!SWIG_IsOK(res1
)) {
4721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4723 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4725 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4726 if (!SWIG_IsOK(ecode2
)) {
4727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4729 arg2
= static_cast< bool >(val2
);
4732 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4742 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4743 PyObject
*resultobj
= 0;
4744 wxColour
*arg1
= (wxColour
*) 0 ;
4745 unsigned long result
;
4748 PyObject
*swig_obj
[1] ;
4750 if (!args
) SWIG_fail
;
4752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4753 if (!SWIG_IsOK(res1
)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4756 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4758 result
= (unsigned long)wxColour_GetRGB(arg1
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4768 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4771 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4772 return SWIG_Py_Void();
4775 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4776 return SWIG_Python_InitShadowInstance(args
);
4779 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
*resultobj
= 0;
4782 unsigned char *arg2
= (unsigned char *) 0 ;
4783 unsigned char *arg3
= (unsigned char *) 0 ;
4784 unsigned char *arg4
= (unsigned char *) 0 ;
4785 wxPalette
*result
= 0 ;
4794 PyObject
* obj0
= 0 ;
4795 PyObject
* obj1
= 0 ;
4796 PyObject
* obj2
= 0 ;
4797 PyObject
* obj3
= 0 ;
4798 char * kwnames
[] = {
4799 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4803 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4804 if (!SWIG_IsOK(ecode1
)) {
4805 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4807 arg1
= static_cast< int >(val1
);
4808 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4809 if (!SWIG_IsOK(res2
)) {
4810 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4812 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4813 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4814 if (!SWIG_IsOK(res3
)) {
4815 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4817 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4818 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4819 if (!SWIG_IsOK(res4
)) {
4820 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4822 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4824 if (!wxPyCheckForApp()) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4837 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4838 PyObject
*resultobj
= 0;
4839 wxPalette
*arg1
= (wxPalette
*) 0 ;
4842 PyObject
*swig_obj
[1] ;
4844 if (!args
) SWIG_fail
;
4846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4847 if (!SWIG_IsOK(res1
)) {
4848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4850 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= SWIG_Py_Void();
4865 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
= 0;
4867 wxPalette
*arg1
= (wxPalette
*) 0 ;
4874 unsigned char val2
;
4876 unsigned char val3
;
4878 unsigned char val4
;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4882 PyObject
* obj2
= 0 ;
4883 PyObject
* obj3
= 0 ;
4884 char * kwnames
[] = {
4885 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4890 if (!SWIG_IsOK(res1
)) {
4891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4893 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4894 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4895 if (!SWIG_IsOK(ecode2
)) {
4896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4898 arg2
= static_cast< byte
>(val2
);
4899 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4900 if (!SWIG_IsOK(ecode3
)) {
4901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4903 arg3
= static_cast< byte
>(val3
);
4904 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4905 if (!SWIG_IsOK(ecode4
)) {
4906 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4908 arg4
= static_cast< byte
>(val4
);
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= SWIG_From_int(static_cast< int >(result
));
4922 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
= 0;
4924 wxPalette
*arg1
= (wxPalette
*) 0 ;
4926 byte
*arg3
= (byte
*) 0 ;
4927 byte
*arg4
= (byte
*) 0 ;
4928 byte
*arg5
= (byte
*) 0 ;
4935 int res3
= SWIG_TMPOBJ
;
4937 int res4
= SWIG_TMPOBJ
;
4939 int res5
= SWIG_TMPOBJ
;
4940 PyObject
* obj0
= 0 ;
4941 PyObject
* obj1
= 0 ;
4942 char * kwnames
[] = {
4943 (char *) "self",(char *) "pixel", NULL
4949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4951 if (!SWIG_IsOK(res1
)) {
4952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4954 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4956 if (!SWIG_IsOK(ecode2
)) {
4957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4959 arg2
= static_cast< int >(val2
);
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4969 if (SWIG_IsTmpObj(res3
)) {
4970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4972 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4975 if (SWIG_IsTmpObj(res4
)) {
4976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4978 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4979 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4981 if (SWIG_IsTmpObj(res5
)) {
4982 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4984 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4993 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4994 PyObject
*resultobj
= 0;
4995 wxPalette
*arg1
= (wxPalette
*) 0 ;
4999 PyObject
*swig_obj
[1] ;
5001 if (!args
) SWIG_fail
;
5003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5004 if (!SWIG_IsOK(res1
)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
5007 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_From_int(static_cast< int >(result
));
5021 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5022 PyObject
*resultobj
= 0;
5023 wxPalette
*arg1
= (wxPalette
*) 0 ;
5027 PyObject
*swig_obj
[1] ;
5029 if (!args
) SWIG_fail
;
5031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
5032 if (!SWIG_IsOK(res1
)) {
5033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
5035 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= (bool)(arg1
)->IsOk();
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5051 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5054 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
5055 return SWIG_Py_Void();
5058 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5059 return SWIG_Python_InitShadowInstance(args
);
5062 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
= 0;
5064 wxColour
*arg1
= 0 ;
5065 int arg2
= (int) 1 ;
5066 int arg3
= (int) wxSOLID
;
5073 PyObject
* obj0
= 0 ;
5074 PyObject
* obj1
= 0 ;
5075 PyObject
* obj2
= 0 ;
5076 char * kwnames
[] = {
5077 (char *) "colour",(char *) "width",(char *) "style", NULL
5080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5083 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5087 if (!SWIG_IsOK(ecode2
)) {
5088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
5090 arg2
= static_cast< int >(val2
);
5093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5094 if (!SWIG_IsOK(ecode3
)) {
5095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
5097 arg3
= static_cast< int >(val3
);
5100 if (!wxPyCheckForApp()) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
5113 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5114 PyObject
*resultobj
= 0;
5115 wxPen
*arg1
= (wxPen
*) 0 ;
5118 PyObject
*swig_obj
[1] ;
5120 if (!args
) SWIG_fail
;
5122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
5123 if (!SWIG_IsOK(res1
)) {
5124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
5126 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5134 resultobj
= SWIG_Py_Void();
5141 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5142 PyObject
*resultobj
= 0;
5143 wxPen
*arg1
= (wxPen
*) 0 ;
5147 PyObject
*swig_obj
[1] ;
5149 if (!args
) SWIG_fail
;
5151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5152 if (!SWIG_IsOK(res1
)) {
5153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5155 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 result
= (int)(arg1
)->GetCap();
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= SWIG_From_int(static_cast< int >(result
));
5169 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5170 PyObject
*resultobj
= 0;
5171 wxPen
*arg1
= (wxPen
*) 0 ;
5175 PyObject
*swig_obj
[1] ;
5177 if (!args
) SWIG_fail
;
5179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5180 if (!SWIG_IsOK(res1
)) {
5181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5183 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 result
= (arg1
)->GetColour();
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5197 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5198 PyObject
*resultobj
= 0;
5199 wxPen
*arg1
= (wxPen
*) 0 ;
5203 PyObject
*swig_obj
[1] ;
5205 if (!args
) SWIG_fail
;
5207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5208 if (!SWIG_IsOK(res1
)) {
5209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5211 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 result
= (int)(arg1
)->GetJoin();
5215 wxPyEndAllowThreads(__tstate
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5218 resultobj
= SWIG_From_int(static_cast< int >(result
));
5225 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5226 PyObject
*resultobj
= 0;
5227 wxPen
*arg1
= (wxPen
*) 0 ;
5231 PyObject
*swig_obj
[1] ;
5233 if (!args
) SWIG_fail
;
5235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5236 if (!SWIG_IsOK(res1
)) {
5237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5239 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 result
= (int)(arg1
)->GetStyle();
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5246 resultobj
= SWIG_From_int(static_cast< int >(result
));
5253 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5254 PyObject
*resultobj
= 0;
5255 wxPen
*arg1
= (wxPen
*) 0 ;
5259 PyObject
*swig_obj
[1] ;
5261 if (!args
) SWIG_fail
;
5263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5264 if (!SWIG_IsOK(res1
)) {
5265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5267 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= (int)(arg1
)->GetWidth();
5271 wxPyEndAllowThreads(__tstate
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= SWIG_From_int(static_cast< int >(result
));
5281 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5282 PyObject
*resultobj
= 0;
5283 wxPen
*arg1
= (wxPen
*) 0 ;
5287 PyObject
*swig_obj
[1] ;
5289 if (!args
) SWIG_fail
;
5291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5292 if (!SWIG_IsOK(res1
)) {
5293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5295 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 result
= (bool)(arg1
)->IsOk();
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5311 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
= 0;
5313 wxPen
*arg1
= (wxPen
*) 0 ;
5319 PyObject
* obj0
= 0 ;
5320 PyObject
* obj1
= 0 ;
5321 char * kwnames
[] = {
5322 (char *) "self",(char *) "cap_style", NULL
5325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5327 if (!SWIG_IsOK(res1
)) {
5328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5330 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5332 if (!SWIG_IsOK(ecode2
)) {
5333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5335 arg2
= static_cast< int >(val2
);
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 (arg1
)->SetCap(arg2
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= SWIG_Py_Void();
5349 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
= 0;
5351 wxPen
*arg1
= (wxPen
*) 0 ;
5352 wxColour
*arg2
= 0 ;
5356 PyObject
* obj0
= 0 ;
5357 PyObject
* obj1
= 0 ;
5358 char * kwnames
[] = {
5359 (char *) "self",(char *) "colour", NULL
5362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5364 if (!SWIG_IsOK(res1
)) {
5365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5367 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5370 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 (arg1
)->SetColour(*arg2
);
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5378 resultobj
= SWIG_Py_Void();
5385 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
= 0;
5387 wxPen
*arg1
= (wxPen
*) 0 ;
5393 PyObject
* obj0
= 0 ;
5394 PyObject
* obj1
= 0 ;
5395 char * kwnames
[] = {
5396 (char *) "self",(char *) "join_style", NULL
5399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5401 if (!SWIG_IsOK(res1
)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5404 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5406 if (!SWIG_IsOK(ecode2
)) {
5407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5409 arg2
= static_cast< int >(val2
);
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 (arg1
)->SetJoin(arg2
);
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5416 resultobj
= SWIG_Py_Void();
5423 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
*resultobj
= 0;
5425 wxPen
*arg1
= (wxPen
*) 0 ;
5431 PyObject
* obj0
= 0 ;
5432 PyObject
* obj1
= 0 ;
5433 char * kwnames
[] = {
5434 (char *) "self",(char *) "style", NULL
5437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5439 if (!SWIG_IsOK(res1
)) {
5440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5442 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5444 if (!SWIG_IsOK(ecode2
)) {
5445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5447 arg2
= static_cast< int >(val2
);
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 (arg1
)->SetStyle(arg2
);
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5454 resultobj
= SWIG_Py_Void();
5461 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
*resultobj
= 0;
5463 wxPen
*arg1
= (wxPen
*) 0 ;
5469 PyObject
* obj0
= 0 ;
5470 PyObject
* obj1
= 0 ;
5471 char * kwnames
[] = {
5472 (char *) "self",(char *) "width", NULL
5475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5477 if (!SWIG_IsOK(res1
)) {
5478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5480 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5482 if (!SWIG_IsOK(ecode2
)) {
5483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5485 arg2
= static_cast< int >(val2
);
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 (arg1
)->SetWidth(arg2
);
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5492 resultobj
= SWIG_Py_Void();
5499 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
*resultobj
= 0;
5501 wxPen
*arg1
= (wxPen
*) 0 ;
5503 wxDash
*arg3
= (wxDash
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5508 char * kwnames
[] = {
5509 (char *) "self",(char *) "dashes", NULL
5512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5514 if (!SWIG_IsOK(res1
)) {
5515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5517 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5519 arg2
= PyList_Size(obj1
);
5520 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5521 if (arg3
== NULL
) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 (arg1
)->SetDashes(arg2
,arg3
);
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5529 resultobj
= SWIG_Py_Void();
5531 if (arg3
) delete [] arg3
;
5536 if (arg3
) delete [] arg3
;
5542 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5543 PyObject
*resultobj
= 0;
5544 wxPen
*arg1
= (wxPen
*) 0 ;
5545 PyObject
*result
= 0 ;
5548 PyObject
*swig_obj
[1] ;
5550 if (!args
) SWIG_fail
;
5552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5553 if (!SWIG_IsOK(res1
)) {
5554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5556 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5570 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
= 0;
5572 wxPen
*arg1
= (wxPen
*) 0 ;
5573 PyObject
*arg2
= (PyObject
*) 0 ;
5574 PyObject
*arg3
= (PyObject
*) 0 ;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5579 PyObject
* obj2
= 0 ;
5580 char * kwnames
[] = {
5581 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5586 if (!SWIG_IsOK(res1
)) {
5587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5589 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 wxPen__SetDashes(arg1
,arg2
,arg3
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= SWIG_Py_Void();
5605 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
= 0;
5607 wxPen
*arg1
= (wxPen
*) 0 ;
5608 wxPen
*arg2
= (wxPen
*) 0 ;
5614 PyObject
* obj0
= 0 ;
5615 PyObject
* obj1
= 0 ;
5616 char * kwnames
[] = {
5617 (char *) "self",(char *) "other", NULL
5620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5622 if (!SWIG_IsOK(res1
)) {
5623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5625 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5627 if (!SWIG_IsOK(res2
)) {
5628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5630 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5646 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
*resultobj
= 0;
5648 wxPen
*arg1
= (wxPen
*) 0 ;
5649 wxPen
*arg2
= (wxPen
*) 0 ;
5655 PyObject
* obj0
= 0 ;
5656 PyObject
* obj1
= 0 ;
5657 char * kwnames
[] = {
5658 (char *) "self",(char *) "other", NULL
5661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5663 if (!SWIG_IsOK(res1
)) {
5664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5666 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5667 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5668 if (!SWIG_IsOK(res2
)) {
5669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5671 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5687 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5690 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5691 return SWIG_Py_Void();
5694 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5695 return SWIG_Python_InitShadowInstance(args
);
5698 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
= 0;
5700 wxColour
*arg1
= 0 ;
5701 int arg2
= (int) wxSOLID
;
5702 wxBrush
*result
= 0 ;
5706 PyObject
* obj0
= 0 ;
5707 PyObject
* obj1
= 0 ;
5708 char * kwnames
[] = {
5709 (char *) "colour",(char *) "style", NULL
5712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5715 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5719 if (!SWIG_IsOK(ecode2
)) {
5720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5722 arg2
= static_cast< int >(val2
);
5725 if (!wxPyCheckForApp()) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5738 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
*resultobj
= 0;
5740 wxBitmap
*arg1
= 0 ;
5741 wxBrush
*result
= 0 ;
5744 PyObject
* obj0
= 0 ;
5745 char * kwnames
[] = {
5746 (char *) "stippleBitmap", NULL
5749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5750 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5751 if (!SWIG_IsOK(res1
)) {
5752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5757 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5759 if (!wxPyCheckForApp()) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5772 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5773 PyObject
*resultobj
= 0;
5774 wxBrush
*arg1
= (wxBrush
*) 0 ;
5777 PyObject
*swig_obj
[1] ;
5779 if (!args
) SWIG_fail
;
5781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5782 if (!SWIG_IsOK(res1
)) {
5783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5785 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5793 resultobj
= SWIG_Py_Void();
5800 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
*resultobj
= 0;
5802 wxBrush
*arg1
= (wxBrush
*) 0 ;
5803 wxColour
*arg2
= 0 ;
5807 PyObject
* obj0
= 0 ;
5808 PyObject
* obj1
= 0 ;
5809 char * kwnames
[] = {
5810 (char *) "self",(char *) "col", NULL
5813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5815 if (!SWIG_IsOK(res1
)) {
5816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5818 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5821 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 (arg1
)->SetColour((wxColour
const &)*arg2
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 resultobj
= SWIG_Py_Void();
5836 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
= 0;
5838 wxBrush
*arg1
= (wxBrush
*) 0 ;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5846 char * kwnames
[] = {
5847 (char *) "self",(char *) "style", NULL
5850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5852 if (!SWIG_IsOK(res1
)) {
5853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5855 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5857 if (!SWIG_IsOK(ecode2
)) {
5858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5860 arg2
= static_cast< int >(val2
);
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 (arg1
)->SetStyle(arg2
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 resultobj
= SWIG_Py_Void();
5874 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
= 0;
5876 wxBrush
*arg1
= (wxBrush
*) 0 ;
5877 wxBitmap
*arg2
= 0 ;
5882 PyObject
* obj0
= 0 ;
5883 PyObject
* obj1
= 0 ;
5884 char * kwnames
[] = {
5885 (char *) "self",(char *) "stipple", NULL
5888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5890 if (!SWIG_IsOK(res1
)) {
5891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5893 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5895 if (!SWIG_IsOK(res2
)) {
5896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5901 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 resultobj
= SWIG_Py_Void();
5915 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5916 PyObject
*resultobj
= 0;
5917 wxBrush
*arg1
= (wxBrush
*) 0 ;
5921 PyObject
*swig_obj
[1] ;
5923 if (!args
) SWIG_fail
;
5925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5926 if (!SWIG_IsOK(res1
)) {
5927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5929 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= ((wxBrush
const *)arg1
)->GetColour();
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5943 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5944 PyObject
*resultobj
= 0;
5945 wxBrush
*arg1
= (wxBrush
*) 0 ;
5949 PyObject
*swig_obj
[1] ;
5951 if (!args
) SWIG_fail
;
5953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5954 if (!SWIG_IsOK(res1
)) {
5955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5957 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5964 resultobj
= SWIG_From_int(static_cast< int >(result
));
5971 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5972 PyObject
*resultobj
= 0;
5973 wxBrush
*arg1
= (wxBrush
*) 0 ;
5974 wxBitmap
*result
= 0 ;
5977 PyObject
*swig_obj
[1] ;
5979 if (!args
) SWIG_fail
;
5981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5982 if (!SWIG_IsOK(res1
)) {
5983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5985 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5988 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5989 wxPyEndAllowThreads(__tstate
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5999 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6000 PyObject
*resultobj
= 0;
6001 wxBrush
*arg1
= (wxBrush
*) 0 ;
6005 PyObject
*swig_obj
[1] ;
6007 if (!args
) SWIG_fail
;
6009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6010 if (!SWIG_IsOK(res1
)) {
6011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
6013 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6016 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6029 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6030 PyObject
*resultobj
= 0;
6031 wxBrush
*arg1
= (wxBrush
*) 0 ;
6035 PyObject
*swig_obj
[1] ;
6037 if (!args
) SWIG_fail
;
6039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6040 if (!SWIG_IsOK(res1
)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
6043 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6046 result
= (bool)(arg1
)->IsOk();
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6059 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6060 PyObject
*resultobj
= 0;
6061 wxBrush
*arg1
= (wxBrush
*) 0 ;
6065 PyObject
*swig_obj
[1] ;
6067 if (!args
) SWIG_fail
;
6069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6070 if (!SWIG_IsOK(res1
)) {
6071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6073 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 result
= (short)(arg1
)->MacGetTheme();
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6080 resultobj
= SWIG_From_short(static_cast< short >(result
));
6087 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6088 PyObject
*resultobj
= 0;
6089 wxBrush
*arg1
= (wxBrush
*) 0 ;
6095 PyObject
* obj0
= 0 ;
6096 PyObject
* obj1
= 0 ;
6097 char * kwnames
[] = {
6098 (char *) "self",(char *) "macThemeBrush", NULL
6101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
6103 if (!SWIG_IsOK(res1
)) {
6104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
6106 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
6107 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
6108 if (!SWIG_IsOK(ecode2
)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
6111 arg2
= static_cast< short >(val2
);
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 (arg1
)->MacSetTheme(arg2
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6118 resultobj
= SWIG_Py_Void();
6125 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6127 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6128 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
6129 return SWIG_Py_Void();
6132 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6133 return SWIG_Python_InitShadowInstance(args
);
6136 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
*resultobj
= 0;
6138 wxString
*arg1
= 0 ;
6139 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
6140 wxBitmap
*result
= 0 ;
6141 bool temp1
= false ;
6144 PyObject
* obj0
= 0 ;
6145 PyObject
* obj1
= 0 ;
6146 char * kwnames
[] = {
6147 (char *) "name",(char *) "type", NULL
6150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6152 arg1
= wxString_in_helper(obj0
);
6153 if (arg1
== NULL
) SWIG_fail
;
6157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6158 if (!SWIG_IsOK(ecode2
)) {
6159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
6161 arg2
= static_cast< wxBitmapType
>(val2
);
6164 if (!wxPyCheckForApp()) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
6185 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6186 PyObject
*resultobj
= 0;
6187 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6190 PyObject
*swig_obj
[1] ;
6192 if (!args
) SWIG_fail
;
6194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
6195 if (!SWIG_IsOK(res1
)) {
6196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
6198 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6204 resultobj
= SWIG_Py_Void();
6211 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
= 0;
6215 int arg3
= (int) -1 ;
6216 wxBitmap
*result
= 0 ;
6223 PyObject
* obj0
= 0 ;
6224 PyObject
* obj1
= 0 ;
6225 PyObject
* obj2
= 0 ;
6226 char * kwnames
[] = {
6227 (char *) "width",(char *) "height",(char *) "depth", NULL
6230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6231 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6232 if (!SWIG_IsOK(ecode1
)) {
6233 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
6235 arg1
= static_cast< int >(val1
);
6236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6237 if (!SWIG_IsOK(ecode2
)) {
6238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
6240 arg2
= static_cast< int >(val2
);
6242 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6243 if (!SWIG_IsOK(ecode3
)) {
6244 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
6246 arg3
= static_cast< int >(val3
);
6249 if (!wxPyCheckForApp()) SWIG_fail
;
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
6252 wxPyEndAllowThreads(__tstate
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6255 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6262 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
= 0;
6265 wxBitmap
*result
= 0 ;
6268 PyObject
* obj0
= 0 ;
6269 char * kwnames
[] = {
6270 (char *) "icon", NULL
6273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
6274 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
6275 if (!SWIG_IsOK(res1
)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6281 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6283 if (!wxPyCheckForApp()) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6296 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
*resultobj
= 0;
6299 int arg2
= (int) -1 ;
6300 wxBitmap
*result
= 0 ;
6305 PyObject
* obj0
= 0 ;
6306 PyObject
* obj1
= 0 ;
6307 char * kwnames
[] = {
6308 (char *) "image",(char *) "depth", NULL
6311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6312 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6313 if (!SWIG_IsOK(res1
)) {
6314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6319 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6322 if (!SWIG_IsOK(ecode2
)) {
6323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6325 arg2
= static_cast< int >(val2
);
6328 if (!wxPyCheckForApp()) SWIG_fail
;
6329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6330 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6341 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
*resultobj
= 0;
6343 PyObject
*arg1
= (PyObject
*) 0 ;
6344 wxBitmap
*result
= 0 ;
6345 PyObject
* obj0
= 0 ;
6346 char * kwnames
[] = {
6347 (char *) "listOfStrings", NULL
6350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6353 if (!wxPyCheckForApp()) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6366 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
= 0;
6368 PyObject
*arg1
= (PyObject
*) 0 ;
6371 int arg4
= (int) 1 ;
6372 wxBitmap
*result
= 0 ;
6379 PyObject
* obj0
= 0 ;
6380 PyObject
* obj1
= 0 ;
6381 PyObject
* obj2
= 0 ;
6382 PyObject
* obj3
= 0 ;
6383 char * kwnames
[] = {
6384 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6390 if (!SWIG_IsOK(ecode2
)) {
6391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6393 arg2
= static_cast< int >(val2
);
6394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6395 if (!SWIG_IsOK(ecode3
)) {
6396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6398 arg3
= static_cast< int >(val3
);
6400 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6401 if (!SWIG_IsOK(ecode4
)) {
6402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6404 arg4
= static_cast< int >(val4
);
6407 if (!wxPyCheckForApp()) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6420 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6421 PyObject
*resultobj
= 0;
6422 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6426 PyObject
*swig_obj
[1] ;
6428 if (!args
) SWIG_fail
;
6430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6431 if (!SWIG_IsOK(res1
)) {
6432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6434 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6436 result
= (bool)(arg1
)->IsOk();
6437 if (PyErr_Occurred()) SWIG_fail
;
6440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6448 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6449 PyObject
*resultobj
= 0;
6450 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6454 PyObject
*swig_obj
[1] ;
6456 if (!args
) SWIG_fail
;
6458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6459 if (!SWIG_IsOK(res1
)) {
6460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6462 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6464 result
= (int)(arg1
)->GetWidth();
6465 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= SWIG_From_int(static_cast< int >(result
));
6474 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6475 PyObject
*resultobj
= 0;
6476 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6480 PyObject
*swig_obj
[1] ;
6482 if (!args
) SWIG_fail
;
6484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6485 if (!SWIG_IsOK(res1
)) {
6486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6488 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6490 result
= (int)(arg1
)->GetHeight();
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 resultobj
= SWIG_From_int(static_cast< int >(result
));
6500 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6501 PyObject
*resultobj
= 0;
6502 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6506 PyObject
*swig_obj
[1] ;
6508 if (!args
) SWIG_fail
;
6510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6511 if (!SWIG_IsOK(res1
)) {
6512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6514 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6516 result
= (int)(arg1
)->GetDepth();
6517 if (PyErr_Occurred()) SWIG_fail
;
6519 resultobj
= SWIG_From_int(static_cast< int >(result
));
6526 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6527 PyObject
*resultobj
= 0;
6528 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6532 PyObject
*swig_obj
[1] ;
6534 if (!args
) SWIG_fail
;
6536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6537 if (!SWIG_IsOK(res1
)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6540 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6542 result
= wxBitmap_GetSize(arg1
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6545 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6552 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6553 PyObject
*resultobj
= 0;
6554 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6555 SwigValueWrapper
<wxImage
> result
;
6558 PyObject
*swig_obj
[1] ;
6560 if (!args
) SWIG_fail
;
6562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6563 if (!SWIG_IsOK(res1
)) {
6564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6566 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6568 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6578 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6579 PyObject
*resultobj
= 0;
6580 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6581 wxMask
*result
= 0 ;
6584 PyObject
*swig_obj
[1] ;
6586 if (!args
) SWIG_fail
;
6588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6589 if (!SWIG_IsOK(res1
)) {
6590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6592 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6594 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6604 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
= 0;
6606 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6607 wxMask
*arg2
= (wxMask
*) 0 ;
6611 PyObject
* obj0
= 0 ;
6612 PyObject
* obj1
= 0 ;
6613 char * kwnames
[] = {
6614 (char *) "self",(char *) "mask", NULL
6617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6619 if (!SWIG_IsOK(res1
)) {
6620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6622 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6623 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6624 if (!SWIG_IsOK(res2
)) {
6625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6628 (arg1
)->SetMask(arg2
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= SWIG_Py_Void();
6638 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
= 0;
6640 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6641 wxColour
*arg2
= 0 ;
6645 PyObject
* obj0
= 0 ;
6646 PyObject
* obj1
= 0 ;
6647 char * kwnames
[] = {
6648 (char *) "self",(char *) "colour", NULL
6651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6653 if (!SWIG_IsOK(res1
)) {
6654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6656 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6659 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6662 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6665 resultobj
= SWIG_Py_Void();
6672 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
= 0;
6674 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6676 SwigValueWrapper
<wxBitmap
> result
;
6680 PyObject
* obj0
= 0 ;
6681 PyObject
* obj1
= 0 ;
6682 char * kwnames
[] = {
6683 (char *) "self",(char *) "rect", NULL
6686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6688 if (!SWIG_IsOK(res1
)) {
6689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6691 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6694 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6697 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6707 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
= 0;
6709 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6710 wxString
*arg2
= 0 ;
6712 wxPalette
*arg4
= (wxPalette
*) NULL
;
6716 bool temp2
= false ;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6723 PyObject
* obj2
= 0 ;
6724 PyObject
* obj3
= 0 ;
6725 char * kwnames
[] = {
6726 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6731 if (!SWIG_IsOK(res1
)) {
6732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6734 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6736 arg2
= wxString_in_helper(obj1
);
6737 if (arg2
== NULL
) SWIG_fail
;
6740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6741 if (!SWIG_IsOK(ecode3
)) {
6742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6744 arg3
= static_cast< wxBitmapType
>(val3
);
6746 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6747 if (!SWIG_IsOK(res4
)) {
6748 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6750 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6753 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6773 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
= 0;
6775 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6776 wxString
*arg2
= 0 ;
6781 bool temp2
= false ;
6784 PyObject
* obj0
= 0 ;
6785 PyObject
* obj1
= 0 ;
6786 PyObject
* obj2
= 0 ;
6787 char * kwnames
[] = {
6788 (char *) "self",(char *) "name",(char *) "type", NULL
6791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6793 if (!SWIG_IsOK(res1
)) {
6794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6796 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6798 arg2
= wxString_in_helper(obj1
);
6799 if (arg2
== NULL
) SWIG_fail
;
6802 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6803 if (!SWIG_IsOK(ecode3
)) {
6804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6806 arg3
= static_cast< wxBitmapType
>(val3
);
6808 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6828 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6829 PyObject
*resultobj
= 0;
6830 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6831 wxPalette
*result
= 0 ;
6834 PyObject
*swig_obj
[1] ;
6836 if (!args
) SWIG_fail
;
6838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6839 if (!SWIG_IsOK(res1
)) {
6840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6842 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6844 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6854 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
= 0;
6856 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6863 PyObject
* obj0
= 0 ;
6864 PyObject
* obj1
= 0 ;
6865 char * kwnames
[] = {
6866 (char *) "self",(char *) "icon", NULL
6869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6871 if (!SWIG_IsOK(res1
)) {
6872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6874 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6875 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6876 if (!SWIG_IsOK(res2
)) {
6877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6882 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6884 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6896 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
*resultobj
= 0;
6898 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6904 PyObject
* obj0
= 0 ;
6905 PyObject
* obj1
= 0 ;
6906 char * kwnames
[] = {
6907 (char *) "self",(char *) "height", NULL
6910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6912 if (!SWIG_IsOK(res1
)) {
6913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6915 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6917 if (!SWIG_IsOK(ecode2
)) {
6918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6920 arg2
= static_cast< int >(val2
);
6922 (arg1
)->SetHeight(arg2
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= SWIG_Py_Void();
6932 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
= 0;
6934 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6940 PyObject
* obj0
= 0 ;
6941 PyObject
* obj1
= 0 ;
6942 char * kwnames
[] = {
6943 (char *) "self",(char *) "width", NULL
6946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6948 if (!SWIG_IsOK(res1
)) {
6949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6951 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6953 if (!SWIG_IsOK(ecode2
)) {
6954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6956 arg2
= static_cast< int >(val2
);
6958 (arg1
)->SetWidth(arg2
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= SWIG_Py_Void();
6968 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
= 0;
6970 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6976 PyObject
* obj0
= 0 ;
6977 PyObject
* obj1
= 0 ;
6978 char * kwnames
[] = {
6979 (char *) "self",(char *) "depth", NULL
6982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6984 if (!SWIG_IsOK(res1
)) {
6985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6987 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6989 if (!SWIG_IsOK(ecode2
)) {
6990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6992 arg2
= static_cast< int >(val2
);
6994 (arg1
)->SetDepth(arg2
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6997 resultobj
= SWIG_Py_Void();
7004 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
*resultobj
= 0;
7006 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7011 PyObject
* obj0
= 0 ;
7012 PyObject
* obj1
= 0 ;
7013 char * kwnames
[] = {
7014 (char *) "self",(char *) "size", NULL
7017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7019 if (!SWIG_IsOK(res1
)) {
7020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
7022 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7025 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
7028 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= SWIG_Py_Void();
7038 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
*resultobj
= 0;
7040 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7046 PyObject
* obj0
= 0 ;
7047 PyObject
* obj1
= 0 ;
7048 char * kwnames
[] = {
7049 (char *) "self",(char *) "data", NULL
7052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7054 if (!SWIG_IsOK(res1
)) {
7055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBuffer" "', expected argument " "1"" of type '" "wxBitmap *""'");
7057 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7059 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7063 wxBitmap_CopyFromBuffer(arg1
,arg2
,arg3
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= SWIG_Py_Void();
7073 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7074 PyObject
*resultobj
= 0;
7075 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7081 PyObject
* obj0
= 0 ;
7082 PyObject
* obj1
= 0 ;
7083 char * kwnames
[] = {
7084 (char *) "self",(char *) "data", NULL
7087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromBufferRGBA",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7089 if (!SWIG_IsOK(res1
)) {
7090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromBufferRGBA" "', expected argument " "1"" of type '" "wxBitmap *""'");
7092 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7094 if (PyObject_AsReadBuffer(obj1
, (const void**)(&arg2
), &temp2
) == -1) SWIG_fail
;
7098 wxBitmap_CopyFromBufferRGBA(arg1
,arg2
,arg3
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 resultobj
= SWIG_Py_Void();
7108 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
= 0;
7110 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7111 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7117 PyObject
* obj0
= 0 ;
7118 PyObject
* obj1
= 0 ;
7119 char * kwnames
[] = {
7120 (char *) "self",(char *) "other", NULL
7123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7125 if (!SWIG_IsOK(res1
)) {
7126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7128 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7129 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7130 if (!SWIG_IsOK(res2
)) {
7131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7133 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7135 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7147 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
= 0;
7149 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
7150 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
7156 PyObject
* obj0
= 0 ;
7157 PyObject
* obj1
= 0 ;
7158 char * kwnames
[] = {
7159 (char *) "self",(char *) "other", NULL
7162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7164 if (!SWIG_IsOK(res1
)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
7167 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7168 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
7169 if (!SWIG_IsOK(res2
)) {
7170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
7172 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
7174 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7186 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7189 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
7190 return SWIG_Py_Void();
7193 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7194 return SWIG_Python_InitShadowInstance(args
);
7197 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
= 0;
7205 wxBitmap
*result
= 0 ;
7212 PyObject
* obj0
= 0 ;
7213 PyObject
* obj1
= 0 ;
7214 PyObject
* obj2
= 0 ;
7215 PyObject
* obj3
= 0 ;
7216 char * kwnames
[] = {
7217 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
7220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7221 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7222 if (!SWIG_IsOK(ecode1
)) {
7223 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
7225 arg1
= static_cast< int >(val1
);
7226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7227 if (!SWIG_IsOK(ecode2
)) {
7228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
7230 arg2
= static_cast< int >(val2
);
7232 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7236 if (obj3
!= Py_None
) {
7237 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
7242 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7252 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
= 0;
7258 wxBitmap
*result
= 0 ;
7264 PyObject
* obj0
= 0 ;
7265 PyObject
* obj1
= 0 ;
7266 PyObject
* obj2
= 0 ;
7267 char * kwnames
[] = {
7268 (char *) "width",(char *) "height",(char *) "data", NULL
7271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7272 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7273 if (!SWIG_IsOK(ecode1
)) {
7274 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
7276 arg1
= static_cast< int >(val1
);
7277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7278 if (!SWIG_IsOK(ecode2
)) {
7279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
7281 arg2
= static_cast< int >(val2
);
7283 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7287 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7297 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
= 0;
7303 wxBitmap
*result
= 0 ;
7309 PyObject
* obj0
= 0 ;
7310 PyObject
* obj1
= 0 ;
7311 PyObject
* obj2
= 0 ;
7312 char * kwnames
[] = {
7313 (char *) "width",(char *) "height",(char *) "data", NULL
7316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7317 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7318 if (!SWIG_IsOK(ecode1
)) {
7319 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
7321 arg1
= static_cast< int >(val1
);
7322 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7323 if (!SWIG_IsOK(ecode2
)) {
7324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
7326 arg2
= static_cast< int >(val2
);
7328 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
7332 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
7342 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7343 PyObject
*resultobj
= 0;
7344 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7348 PyObject
*swig_obj
[1] ;
7350 if (!args
) SWIG_fail
;
7352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7353 if (!SWIG_IsOK(res1
)) {
7354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7356 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7358 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7368 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7369 PyObject
*resultobj
= 0;
7370 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7374 PyObject
*swig_obj
[1] ;
7376 if (!args
) SWIG_fail
;
7378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7379 if (!SWIG_IsOK(res1
)) {
7380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7382 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7384 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= SWIG_From_int(static_cast< int >(result
));
7394 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7395 PyObject
*resultobj
= 0;
7396 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7400 PyObject
*swig_obj
[1] ;
7402 if (!args
) SWIG_fail
;
7404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7405 if (!SWIG_IsOK(res1
)) {
7406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7408 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7410 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7411 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= SWIG_From_int(static_cast< int >(result
));
7420 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7421 PyObject
*resultobj
= 0;
7422 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7426 PyObject
*swig_obj
[1] ;
7428 if (!args
) SWIG_fail
;
7430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7431 if (!SWIG_IsOK(res1
)) {
7432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7434 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7436 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7446 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7447 PyObject
*resultobj
= 0;
7448 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7452 PyObject
*swig_obj
[1] ;
7454 if (!args
) SWIG_fail
;
7456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7457 if (!SWIG_IsOK(res1
)) {
7458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7460 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7462 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 resultobj
= SWIG_From_int(static_cast< int >(result
));
7472 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7474 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7475 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7476 return SWIG_Py_Void();
7479 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7480 PyObject
*resultobj
= 0;
7481 wxBitmap
*arg1
= 0 ;
7482 wxNativePixelData
*result
= 0 ;
7486 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7488 if (!SWIG_IsOK(res1
)) {
7489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7494 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7496 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7506 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7507 PyObject
*resultobj
= 0;
7508 wxBitmap
*arg1
= 0 ;
7510 wxNativePixelData
*result
= 0 ;
7515 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7517 if (!SWIG_IsOK(res1
)) {
7518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7523 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7526 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7529 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7539 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7540 PyObject
*resultobj
= 0;
7541 wxBitmap
*arg1
= 0 ;
7544 wxNativePixelData
*result
= 0 ;
7550 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7552 if (!SWIG_IsOK(res1
)) {
7553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7558 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7561 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7565 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7568 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7578 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7582 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7585 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7588 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7591 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7595 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7600 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7601 PyObject
*resultobj
= 0;
7602 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7605 PyObject
*swig_obj
[1] ;
7607 if (!args
) SWIG_fail
;
7609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7610 if (!SWIG_IsOK(res1
)) {
7611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7613 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= SWIG_Py_Void();
7626 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7627 PyObject
*resultobj
= 0;
7628 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7629 wxNativePixelData_Accessor result
;
7632 PyObject
*swig_obj
[1] ;
7634 if (!args
) SWIG_fail
;
7636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7637 if (!SWIG_IsOK(res1
)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7640 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7642 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7652 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7653 PyObject
*resultobj
= 0;
7654 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7657 PyObject
*swig_obj
[1] ;
7659 if (!args
) SWIG_fail
;
7661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7662 if (!SWIG_IsOK(res1
)) {
7663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7665 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7668 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= SWIG_Py_Void();
7677 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7678 PyObject
*resultobj
= 0;
7679 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7683 PyObject
*swig_obj
[1] ;
7685 if (!args
) SWIG_fail
;
7687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7688 if (!SWIG_IsOK(res1
)) {
7689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7691 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7693 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7705 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7708 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7709 return SWIG_Py_Void();
7712 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7713 return SWIG_Python_InitShadowInstance(args
);
7716 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7717 PyObject
*resultobj
= 0;
7718 wxNativePixelData
*arg1
= 0 ;
7719 wxNativePixelData_Accessor
*result
= 0 ;
7723 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7725 if (!SWIG_IsOK(res1
)) {
7726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7731 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7733 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7743 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7744 PyObject
*resultobj
= 0;
7745 wxBitmap
*arg1
= 0 ;
7746 wxNativePixelData
*arg2
= 0 ;
7747 wxNativePixelData_Accessor
*result
= 0 ;
7753 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7755 if (!SWIG_IsOK(res1
)) {
7756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7761 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7762 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7763 if (!SWIG_IsOK(res2
)) {
7764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7769 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7771 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7781 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7782 PyObject
*resultobj
= 0;
7783 wxNativePixelData_Accessor
*result
= 0 ;
7785 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7787 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7788 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7797 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7801 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7804 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7807 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7810 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7814 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7819 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7820 PyObject
*resultobj
= 0;
7821 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7824 PyObject
*swig_obj
[1] ;
7826 if (!args
) SWIG_fail
;
7828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7829 if (!SWIG_IsOK(res1
)) {
7830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7832 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_Py_Void();
7845 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
= 0;
7847 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7848 wxNativePixelData
*arg2
= 0 ;
7853 PyObject
* obj0
= 0 ;
7854 PyObject
* obj1
= 0 ;
7855 char * kwnames
[] = {
7856 (char *) "self",(char *) "data", NULL
7859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7861 if (!SWIG_IsOK(res1
)) {
7862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7864 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7865 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7866 if (!SWIG_IsOK(res2
)) {
7867 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7872 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7874 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 resultobj
= SWIG_Py_Void();
7884 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7885 PyObject
*resultobj
= 0;
7886 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7890 PyObject
*swig_obj
[1] ;
7892 if (!args
) SWIG_fail
;
7894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7895 if (!SWIG_IsOK(res1
)) {
7896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7898 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7900 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7901 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7912 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7913 PyObject
*resultobj
= 0;
7914 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7917 PyObject
*swig_obj
[1] ;
7919 if (!args
) SWIG_fail
;
7921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7922 if (!SWIG_IsOK(res1
)) {
7923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7925 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7927 wxNativePixelData_Accessor_nextPixel(arg1
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 resultobj
= SWIG_Py_Void();
7937 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
= 0;
7939 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7940 wxNativePixelData
*arg2
= 0 ;
7951 PyObject
* obj0
= 0 ;
7952 PyObject
* obj1
= 0 ;
7953 PyObject
* obj2
= 0 ;
7954 PyObject
* obj3
= 0 ;
7955 char * kwnames
[] = {
7956 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7961 if (!SWIG_IsOK(res1
)) {
7962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7964 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7965 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7966 if (!SWIG_IsOK(res2
)) {
7967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7972 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7974 if (!SWIG_IsOK(ecode3
)) {
7975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7977 arg3
= static_cast< int >(val3
);
7978 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7979 if (!SWIG_IsOK(ecode4
)) {
7980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7982 arg4
= static_cast< int >(val4
);
7984 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= SWIG_Py_Void();
7994 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
= 0;
7996 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7997 wxNativePixelData
*arg2
= 0 ;
8005 PyObject
* obj0
= 0 ;
8006 PyObject
* obj1
= 0 ;
8007 PyObject
* obj2
= 0 ;
8008 char * kwnames
[] = {
8009 (char *) "self",(char *) "data",(char *) "x", NULL
8012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8014 if (!SWIG_IsOK(res1
)) {
8015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8017 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8018 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8019 if (!SWIG_IsOK(res2
)) {
8020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8025 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8026 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8027 if (!SWIG_IsOK(ecode3
)) {
8028 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8030 arg3
= static_cast< int >(val3
);
8032 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8035 resultobj
= SWIG_Py_Void();
8042 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
= 0;
8044 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8045 wxNativePixelData
*arg2
= 0 ;
8053 PyObject
* obj0
= 0 ;
8054 PyObject
* obj1
= 0 ;
8055 PyObject
* obj2
= 0 ;
8056 char * kwnames
[] = {
8057 (char *) "self",(char *) "data",(char *) "y", NULL
8060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8062 if (!SWIG_IsOK(res1
)) {
8063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8065 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8067 if (!SWIG_IsOK(res2
)) {
8068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8073 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8075 if (!SWIG_IsOK(ecode3
)) {
8076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8078 arg3
= static_cast< int >(val3
);
8080 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
8081 if (PyErr_Occurred()) SWIG_fail
;
8083 resultobj
= SWIG_Py_Void();
8090 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
*resultobj
= 0;
8092 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8093 wxNativePixelData
*arg2
= 0 ;
8104 PyObject
* obj0
= 0 ;
8105 PyObject
* obj1
= 0 ;
8106 PyObject
* obj2
= 0 ;
8107 PyObject
* obj3
= 0 ;
8108 char * kwnames
[] = {
8109 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8114 if (!SWIG_IsOK(res1
)) {
8115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8117 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8118 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
8119 if (!SWIG_IsOK(res2
)) {
8120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
8125 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
8126 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8127 if (!SWIG_IsOK(ecode3
)) {
8128 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8130 arg3
= static_cast< int >(val3
);
8131 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8132 if (!SWIG_IsOK(ecode4
)) {
8133 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8135 arg4
= static_cast< int >(val4
);
8137 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= SWIG_Py_Void();
8147 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
= 0;
8149 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8155 unsigned char val2
;
8157 unsigned char val3
;
8159 unsigned char val4
;
8161 PyObject
* obj0
= 0 ;
8162 PyObject
* obj1
= 0 ;
8163 PyObject
* obj2
= 0 ;
8164 PyObject
* obj3
= 0 ;
8165 char * kwnames
[] = {
8166 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
8169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8171 if (!SWIG_IsOK(res1
)) {
8172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8174 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8175 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8176 if (!SWIG_IsOK(ecode2
)) {
8177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8179 arg2
= static_cast< byte
>(val2
);
8180 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8181 if (!SWIG_IsOK(ecode3
)) {
8182 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8184 arg3
= static_cast< byte
>(val3
);
8185 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8186 if (!SWIG_IsOK(ecode4
)) {
8187 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8189 arg4
= static_cast< byte
>(val4
);
8191 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 resultobj
= SWIG_Py_Void();
8201 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8202 PyObject
*resultobj
= 0;
8203 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
8204 PyObject
*result
= 0 ;
8207 PyObject
*swig_obj
[1] ;
8209 if (!args
) SWIG_fail
;
8211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
8212 if (!SWIG_IsOK(res1
)) {
8213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
8215 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
8217 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8227 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8229 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8230 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
8231 return SWIG_Py_Void();
8234 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8235 return SWIG_Python_InitShadowInstance(args
);
8238 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8239 PyObject
*resultobj
= 0;
8240 wxBitmap
*arg1
= 0 ;
8241 wxAlphaPixelData
*result
= 0 ;
8245 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8247 if (!SWIG_IsOK(res1
)) {
8248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8253 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8255 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8265 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8266 PyObject
*resultobj
= 0;
8267 wxBitmap
*arg1
= 0 ;
8269 wxAlphaPixelData
*result
= 0 ;
8274 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8276 if (!SWIG_IsOK(res1
)) {
8277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8282 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8285 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8288 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8298 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8299 PyObject
*resultobj
= 0;
8300 wxBitmap
*arg1
= 0 ;
8303 wxAlphaPixelData
*result
= 0 ;
8309 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
8310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8311 if (!SWIG_IsOK(res1
)) {
8312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
8317 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8320 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
8324 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
8327 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
8337 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
8341 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
8344 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8347 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8350 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8354 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8359 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8360 PyObject
*resultobj
= 0;
8361 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8364 PyObject
*swig_obj
[1] ;
8366 if (!args
) SWIG_fail
;
8368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8369 if (!SWIG_IsOK(res1
)) {
8370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8372 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 resultobj
= SWIG_Py_Void();
8385 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8386 PyObject
*resultobj
= 0;
8387 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8388 wxAlphaPixelData_Accessor result
;
8391 PyObject
*swig_obj
[1] ;
8393 if (!args
) SWIG_fail
;
8395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8396 if (!SWIG_IsOK(res1
)) {
8397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8399 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8401 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8411 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8412 PyObject
*resultobj
= 0;
8413 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8416 PyObject
*swig_obj
[1] ;
8418 if (!args
) SWIG_fail
;
8420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8421 if (!SWIG_IsOK(res1
)) {
8422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8424 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 resultobj
= SWIG_Py_Void();
8436 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8437 PyObject
*resultobj
= 0;
8438 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8442 PyObject
*swig_obj
[1] ;
8444 if (!args
) SWIG_fail
;
8446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8447 if (!SWIG_IsOK(res1
)) {
8448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8450 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8452 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8464 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8467 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8468 return SWIG_Py_Void();
8471 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8472 return SWIG_Python_InitShadowInstance(args
);
8475 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8476 PyObject
*resultobj
= 0;
8477 wxAlphaPixelData
*arg1
= 0 ;
8478 wxAlphaPixelData_Accessor
*result
= 0 ;
8482 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8484 if (!SWIG_IsOK(res1
)) {
8485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8490 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8492 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8502 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8503 PyObject
*resultobj
= 0;
8504 wxBitmap
*arg1
= 0 ;
8505 wxAlphaPixelData
*arg2
= 0 ;
8506 wxAlphaPixelData_Accessor
*result
= 0 ;
8512 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8514 if (!SWIG_IsOK(res1
)) {
8515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8520 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8521 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8522 if (!SWIG_IsOK(res2
)) {
8523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8528 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8530 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8540 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8541 PyObject
*resultobj
= 0;
8542 wxAlphaPixelData_Accessor
*result
= 0 ;
8544 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8546 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8547 if (PyErr_Occurred()) SWIG_fail
;
8549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8556 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8560 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8563 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8566 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8569 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8573 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8578 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8579 PyObject
*resultobj
= 0;
8580 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8583 PyObject
*swig_obj
[1] ;
8585 if (!args
) SWIG_fail
;
8587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8588 if (!SWIG_IsOK(res1
)) {
8589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8591 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8597 resultobj
= SWIG_Py_Void();
8604 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
= 0;
8606 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8607 wxAlphaPixelData
*arg2
= 0 ;
8612 PyObject
* obj0
= 0 ;
8613 PyObject
* obj1
= 0 ;
8614 char * kwnames
[] = {
8615 (char *) "self",(char *) "data", NULL
8618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8620 if (!SWIG_IsOK(res1
)) {
8621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8623 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8624 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8625 if (!SWIG_IsOK(res2
)) {
8626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8631 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8633 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= SWIG_Py_Void();
8643 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8644 PyObject
*resultobj
= 0;
8645 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8649 PyObject
*swig_obj
[1] ;
8651 if (!args
) SWIG_fail
;
8653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8654 if (!SWIG_IsOK(res1
)) {
8655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8657 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8659 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8660 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8671 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8672 PyObject
*resultobj
= 0;
8673 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8676 PyObject
*swig_obj
[1] ;
8678 if (!args
) SWIG_fail
;
8680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8681 if (!SWIG_IsOK(res1
)) {
8682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8684 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8686 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 resultobj
= SWIG_Py_Void();
8696 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
= 0;
8698 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8699 wxAlphaPixelData
*arg2
= 0 ;
8710 PyObject
* obj0
= 0 ;
8711 PyObject
* obj1
= 0 ;
8712 PyObject
* obj2
= 0 ;
8713 PyObject
* obj3
= 0 ;
8714 char * kwnames
[] = {
8715 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8720 if (!SWIG_IsOK(res1
)) {
8721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8723 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8725 if (!SWIG_IsOK(res2
)) {
8726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8731 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8732 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8733 if (!SWIG_IsOK(ecode3
)) {
8734 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8736 arg3
= static_cast< int >(val3
);
8737 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8738 if (!SWIG_IsOK(ecode4
)) {
8739 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8741 arg4
= static_cast< int >(val4
);
8743 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 resultobj
= SWIG_Py_Void();
8753 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
= 0;
8755 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8756 wxAlphaPixelData
*arg2
= 0 ;
8764 PyObject
* obj0
= 0 ;
8765 PyObject
* obj1
= 0 ;
8766 PyObject
* obj2
= 0 ;
8767 char * kwnames
[] = {
8768 (char *) "self",(char *) "data",(char *) "x", NULL
8771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8773 if (!SWIG_IsOK(res1
)) {
8774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8776 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8777 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8778 if (!SWIG_IsOK(res2
)) {
8779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8784 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8786 if (!SWIG_IsOK(ecode3
)) {
8787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8789 arg3
= static_cast< int >(val3
);
8791 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 resultobj
= SWIG_Py_Void();
8801 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
= 0;
8803 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8804 wxAlphaPixelData
*arg2
= 0 ;
8812 PyObject
* obj0
= 0 ;
8813 PyObject
* obj1
= 0 ;
8814 PyObject
* obj2
= 0 ;
8815 char * kwnames
[] = {
8816 (char *) "self",(char *) "data",(char *) "y", NULL
8819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8821 if (!SWIG_IsOK(res1
)) {
8822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8824 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8826 if (!SWIG_IsOK(res2
)) {
8827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8832 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8833 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8834 if (!SWIG_IsOK(ecode3
)) {
8835 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8837 arg3
= static_cast< int >(val3
);
8839 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= SWIG_Py_Void();
8849 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
*resultobj
= 0;
8851 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8852 wxAlphaPixelData
*arg2
= 0 ;
8863 PyObject
* obj0
= 0 ;
8864 PyObject
* obj1
= 0 ;
8865 PyObject
* obj2
= 0 ;
8866 PyObject
* obj3
= 0 ;
8867 char * kwnames
[] = {
8868 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8873 if (!SWIG_IsOK(res1
)) {
8874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8876 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8877 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8878 if (!SWIG_IsOK(res2
)) {
8879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8884 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8885 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8886 if (!SWIG_IsOK(ecode3
)) {
8887 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8889 arg3
= static_cast< int >(val3
);
8890 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8891 if (!SWIG_IsOK(ecode4
)) {
8892 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8894 arg4
= static_cast< int >(val4
);
8896 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 resultobj
= SWIG_Py_Void();
8906 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
= 0;
8908 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8915 unsigned char val2
;
8917 unsigned char val3
;
8919 unsigned char val4
;
8921 unsigned char val5
;
8923 PyObject
* obj0
= 0 ;
8924 PyObject
* obj1
= 0 ;
8925 PyObject
* obj2
= 0 ;
8926 PyObject
* obj3
= 0 ;
8927 PyObject
* obj4
= 0 ;
8928 char * kwnames
[] = {
8929 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8934 if (!SWIG_IsOK(res1
)) {
8935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8937 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8938 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8939 if (!SWIG_IsOK(ecode2
)) {
8940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8942 arg2
= static_cast< byte
>(val2
);
8943 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8944 if (!SWIG_IsOK(ecode3
)) {
8945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8947 arg3
= static_cast< byte
>(val3
);
8948 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8949 if (!SWIG_IsOK(ecode4
)) {
8950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8952 arg4
= static_cast< byte
>(val4
);
8953 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8954 if (!SWIG_IsOK(ecode5
)) {
8955 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8957 arg5
= static_cast< byte
>(val5
);
8959 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= SWIG_Py_Void();
8969 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8970 PyObject
*resultobj
= 0;
8971 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8972 PyObject
*result
= 0 ;
8975 PyObject
*swig_obj
[1] ;
8977 if (!args
) SWIG_fail
;
8979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8980 if (!SWIG_IsOK(res1
)) {
8981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8983 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8985 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8995 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8997 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8998 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8999 return SWIG_Py_Void();
9002 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9003 return SWIG_Python_InitShadowInstance(args
);
9006 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
*resultobj
= 0;
9008 wxBitmap
*arg1
= 0 ;
9009 wxColour
const &arg2_defvalue
= wxNullColour
;
9010 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
9011 wxMask
*result
= 0 ;
9015 PyObject
* obj0
= 0 ;
9016 PyObject
* obj1
= 0 ;
9017 char * kwnames
[] = {
9018 (char *) "bitmap",(char *) "colour", NULL
9021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9022 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9023 if (!SWIG_IsOK(res1
)) {
9024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9029 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9033 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9037 if (!wxPyCheckForApp()) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
9050 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9051 PyObject
*resultobj
= 0;
9052 wxMask
*arg1
= (wxMask
*) 0 ;
9055 PyObject
*swig_obj
[1] ;
9057 if (!args
) SWIG_fail
;
9059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
9060 if (!SWIG_IsOK(res1
)) {
9061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
9063 arg1
= reinterpret_cast< wxMask
* >(argp1
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9069 resultobj
= SWIG_Py_Void();
9076 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9079 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
9080 return SWIG_Py_Void();
9083 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9084 return SWIG_Python_InitShadowInstance(args
);
9087 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
= 0;
9089 wxString
*arg1
= 0 ;
9091 int arg3
= (int) -1 ;
9092 int arg4
= (int) -1 ;
9093 wxIcon
*result
= 0 ;
9094 bool temp1
= false ;
9101 PyObject
* obj0
= 0 ;
9102 PyObject
* obj1
= 0 ;
9103 PyObject
* obj2
= 0 ;
9104 PyObject
* obj3
= 0 ;
9105 char * kwnames
[] = {
9106 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
9109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9111 arg1
= wxString_in_helper(obj0
);
9112 if (arg1
== NULL
) SWIG_fail
;
9115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9116 if (!SWIG_IsOK(ecode2
)) {
9117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
9119 arg2
= static_cast< wxBitmapType
>(val2
);
9121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9122 if (!SWIG_IsOK(ecode3
)) {
9123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
9125 arg3
= static_cast< int >(val3
);
9128 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9129 if (!SWIG_IsOK(ecode4
)) {
9130 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
9132 arg4
= static_cast< int >(val4
);
9135 if (!wxPyCheckForApp()) SWIG_fail
;
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9137 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
9156 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9157 PyObject
*resultobj
= 0;
9158 wxIcon
*arg1
= (wxIcon
*) 0 ;
9161 PyObject
*swig_obj
[1] ;
9163 if (!args
) SWIG_fail
;
9165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
9166 if (!SWIG_IsOK(res1
)) {
9167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
9169 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 resultobj
= SWIG_Py_Void();
9184 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9185 PyObject
*resultobj
= 0;
9186 wxIcon
*result
= 0 ;
9188 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
9190 if (!wxPyCheckForApp()) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 result
= (wxIcon
*)new wxIcon();
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9203 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9204 PyObject
*resultobj
= 0;
9205 wxIconLocation
*arg1
= 0 ;
9206 wxIcon
*result
= 0 ;
9209 PyObject
* obj0
= 0 ;
9210 char * kwnames
[] = {
9211 (char *) "loc", NULL
9214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
9215 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
9216 if (!SWIG_IsOK(res1
)) {
9217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
9222 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9224 if (!wxPyCheckForApp()) SWIG_fail
;
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9237 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9238 PyObject
*resultobj
= 0;
9239 wxBitmap
*arg1
= 0 ;
9240 wxIcon
*result
= 0 ;
9243 PyObject
* obj0
= 0 ;
9244 char * kwnames
[] = {
9245 (char *) "bmp", NULL
9248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9249 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9250 if (!SWIG_IsOK(res1
)) {
9251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9256 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9258 if (!wxPyCheckForApp()) SWIG_fail
;
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9271 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
= 0;
9273 PyObject
*arg1
= (PyObject
*) 0 ;
9274 wxIcon
*result
= 0 ;
9275 PyObject
* obj0
= 0 ;
9276 char * kwnames
[] = {
9277 (char *) "listOfStrings", NULL
9280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
9283 if (!wxPyCheckForApp()) SWIG_fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 result
= (wxIcon
*)new_wxIcon(arg1
);
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
9296 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9297 PyObject
*resultobj
= 0;
9298 wxIcon
*arg1
= (wxIcon
*) 0 ;
9302 PyObject
*swig_obj
[1] ;
9304 if (!args
) SWIG_fail
;
9306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9307 if (!SWIG_IsOK(res1
)) {
9308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
9310 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 result
= (bool)(arg1
)->IsOk();
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9326 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9327 PyObject
*resultobj
= 0;
9328 wxIcon
*arg1
= (wxIcon
*) 0 ;
9332 PyObject
*swig_obj
[1] ;
9334 if (!args
) SWIG_fail
;
9336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9337 if (!SWIG_IsOK(res1
)) {
9338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9340 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 result
= (int)(arg1
)->GetWidth();
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= SWIG_From_int(static_cast< int >(result
));
9354 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9355 PyObject
*resultobj
= 0;
9356 wxIcon
*arg1
= (wxIcon
*) 0 ;
9360 PyObject
*swig_obj
[1] ;
9362 if (!args
) SWIG_fail
;
9364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9365 if (!SWIG_IsOK(res1
)) {
9366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9368 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 result
= (int)(arg1
)->GetHeight();
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 resultobj
= SWIG_From_int(static_cast< int >(result
));
9382 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9383 PyObject
*resultobj
= 0;
9384 wxIcon
*arg1
= (wxIcon
*) 0 ;
9388 PyObject
*swig_obj
[1] ;
9390 if (!args
) SWIG_fail
;
9392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9393 if (!SWIG_IsOK(res1
)) {
9394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9396 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 result
= (int)(arg1
)->GetDepth();
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= SWIG_From_int(static_cast< int >(result
));
9410 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
= 0;
9412 wxIcon
*arg1
= (wxIcon
*) 0 ;
9418 PyObject
* obj0
= 0 ;
9419 PyObject
* obj1
= 0 ;
9420 char * kwnames
[] = {
9421 (char *) "self",(char *) "w", NULL
9424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9426 if (!SWIG_IsOK(res1
)) {
9427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9429 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9431 if (!SWIG_IsOK(ecode2
)) {
9432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9434 arg2
= static_cast< int >(val2
);
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 (arg1
)->SetWidth(arg2
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 resultobj
= SWIG_Py_Void();
9448 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
*resultobj
= 0;
9450 wxIcon
*arg1
= (wxIcon
*) 0 ;
9456 PyObject
* obj0
= 0 ;
9457 PyObject
* obj1
= 0 ;
9458 char * kwnames
[] = {
9459 (char *) "self",(char *) "h", NULL
9462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9464 if (!SWIG_IsOK(res1
)) {
9465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9467 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9469 if (!SWIG_IsOK(ecode2
)) {
9470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9472 arg2
= static_cast< int >(val2
);
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 (arg1
)->SetHeight(arg2
);
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9479 resultobj
= SWIG_Py_Void();
9486 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9487 PyObject
*resultobj
= 0;
9488 wxIcon
*arg1
= (wxIcon
*) 0 ;
9494 PyObject
* obj0
= 0 ;
9495 PyObject
* obj1
= 0 ;
9496 char * kwnames
[] = {
9497 (char *) "self",(char *) "d", NULL
9500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9502 if (!SWIG_IsOK(res1
)) {
9503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9505 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9507 if (!SWIG_IsOK(ecode2
)) {
9508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9510 arg2
= static_cast< int >(val2
);
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 (arg1
)->SetDepth(arg2
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= SWIG_Py_Void();
9524 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
= 0;
9526 wxIcon
*arg1
= (wxIcon
*) 0 ;
9527 wxBitmap
*arg2
= 0 ;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9534 char * kwnames
[] = {
9535 (char *) "self",(char *) "bmp", NULL
9538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9540 if (!SWIG_IsOK(res1
)) {
9541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9543 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9544 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9545 if (!SWIG_IsOK(res2
)) {
9546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9549 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9551 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= SWIG_Py_Void();
9565 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9568 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9569 return SWIG_Py_Void();
9572 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9573 return SWIG_Python_InitShadowInstance(args
);
9576 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
= 0;
9578 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9579 int arg2
= (int) 0 ;
9580 wxIconLocation
*result
= 0 ;
9581 bool temp1
= false ;
9584 PyObject
* obj0
= 0 ;
9585 PyObject
* obj1
= 0 ;
9586 char * kwnames
[] = {
9587 (char *) "filename",(char *) "num", NULL
9590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9593 arg1
= wxString_in_helper(obj0
);
9594 if (arg1
== NULL
) SWIG_fail
;
9599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9600 if (!SWIG_IsOK(ecode2
)) {
9601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9603 arg2
= static_cast< int >(val2
);
9606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9607 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9626 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9627 PyObject
*resultobj
= 0;
9628 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9631 PyObject
*swig_obj
[1] ;
9633 if (!args
) SWIG_fail
;
9635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9636 if (!SWIG_IsOK(res1
)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9639 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= SWIG_Py_Void();
9654 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9655 PyObject
*resultobj
= 0;
9656 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9660 PyObject
*swig_obj
[1] ;
9662 if (!args
) SWIG_fail
;
9664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9665 if (!SWIG_IsOK(res1
)) {
9666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9668 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9684 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
= 0;
9686 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9687 wxString
*arg2
= 0 ;
9690 bool temp2
= false ;
9691 PyObject
* obj0
= 0 ;
9692 PyObject
* obj1
= 0 ;
9693 char * kwnames
[] = {
9694 (char *) "self",(char *) "filename", NULL
9697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9699 if (!SWIG_IsOK(res1
)) {
9700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9702 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9704 arg2
= wxString_in_helper(obj1
);
9705 if (arg2
== NULL
) SWIG_fail
;
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 (arg1
)->SetFileName((wxString
const &)*arg2
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9714 resultobj
= SWIG_Py_Void();
9729 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9730 PyObject
*resultobj
= 0;
9731 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9732 wxString
*result
= 0 ;
9735 PyObject
*swig_obj
[1] ;
9737 if (!args
) SWIG_fail
;
9739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9740 if (!SWIG_IsOK(res1
)) {
9741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9743 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9748 result
= (wxString
*) &_result_ref
;
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9755 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9757 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9766 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
= 0;
9768 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9774 PyObject
* obj0
= 0 ;
9775 PyObject
* obj1
= 0 ;
9776 char * kwnames
[] = {
9777 (char *) "self",(char *) "num", NULL
9780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9782 if (!SWIG_IsOK(res1
)) {
9783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9785 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9787 if (!SWIG_IsOK(ecode2
)) {
9788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9790 arg2
= static_cast< int >(val2
);
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 wxIconLocation_SetIndex(arg1
,arg2
);
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= SWIG_Py_Void();
9804 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9805 PyObject
*resultobj
= 0;
9806 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9810 PyObject
*swig_obj
[1] ;
9812 if (!args
) SWIG_fail
;
9814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9815 if (!SWIG_IsOK(res1
)) {
9816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9818 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 result
= (int)wxIconLocation_GetIndex(arg1
);
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 resultobj
= SWIG_From_int(static_cast< int >(result
));
9832 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9835 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9836 return SWIG_Py_Void();
9839 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9840 return SWIG_Python_InitShadowInstance(args
);
9843 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9844 PyObject
*resultobj
= 0;
9845 wxIconBundle
*result
= 0 ;
9847 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 result
= (wxIconBundle
*)new wxIconBundle();
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9861 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
= 0;
9863 wxString
*arg1
= 0 ;
9865 wxIconBundle
*result
= 0 ;
9866 bool temp1
= false ;
9869 PyObject
* obj0
= 0 ;
9870 PyObject
* obj1
= 0 ;
9871 char * kwnames
[] = {
9872 (char *) "file",(char *) "type", NULL
9875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9877 arg1
= wxString_in_helper(obj0
);
9878 if (arg1
== NULL
) SWIG_fail
;
9881 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9882 if (!SWIG_IsOK(ecode2
)) {
9883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9885 arg2
= static_cast< long >(val2
);
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9907 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
= 0;
9910 wxIconBundle
*result
= 0 ;
9913 PyObject
* obj0
= 0 ;
9914 char * kwnames
[] = {
9915 (char *) "icon", NULL
9918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9919 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9920 if (!SWIG_IsOK(res1
)) {
9921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9926 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9940 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9941 PyObject
*resultobj
= 0;
9942 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9945 PyObject
*swig_obj
[1] ;
9947 if (!args
) SWIG_fail
;
9949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9950 if (!SWIG_IsOK(res1
)) {
9951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9953 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= SWIG_Py_Void();
9968 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
= 0;
9970 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9976 PyObject
* obj0
= 0 ;
9977 PyObject
* obj1
= 0 ;
9978 char * kwnames
[] = {
9979 (char *) "self",(char *) "icon", NULL
9982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9984 if (!SWIG_IsOK(res1
)) {
9985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9987 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9988 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9989 if (!SWIG_IsOK(res2
)) {
9990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9995 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= SWIG_Py_Void();
10009 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
= 0;
10011 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10012 wxString
*arg2
= 0 ;
10016 bool temp2
= false ;
10019 PyObject
* obj0
= 0 ;
10020 PyObject
* obj1
= 0 ;
10021 PyObject
* obj2
= 0 ;
10022 char * kwnames
[] = {
10023 (char *) "self",(char *) "file",(char *) "type", NULL
10026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10028 if (!SWIG_IsOK(res1
)) {
10029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
10031 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10033 arg2
= wxString_in_helper(obj1
);
10034 if (arg2
== NULL
) SWIG_fail
;
10037 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10038 if (!SWIG_IsOK(ecode3
)) {
10039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
10041 arg3
= static_cast< long >(val3
);
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10048 resultobj
= SWIG_Py_Void();
10063 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
= 0;
10065 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
10067 wxIcon
*result
= 0 ;
10071 PyObject
* obj0
= 0 ;
10072 PyObject
* obj1
= 0 ;
10073 char * kwnames
[] = {
10074 (char *) "self",(char *) "size", NULL
10077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
10079 if (!SWIG_IsOK(res1
)) {
10080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
10082 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
10085 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
10091 result
= (wxIcon
*) &_result_ref
;
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10097 wxIcon
* resultptr
= new wxIcon(*result
);
10098 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
10106 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10109 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
10110 return SWIG_Py_Void();
10113 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10114 return SWIG_Python_InitShadowInstance(args
);
10117 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
= 0;
10119 wxString
*arg1
= 0 ;
10121 int arg3
= (int) 0 ;
10122 int arg4
= (int) 0 ;
10123 wxCursor
*result
= 0 ;
10124 bool temp1
= false ;
10131 PyObject
* obj0
= 0 ;
10132 PyObject
* obj1
= 0 ;
10133 PyObject
* obj2
= 0 ;
10134 PyObject
* obj3
= 0 ;
10135 char * kwnames
[] = {
10136 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
10139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10141 arg1
= wxString_in_helper(obj0
);
10142 if (arg1
== NULL
) SWIG_fail
;
10145 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10146 if (!SWIG_IsOK(ecode2
)) {
10147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
10149 arg2
= static_cast< long >(val2
);
10151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10152 if (!SWIG_IsOK(ecode3
)) {
10153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
10155 arg3
= static_cast< int >(val3
);
10158 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10159 if (!SWIG_IsOK(ecode4
)) {
10160 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
10162 arg4
= static_cast< int >(val4
);
10165 if (!wxPyCheckForApp()) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
10186 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10187 PyObject
*resultobj
= 0;
10188 wxCursor
*arg1
= (wxCursor
*) 0 ;
10191 PyObject
*swig_obj
[1] ;
10193 if (!args
) SWIG_fail
;
10194 swig_obj
[0] = args
;
10195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
10196 if (!SWIG_IsOK(res1
)) {
10197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
10199 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= SWIG_Py_Void();
10214 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
= 0;
10217 wxCursor
*result
= 0 ;
10220 PyObject
* obj0
= 0 ;
10221 char * kwnames
[] = {
10222 (char *) "id", NULL
10225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10226 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10227 if (!SWIG_IsOK(ecode1
)) {
10228 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10230 arg1
= static_cast< int >(val1
);
10232 if (!wxPyCheckForApp()) SWIG_fail
;
10233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10234 result
= (wxCursor
*)new wxCursor(arg1
);
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10245 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
= 0;
10247 wxImage
*arg1
= 0 ;
10248 wxCursor
*result
= 0 ;
10251 PyObject
* obj0
= 0 ;
10252 char * kwnames
[] = {
10253 (char *) "image", NULL
10256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10257 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10258 if (!SWIG_IsOK(res1
)) {
10259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10264 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10266 if (!wxPyCheckForApp()) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10279 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10280 PyObject
*resultobj
= 0;
10281 wxCursor
*arg1
= (wxCursor
*) 0 ;
10285 PyObject
*swig_obj
[1] ;
10287 if (!args
) SWIG_fail
;
10288 swig_obj
[0] = args
;
10289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10290 if (!SWIG_IsOK(res1
)) {
10291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
10293 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (bool)(arg1
)->IsOk();
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10309 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10311 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10312 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10313 return SWIG_Py_Void();
10316 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10317 return SWIG_Python_InitShadowInstance(args
);
10320 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
= 0;
10322 int arg1
= (int) 0 ;
10323 int arg2
= (int) 0 ;
10324 int arg3
= (int) 0 ;
10325 int arg4
= (int) 0 ;
10326 wxRegion
*result
= 0 ;
10335 PyObject
* obj0
= 0 ;
10336 PyObject
* obj1
= 0 ;
10337 PyObject
* obj2
= 0 ;
10338 PyObject
* obj3
= 0 ;
10339 char * kwnames
[] = {
10340 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10345 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10346 if (!SWIG_IsOK(ecode1
)) {
10347 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10349 arg1
= static_cast< int >(val1
);
10352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10353 if (!SWIG_IsOK(ecode2
)) {
10354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10356 arg2
= static_cast< int >(val2
);
10359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10360 if (!SWIG_IsOK(ecode3
)) {
10361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10363 arg3
= static_cast< int >(val3
);
10366 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10367 if (!SWIG_IsOK(ecode4
)) {
10368 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10370 arg4
= static_cast< int >(val4
);
10373 if (!wxPyCheckForApp()) SWIG_fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10386 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
= 0;
10388 wxBitmap
*arg1
= 0 ;
10389 wxRegion
*result
= 0 ;
10392 PyObject
* obj0
= 0 ;
10393 char * kwnames
[] = {
10394 (char *) "bmp", NULL
10397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10398 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10399 if (!SWIG_IsOK(res1
)) {
10400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10405 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10407 if (!wxPyCheckForApp()) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10420 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
= 0;
10422 wxBitmap
*arg1
= 0 ;
10423 wxColour
*arg2
= 0 ;
10424 int arg3
= (int) 0 ;
10425 wxRegion
*result
= 0 ;
10431 PyObject
* obj0
= 0 ;
10432 PyObject
* obj1
= 0 ;
10433 PyObject
* obj2
= 0 ;
10434 char * kwnames
[] = {
10435 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10439 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10440 if (!SWIG_IsOK(res1
)) {
10441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10444 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10446 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10449 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10453 if (!SWIG_IsOK(ecode3
)) {
10454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10456 arg3
= static_cast< int >(val3
);
10459 if (!wxPyCheckForApp()) SWIG_fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10472 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
= 0;
10475 wxPoint
*arg2
= (wxPoint
*) 0 ;
10476 int arg3
= (int) wxWINDING_RULE
;
10477 wxRegion
*result
= 0 ;
10480 PyObject
* obj0
= 0 ;
10481 PyObject
* obj1
= 0 ;
10482 char * kwnames
[] = {
10483 (char *) "points",(char *) "fillStyle", NULL
10486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10488 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10489 if (arg2
== NULL
) SWIG_fail
;
10492 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10493 if (!SWIG_IsOK(ecode3
)) {
10494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10496 arg3
= static_cast< int >(val3
);
10499 if (!wxPyCheckForApp()) SWIG_fail
;
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10507 if (arg2
) delete [] arg2
;
10512 if (arg2
) delete [] arg2
;
10518 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10519 PyObject
*resultobj
= 0;
10520 wxRegion
*arg1
= (wxRegion
*) 0 ;
10523 PyObject
*swig_obj
[1] ;
10525 if (!args
) SWIG_fail
;
10526 swig_obj
[0] = args
;
10527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10528 if (!SWIG_IsOK(res1
)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10531 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 resultobj
= SWIG_Py_Void();
10546 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10547 PyObject
*resultobj
= 0;
10548 wxRegion
*arg1
= (wxRegion
*) 0 ;
10551 PyObject
*swig_obj
[1] ;
10553 if (!args
) SWIG_fail
;
10554 swig_obj
[0] = args
;
10555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10556 if (!SWIG_IsOK(res1
)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10559 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_Py_Void();
10573 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
= 0;
10575 wxRegion
*arg1
= (wxRegion
*) 0 ;
10585 PyObject
* obj0
= 0 ;
10586 PyObject
* obj1
= 0 ;
10587 PyObject
* obj2
= 0 ;
10588 char * kwnames
[] = {
10589 (char *) "self",(char *) "x",(char *) "y", NULL
10592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10594 if (!SWIG_IsOK(res1
)) {
10595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10597 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10599 if (!SWIG_IsOK(ecode2
)) {
10600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10602 arg2
= static_cast< int >(val2
);
10603 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10604 if (!SWIG_IsOK(ecode3
)) {
10605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10607 arg3
= static_cast< int >(val3
);
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10623 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
= 0;
10625 wxRegion
*arg1
= (wxRegion
*) 0 ;
10628 wxRegionContain result
;
10635 PyObject
* obj0
= 0 ;
10636 PyObject
* obj1
= 0 ;
10637 PyObject
* obj2
= 0 ;
10638 char * kwnames
[] = {
10639 (char *) "self",(char *) "x",(char *) "y", NULL
10642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10644 if (!SWIG_IsOK(res1
)) {
10645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10647 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10649 if (!SWIG_IsOK(ecode2
)) {
10650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10652 arg2
= static_cast< int >(val2
);
10653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10654 if (!SWIG_IsOK(ecode3
)) {
10655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10657 arg3
= static_cast< int >(val3
);
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 resultobj
= SWIG_From_int(static_cast< int >(result
));
10671 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
= 0;
10673 wxRegion
*arg1
= (wxRegion
*) 0 ;
10674 wxPoint
*arg2
= 0 ;
10675 wxRegionContain result
;
10679 PyObject
* obj0
= 0 ;
10680 PyObject
* obj1
= 0 ;
10681 char * kwnames
[] = {
10682 (char *) "self",(char *) "pt", NULL
10685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10687 if (!SWIG_IsOK(res1
)) {
10688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10690 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10693 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 resultobj
= SWIG_From_int(static_cast< int >(result
));
10708 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
= 0;
10710 wxRegion
*arg1
= (wxRegion
*) 0 ;
10712 wxRegionContain result
;
10716 PyObject
* obj0
= 0 ;
10717 PyObject
* obj1
= 0 ;
10718 char * kwnames
[] = {
10719 (char *) "self",(char *) "rect", NULL
10722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10724 if (!SWIG_IsOK(res1
)) {
10725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10727 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10730 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 resultobj
= SWIG_From_int(static_cast< int >(result
));
10745 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
= 0;
10747 wxRegion
*arg1
= (wxRegion
*) 0 ;
10752 wxRegionContain result
;
10763 PyObject
* obj0
= 0 ;
10764 PyObject
* obj1
= 0 ;
10765 PyObject
* obj2
= 0 ;
10766 PyObject
* obj3
= 0 ;
10767 PyObject
* obj4
= 0 ;
10768 char * kwnames
[] = {
10769 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10774 if (!SWIG_IsOK(res1
)) {
10775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10777 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10779 if (!SWIG_IsOK(ecode2
)) {
10780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10782 arg2
= static_cast< int >(val2
);
10783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10784 if (!SWIG_IsOK(ecode3
)) {
10785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10787 arg3
= static_cast< int >(val3
);
10788 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10789 if (!SWIG_IsOK(ecode4
)) {
10790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10792 arg4
= static_cast< int >(val4
);
10793 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10794 if (!SWIG_IsOK(ecode5
)) {
10795 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10797 arg5
= static_cast< int >(val5
);
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10804 resultobj
= SWIG_From_int(static_cast< int >(result
));
10811 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10812 PyObject
*resultobj
= 0;
10813 wxRegion
*arg1
= (wxRegion
*) 0 ;
10817 PyObject
*swig_obj
[1] ;
10819 if (!args
) SWIG_fail
;
10820 swig_obj
[0] = args
;
10821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10822 if (!SWIG_IsOK(res1
)) {
10823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10825 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10828 result
= (arg1
)->GetBox();
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10832 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10839 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10840 PyObject
*resultobj
= 0;
10841 wxRegion
*arg1
= (wxRegion
*) 0 ;
10857 PyObject
* obj0
= 0 ;
10858 PyObject
* obj1
= 0 ;
10859 PyObject
* obj2
= 0 ;
10860 PyObject
* obj3
= 0 ;
10861 PyObject
* obj4
= 0 ;
10862 char * kwnames
[] = {
10863 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10868 if (!SWIG_IsOK(res1
)) {
10869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10871 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10873 if (!SWIG_IsOK(ecode2
)) {
10874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10876 arg2
= static_cast< int >(val2
);
10877 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10878 if (!SWIG_IsOK(ecode3
)) {
10879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10881 arg3
= static_cast< int >(val3
);
10882 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10883 if (!SWIG_IsOK(ecode4
)) {
10884 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10886 arg4
= static_cast< int >(val4
);
10887 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10888 if (!SWIG_IsOK(ecode5
)) {
10889 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10891 arg5
= static_cast< int >(val5
);
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10907 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
= 0;
10909 wxRegion
*arg1
= (wxRegion
*) 0 ;
10915 PyObject
* obj0
= 0 ;
10916 PyObject
* obj1
= 0 ;
10917 char * kwnames
[] = {
10918 (char *) "self",(char *) "rect", NULL
10921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10923 if (!SWIG_IsOK(res1
)) {
10924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10926 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10929 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10933 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10946 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
= 0;
10948 wxRegion
*arg1
= (wxRegion
*) 0 ;
10949 wxRegion
*arg2
= 0 ;
10955 PyObject
* obj0
= 0 ;
10956 PyObject
* obj1
= 0 ;
10957 char * kwnames
[] = {
10958 (char *) "self",(char *) "region", NULL
10961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10963 if (!SWIG_IsOK(res1
)) {
10964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10966 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10967 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10968 if (!SWIG_IsOK(res2
)) {
10969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10974 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10977 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10990 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10991 PyObject
*resultobj
= 0;
10992 wxRegion
*arg1
= (wxRegion
*) 0 ;
10996 PyObject
*swig_obj
[1] ;
10998 if (!args
) SWIG_fail
;
10999 swig_obj
[0] = args
;
11000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11001 if (!SWIG_IsOK(res1
)) {
11002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11004 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 result
= (bool)(arg1
)->IsEmpty();
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11020 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11021 PyObject
*resultobj
= 0;
11022 wxRegion
*arg1
= (wxRegion
*) 0 ;
11023 wxRegion
*arg2
= 0 ;
11029 PyObject
* obj0
= 0 ;
11030 PyObject
* obj1
= 0 ;
11031 char * kwnames
[] = {
11032 (char *) "self",(char *) "region", NULL
11035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11037 if (!SWIG_IsOK(res1
)) {
11038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
11040 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11042 if (!SWIG_IsOK(res2
)) {
11043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
11048 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11064 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
= 0;
11066 wxRegion
*arg1
= (wxRegion
*) 0 ;
11082 PyObject
* obj0
= 0 ;
11083 PyObject
* obj1
= 0 ;
11084 PyObject
* obj2
= 0 ;
11085 PyObject
* obj3
= 0 ;
11086 PyObject
* obj4
= 0 ;
11087 char * kwnames
[] = {
11088 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11093 if (!SWIG_IsOK(res1
)) {
11094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11096 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11098 if (!SWIG_IsOK(ecode2
)) {
11099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11101 arg2
= static_cast< int >(val2
);
11102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11103 if (!SWIG_IsOK(ecode3
)) {
11104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11106 arg3
= static_cast< int >(val3
);
11107 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11108 if (!SWIG_IsOK(ecode4
)) {
11109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11111 arg4
= static_cast< int >(val4
);
11112 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11113 if (!SWIG_IsOK(ecode5
)) {
11114 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11116 arg5
= static_cast< int >(val5
);
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11120 wxPyEndAllowThreads(__tstate
);
11121 if (PyErr_Occurred()) SWIG_fail
;
11124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11132 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11133 PyObject
*resultobj
= 0;
11134 wxRegion
*arg1
= (wxRegion
*) 0 ;
11140 PyObject
* obj0
= 0 ;
11141 PyObject
* obj1
= 0 ;
11142 char * kwnames
[] = {
11143 (char *) "self",(char *) "rect", NULL
11146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11148 if (!SWIG_IsOK(res1
)) {
11149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11151 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11154 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11159 wxPyEndAllowThreads(__tstate
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11171 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
*resultobj
= 0;
11173 wxRegion
*arg1
= (wxRegion
*) 0 ;
11174 wxRegion
*arg2
= 0 ;
11180 PyObject
* obj0
= 0 ;
11181 PyObject
* obj1
= 0 ;
11182 char * kwnames
[] = {
11183 (char *) "self",(char *) "region", NULL
11186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11188 if (!SWIG_IsOK(res1
)) {
11189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11191 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11192 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11193 if (!SWIG_IsOK(res2
)) {
11194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11199 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11215 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
= 0;
11217 wxRegion
*arg1
= (wxRegion
*) 0 ;
11233 PyObject
* obj0
= 0 ;
11234 PyObject
* obj1
= 0 ;
11235 PyObject
* obj2
= 0 ;
11236 PyObject
* obj3
= 0 ;
11237 PyObject
* obj4
= 0 ;
11238 char * kwnames
[] = {
11239 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11244 if (!SWIG_IsOK(res1
)) {
11245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11247 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11249 if (!SWIG_IsOK(ecode2
)) {
11250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11252 arg2
= static_cast< int >(val2
);
11253 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11254 if (!SWIG_IsOK(ecode3
)) {
11255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11257 arg3
= static_cast< int >(val3
);
11258 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11259 if (!SWIG_IsOK(ecode4
)) {
11260 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11262 arg4
= static_cast< int >(val4
);
11263 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11264 if (!SWIG_IsOK(ecode5
)) {
11265 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11267 arg5
= static_cast< int >(val5
);
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11283 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
= 0;
11285 wxRegion
*arg1
= (wxRegion
*) 0 ;
11291 PyObject
* obj0
= 0 ;
11292 PyObject
* obj1
= 0 ;
11293 char * kwnames
[] = {
11294 (char *) "self",(char *) "rect", NULL
11297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11299 if (!SWIG_IsOK(res1
)) {
11300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11302 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11305 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11322 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11323 PyObject
*resultobj
= 0;
11324 wxRegion
*arg1
= (wxRegion
*) 0 ;
11325 wxRegion
*arg2
= 0 ;
11331 PyObject
* obj0
= 0 ;
11332 PyObject
* obj1
= 0 ;
11333 char * kwnames
[] = {
11334 (char *) "self",(char *) "region", NULL
11337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11339 if (!SWIG_IsOK(res1
)) {
11340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11342 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11343 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11344 if (!SWIG_IsOK(res2
)) {
11345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11350 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11366 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
= 0;
11368 wxRegion
*arg1
= (wxRegion
*) 0 ;
11384 PyObject
* obj0
= 0 ;
11385 PyObject
* obj1
= 0 ;
11386 PyObject
* obj2
= 0 ;
11387 PyObject
* obj3
= 0 ;
11388 PyObject
* obj4
= 0 ;
11389 char * kwnames
[] = {
11390 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11395 if (!SWIG_IsOK(res1
)) {
11396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11398 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11400 if (!SWIG_IsOK(ecode2
)) {
11401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11403 arg2
= static_cast< int >(val2
);
11404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11405 if (!SWIG_IsOK(ecode3
)) {
11406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11408 arg3
= static_cast< int >(val3
);
11409 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11410 if (!SWIG_IsOK(ecode4
)) {
11411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11413 arg4
= static_cast< int >(val4
);
11414 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11415 if (!SWIG_IsOK(ecode5
)) {
11416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11418 arg5
= static_cast< int >(val5
);
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11434 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11435 PyObject
*resultobj
= 0;
11436 wxRegion
*arg1
= (wxRegion
*) 0 ;
11442 PyObject
* obj0
= 0 ;
11443 PyObject
* obj1
= 0 ;
11444 char * kwnames
[] = {
11445 (char *) "self",(char *) "rect", NULL
11448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11450 if (!SWIG_IsOK(res1
)) {
11451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11453 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11456 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11473 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
= 0;
11475 wxRegion
*arg1
= (wxRegion
*) 0 ;
11476 wxRegion
*arg2
= 0 ;
11482 PyObject
* obj0
= 0 ;
11483 PyObject
* obj1
= 0 ;
11484 char * kwnames
[] = {
11485 (char *) "self",(char *) "region", NULL
11488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11490 if (!SWIG_IsOK(res1
)) {
11491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11493 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11494 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11495 if (!SWIG_IsOK(res2
)) {
11496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11499 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11501 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11517 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11518 PyObject
*resultobj
= 0;
11519 wxRegion
*arg1
= (wxRegion
*) 0 ;
11520 SwigValueWrapper
<wxBitmap
> result
;
11523 PyObject
*swig_obj
[1] ;
11525 if (!args
) SWIG_fail
;
11526 swig_obj
[0] = args
;
11527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11528 if (!SWIG_IsOK(res1
)) {
11529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11531 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 result
= (arg1
)->ConvertToBitmap();
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11538 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11545 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
*resultobj
= 0;
11547 wxRegion
*arg1
= (wxRegion
*) 0 ;
11548 wxBitmap
*arg2
= 0 ;
11554 PyObject
* obj0
= 0 ;
11555 PyObject
* obj1
= 0 ;
11556 char * kwnames
[] = {
11557 (char *) "self",(char *) "bmp", NULL
11560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11562 if (!SWIG_IsOK(res1
)) {
11563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11565 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11566 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11567 if (!SWIG_IsOK(res2
)) {
11568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11573 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11589 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
= 0;
11591 wxRegion
*arg1
= (wxRegion
*) 0 ;
11592 wxBitmap
*arg2
= 0 ;
11593 wxColour
*arg3
= 0 ;
11594 int arg4
= (int) 0 ;
11603 PyObject
* obj0
= 0 ;
11604 PyObject
* obj1
= 0 ;
11605 PyObject
* obj2
= 0 ;
11606 PyObject
* obj3
= 0 ;
11607 char * kwnames
[] = {
11608 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11613 if (!SWIG_IsOK(res1
)) {
11614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11616 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11617 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11618 if (!SWIG_IsOK(res2
)) {
11619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11624 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11627 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11630 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11631 if (!SWIG_IsOK(ecode4
)) {
11632 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11634 arg4
= static_cast< int >(val4
);
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11651 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11653 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11654 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11655 return SWIG_Py_Void();
11658 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11659 return SWIG_Python_InitShadowInstance(args
);
11662 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
= 0;
11664 wxRegion
*arg1
= 0 ;
11665 wxRegionIterator
*result
= 0 ;
11668 PyObject
* obj0
= 0 ;
11669 char * kwnames
[] = {
11670 (char *) "region", NULL
11673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11674 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11675 if (!SWIG_IsOK(res1
)) {
11676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11681 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11683 if (!wxPyCheckForApp()) SWIG_fail
;
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11686 wxPyEndAllowThreads(__tstate
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11696 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11697 PyObject
*resultobj
= 0;
11698 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11701 PyObject
*swig_obj
[1] ;
11703 if (!args
) SWIG_fail
;
11704 swig_obj
[0] = args
;
11705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11706 if (!SWIG_IsOK(res1
)) {
11707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11709 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= SWIG_Py_Void();
11724 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11725 PyObject
*resultobj
= 0;
11726 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11730 PyObject
*swig_obj
[1] ;
11732 if (!args
) SWIG_fail
;
11733 swig_obj
[0] = args
;
11734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11735 if (!SWIG_IsOK(res1
)) {
11736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11738 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (int)(arg1
)->GetX();
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= SWIG_From_int(static_cast< int >(result
));
11752 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11753 PyObject
*resultobj
= 0;
11754 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11758 PyObject
*swig_obj
[1] ;
11760 if (!args
) SWIG_fail
;
11761 swig_obj
[0] = args
;
11762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11763 if (!SWIG_IsOK(res1
)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11766 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 result
= (int)(arg1
)->GetY();
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= SWIG_From_int(static_cast< int >(result
));
11780 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11781 PyObject
*resultobj
= 0;
11782 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11786 PyObject
*swig_obj
[1] ;
11788 if (!args
) SWIG_fail
;
11789 swig_obj
[0] = args
;
11790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11791 if (!SWIG_IsOK(res1
)) {
11792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11794 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11797 result
= (int)(arg1
)->GetW();
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11801 resultobj
= SWIG_From_int(static_cast< int >(result
));
11808 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11809 PyObject
*resultobj
= 0;
11810 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11814 PyObject
*swig_obj
[1] ;
11816 if (!args
) SWIG_fail
;
11817 swig_obj
[0] = args
;
11818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11819 if (!SWIG_IsOK(res1
)) {
11820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11822 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11825 result
= (int)(arg1
)->GetWidth();
11826 wxPyEndAllowThreads(__tstate
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11829 resultobj
= SWIG_From_int(static_cast< int >(result
));
11836 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11837 PyObject
*resultobj
= 0;
11838 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11842 PyObject
*swig_obj
[1] ;
11844 if (!args
) SWIG_fail
;
11845 swig_obj
[0] = args
;
11846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11847 if (!SWIG_IsOK(res1
)) {
11848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11850 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (int)(arg1
)->GetH();
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= SWIG_From_int(static_cast< int >(result
));
11864 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11865 PyObject
*resultobj
= 0;
11866 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11870 PyObject
*swig_obj
[1] ;
11872 if (!args
) SWIG_fail
;
11873 swig_obj
[0] = args
;
11874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11875 if (!SWIG_IsOK(res1
)) {
11876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11878 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 result
= (int)(arg1
)->GetHeight();
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11885 resultobj
= SWIG_From_int(static_cast< int >(result
));
11892 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11893 PyObject
*resultobj
= 0;
11894 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11898 PyObject
*swig_obj
[1] ;
11900 if (!args
) SWIG_fail
;
11901 swig_obj
[0] = args
;
11902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11903 if (!SWIG_IsOK(res1
)) {
11904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11906 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11909 result
= (arg1
)->GetRect();
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11920 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11921 PyObject
*resultobj
= 0;
11922 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11926 PyObject
*swig_obj
[1] ;
11928 if (!args
) SWIG_fail
;
11929 swig_obj
[0] = args
;
11930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11931 if (!SWIG_IsOK(res1
)) {
11932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11934 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 result
= (bool)(arg1
)->HaveRects();
11938 wxPyEndAllowThreads(__tstate
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11950 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11951 PyObject
*resultobj
= 0;
11952 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11955 PyObject
*swig_obj
[1] ;
11957 if (!args
) SWIG_fail
;
11958 swig_obj
[0] = args
;
11959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11960 if (!SWIG_IsOK(res1
)) {
11961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11963 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 resultobj
= SWIG_Py_Void();
11977 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11978 PyObject
*resultobj
= 0;
11979 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11982 PyObject
*swig_obj
[1] ;
11984 if (!args
) SWIG_fail
;
11985 swig_obj
[0] = args
;
11986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11987 if (!SWIG_IsOK(res1
)) {
11988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11990 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 wxRegionIterator_Next(arg1
);
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= SWIG_Py_Void();
12004 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12005 PyObject
*resultobj
= 0;
12006 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12010 PyObject
*swig_obj
[1] ;
12012 if (!args
) SWIG_fail
;
12013 swig_obj
[0] = args
;
12014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12015 if (!SWIG_IsOK(res1
)) {
12016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12018 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12034 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12036 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12037 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12038 return SWIG_Py_Void();
12041 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12042 return SWIG_Python_InitShadowInstance(args
);
12045 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12046 PyObject
*resultobj
= 0;
12047 wxNativeFontInfo
*result
= 0 ;
12049 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12063 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12064 PyObject
*resultobj
= 0;
12065 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12068 PyObject
*swig_obj
[1] ;
12070 if (!args
) SWIG_fail
;
12071 swig_obj
[0] = args
;
12072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12073 if (!SWIG_IsOK(res1
)) {
12074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12076 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= SWIG_Py_Void();
12091 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12092 PyObject
*resultobj
= 0;
12093 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12096 PyObject
*swig_obj
[1] ;
12098 if (!args
) SWIG_fail
;
12099 swig_obj
[0] = args
;
12100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12101 if (!SWIG_IsOK(res1
)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12104 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= SWIG_Py_Void();
12118 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
= 0;
12120 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12126 PyObject
* obj0
= 0 ;
12127 PyObject
* obj1
= 0 ;
12128 char * kwnames
[] = {
12129 (char *) "self",(char *) "font", NULL
12132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12134 if (!SWIG_IsOK(res1
)) {
12135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12137 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12138 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12139 if (!SWIG_IsOK(res2
)) {
12140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12145 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12149 wxPyEndAllowThreads(__tstate
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12152 resultobj
= SWIG_Py_Void();
12159 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12160 PyObject
*resultobj
= 0;
12161 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12165 PyObject
*swig_obj
[1] ;
12167 if (!args
) SWIG_fail
;
12168 swig_obj
[0] = args
;
12169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12170 if (!SWIG_IsOK(res1
)) {
12171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12173 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12176 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12177 wxPyEndAllowThreads(__tstate
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12180 resultobj
= SWIG_From_int(static_cast< int >(result
));
12187 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12188 PyObject
*resultobj
= 0;
12189 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12190 wxFontStyle result
;
12193 PyObject
*swig_obj
[1] ;
12195 if (!args
) SWIG_fail
;
12196 swig_obj
[0] = args
;
12197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12198 if (!SWIG_IsOK(res1
)) {
12199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12201 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12208 resultobj
= SWIG_From_int(static_cast< int >(result
));
12215 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12216 PyObject
*resultobj
= 0;
12217 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12218 wxFontWeight result
;
12221 PyObject
*swig_obj
[1] ;
12223 if (!args
) SWIG_fail
;
12224 swig_obj
[0] = args
;
12225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12226 if (!SWIG_IsOK(res1
)) {
12227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12229 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12236 resultobj
= SWIG_From_int(static_cast< int >(result
));
12243 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12244 PyObject
*resultobj
= 0;
12245 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12249 PyObject
*swig_obj
[1] ;
12251 if (!args
) SWIG_fail
;
12252 swig_obj
[0] = args
;
12253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12254 if (!SWIG_IsOK(res1
)) {
12255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12257 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12273 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12274 PyObject
*resultobj
= 0;
12275 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12279 PyObject
*swig_obj
[1] ;
12281 if (!args
) SWIG_fail
;
12282 swig_obj
[0] = args
;
12283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12284 if (!SWIG_IsOK(res1
)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12287 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12307 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12308 PyObject
*resultobj
= 0;
12309 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12310 wxFontFamily result
;
12313 PyObject
*swig_obj
[1] ;
12315 if (!args
) SWIG_fail
;
12316 swig_obj
[0] = args
;
12317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12318 if (!SWIG_IsOK(res1
)) {
12319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12321 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 resultobj
= SWIG_From_int(static_cast< int >(result
));
12335 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12336 PyObject
*resultobj
= 0;
12337 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12338 wxFontEncoding result
;
12341 PyObject
*swig_obj
[1] ;
12343 if (!args
) SWIG_fail
;
12344 swig_obj
[0] = args
;
12345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12346 if (!SWIG_IsOK(res1
)) {
12347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12349 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12352 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12353 wxPyEndAllowThreads(__tstate
);
12354 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= SWIG_From_int(static_cast< int >(result
));
12363 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12364 PyObject
*resultobj
= 0;
12365 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12371 PyObject
* obj0
= 0 ;
12372 PyObject
* obj1
= 0 ;
12373 char * kwnames
[] = {
12374 (char *) "self",(char *) "pointsize", NULL
12377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12379 if (!SWIG_IsOK(res1
)) {
12380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12382 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12384 if (!SWIG_IsOK(ecode2
)) {
12385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12387 arg2
= static_cast< int >(val2
);
12389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12390 (arg1
)->SetPointSize(arg2
);
12391 wxPyEndAllowThreads(__tstate
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12394 resultobj
= SWIG_Py_Void();
12401 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
= 0;
12403 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12409 PyObject
* obj0
= 0 ;
12410 PyObject
* obj1
= 0 ;
12411 char * kwnames
[] = {
12412 (char *) "self",(char *) "style", NULL
12415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12417 if (!SWIG_IsOK(res1
)) {
12418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12420 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12422 if (!SWIG_IsOK(ecode2
)) {
12423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12425 arg2
= static_cast< wxFontStyle
>(val2
);
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 (arg1
)->SetStyle(arg2
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 resultobj
= SWIG_Py_Void();
12439 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
= 0;
12441 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12442 wxFontWeight arg2
;
12447 PyObject
* obj0
= 0 ;
12448 PyObject
* obj1
= 0 ;
12449 char * kwnames
[] = {
12450 (char *) "self",(char *) "weight", NULL
12453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12455 if (!SWIG_IsOK(res1
)) {
12456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12458 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12460 if (!SWIG_IsOK(ecode2
)) {
12461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12463 arg2
= static_cast< wxFontWeight
>(val2
);
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 (arg1
)->SetWeight(arg2
);
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= SWIG_Py_Void();
12477 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
= 0;
12479 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12485 PyObject
* obj0
= 0 ;
12486 PyObject
* obj1
= 0 ;
12487 char * kwnames
[] = {
12488 (char *) "self",(char *) "underlined", NULL
12491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12493 if (!SWIG_IsOK(res1
)) {
12494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12496 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12497 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12498 if (!SWIG_IsOK(ecode2
)) {
12499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12501 arg2
= static_cast< bool >(val2
);
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 (arg1
)->SetUnderlined(arg2
);
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12508 resultobj
= SWIG_Py_Void();
12515 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
= 0;
12517 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12522 PyObject
* obj0
= 0 ;
12523 PyObject
* obj1
= 0 ;
12524 char * kwnames
[] = {
12525 (char *) "self",(char *) "facename", NULL
12528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12530 if (!SWIG_IsOK(res1
)) {
12531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12533 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12535 wxString
* sptr
= wxString_in_helper(obj1
);
12536 if (sptr
== NULL
) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 result
= (bool)(arg1
)->SetFaceName(arg2
);
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12555 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12556 PyObject
*resultobj
= 0;
12557 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12558 wxFontFamily arg2
;
12563 PyObject
* obj0
= 0 ;
12564 PyObject
* obj1
= 0 ;
12565 char * kwnames
[] = {
12566 (char *) "self",(char *) "family", NULL
12569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12571 if (!SWIG_IsOK(res1
)) {
12572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12574 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12576 if (!SWIG_IsOK(ecode2
)) {
12577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12579 arg2
= static_cast< wxFontFamily
>(val2
);
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 (arg1
)->SetFamily(arg2
);
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= SWIG_Py_Void();
12593 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
= 0;
12595 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12596 wxFontEncoding arg2
;
12601 PyObject
* obj0
= 0 ;
12602 PyObject
* obj1
= 0 ;
12603 char * kwnames
[] = {
12604 (char *) "self",(char *) "encoding", NULL
12607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12609 if (!SWIG_IsOK(res1
)) {
12610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12612 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12614 if (!SWIG_IsOK(ecode2
)) {
12615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12617 arg2
= static_cast< wxFontEncoding
>(val2
);
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 (arg1
)->SetEncoding(arg2
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= SWIG_Py_Void();
12631 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12632 PyObject
*resultobj
= 0;
12633 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12634 wxString
*arg2
= 0 ;
12638 bool temp2
= false ;
12639 PyObject
* obj0
= 0 ;
12640 PyObject
* obj1
= 0 ;
12641 char * kwnames
[] = {
12642 (char *) "self",(char *) "s", NULL
12645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12647 if (!SWIG_IsOK(res1
)) {
12648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12650 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12652 arg2
= wxString_in_helper(obj1
);
12653 if (arg2
== NULL
) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12679 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12680 PyObject
*resultobj
= 0;
12681 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12685 PyObject
*swig_obj
[1] ;
12687 if (!args
) SWIG_fail
;
12688 swig_obj
[0] = args
;
12689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12690 if (!SWIG_IsOK(res1
)) {
12691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12693 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12713 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12714 PyObject
*resultobj
= 0;
12715 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12719 PyObject
*swig_obj
[1] ;
12721 if (!args
) SWIG_fail
;
12722 swig_obj
[0] = args
;
12723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12724 if (!SWIG_IsOK(res1
)) {
12725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12727 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12730 result
= wxNativeFontInfo___str__(arg1
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12747 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
= 0;
12749 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12750 wxString
*arg2
= 0 ;
12754 bool temp2
= false ;
12755 PyObject
* obj0
= 0 ;
12756 PyObject
* obj1
= 0 ;
12757 char * kwnames
[] = {
12758 (char *) "self",(char *) "s", NULL
12761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12763 if (!SWIG_IsOK(res1
)) {
12764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12766 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12768 arg2
= wxString_in_helper(obj1
);
12769 if (arg2
== NULL
) SWIG_fail
;
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12795 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12796 PyObject
*resultobj
= 0;
12797 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12801 PyObject
*swig_obj
[1] ;
12803 if (!args
) SWIG_fail
;
12804 swig_obj
[0] = args
;
12805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12806 if (!SWIG_IsOK(res1
)) {
12807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12809 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12813 wxPyEndAllowThreads(__tstate
);
12814 if (PyErr_Occurred()) SWIG_fail
;
12818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12829 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12831 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12832 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12833 return SWIG_Py_Void();
12836 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12837 return SWIG_Python_InitShadowInstance(args
);
12840 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12841 PyObject
*resultobj
= 0;
12842 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12843 wxString
*arg2
= (wxString
*) 0 ;
12846 bool temp2
= false ;
12847 PyObject
*swig_obj
[2] ;
12849 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12851 if (!SWIG_IsOK(res1
)) {
12852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12854 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12856 arg2
= wxString_in_helper(swig_obj
[1]);
12857 if (arg2
== NULL
) SWIG_fail
;
12860 if (arg1
) (arg1
)->facename
= *arg2
;
12862 resultobj
= SWIG_Py_Void();
12877 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12878 PyObject
*resultobj
= 0;
12879 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12880 wxString
*result
= 0 ;
12883 PyObject
*swig_obj
[1] ;
12885 if (!args
) SWIG_fail
;
12886 swig_obj
[0] = args
;
12887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12888 if (!SWIG_IsOK(res1
)) {
12889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12891 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12892 result
= (wxString
*)& ((arg1
)->facename
);
12895 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12897 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12906 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12907 PyObject
*resultobj
= 0;
12908 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12909 wxFontEncoding arg2
;
12914 PyObject
*swig_obj
[2] ;
12916 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12918 if (!SWIG_IsOK(res1
)) {
12919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12921 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12922 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12923 if (!SWIG_IsOK(ecode2
)) {
12924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12926 arg2
= static_cast< wxFontEncoding
>(val2
);
12927 if (arg1
) (arg1
)->encoding
= arg2
;
12929 resultobj
= SWIG_Py_Void();
12936 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12937 PyObject
*resultobj
= 0;
12938 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12939 wxFontEncoding result
;
12942 PyObject
*swig_obj
[1] ;
12944 if (!args
) SWIG_fail
;
12945 swig_obj
[0] = args
;
12946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12947 if (!SWIG_IsOK(res1
)) {
12948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12950 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12951 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12952 resultobj
= SWIG_From_int(static_cast< int >(result
));
12959 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12960 PyObject
*resultobj
= 0;
12961 wxNativeEncodingInfo
*result
= 0 ;
12963 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12966 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12977 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12978 PyObject
*resultobj
= 0;
12979 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12982 PyObject
*swig_obj
[1] ;
12984 if (!args
) SWIG_fail
;
12985 swig_obj
[0] = args
;
12986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12987 if (!SWIG_IsOK(res1
)) {
12988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12990 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12995 wxPyEndAllowThreads(__tstate
);
12996 if (PyErr_Occurred()) SWIG_fail
;
12998 resultobj
= SWIG_Py_Void();
13005 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13006 PyObject
*resultobj
= 0;
13007 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13008 wxString
*arg2
= 0 ;
13012 bool temp2
= false ;
13013 PyObject
* obj0
= 0 ;
13014 PyObject
* obj1
= 0 ;
13015 char * kwnames
[] = {
13016 (char *) "self",(char *) "s", NULL
13019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13021 if (!SWIG_IsOK(res1
)) {
13022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13024 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13026 arg2
= wxString_in_helper(obj1
);
13027 if (arg2
== NULL
) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13033 wxPyEndAllowThreads(__tstate
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13053 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13054 PyObject
*resultobj
= 0;
13055 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13059 PyObject
*swig_obj
[1] ;
13061 if (!args
) SWIG_fail
;
13062 swig_obj
[0] = args
;
13063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13064 if (!SWIG_IsOK(res1
)) {
13065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13067 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13071 wxPyEndAllowThreads(__tstate
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13076 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13078 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13087 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13090 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13091 return SWIG_Py_Void();
13094 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13095 return SWIG_Python_InitShadowInstance(args
);
13098 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13099 PyObject
*resultobj
= 0;
13100 wxFontEncoding arg1
;
13101 wxNativeEncodingInfo
*result
= 0 ;
13104 PyObject
* obj0
= 0 ;
13105 char * kwnames
[] = {
13106 (char *) "encoding", NULL
13109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13110 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13111 if (!SWIG_IsOK(ecode1
)) {
13112 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13114 arg1
= static_cast< wxFontEncoding
>(val1
);
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13128 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13129 PyObject
*resultobj
= 0;
13130 wxNativeEncodingInfo
*arg1
= 0 ;
13134 PyObject
* obj0
= 0 ;
13135 char * kwnames
[] = {
13136 (char *) "info", NULL
13139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13140 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13141 if (!SWIG_IsOK(res1
)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13147 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13163 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13164 PyObject
*resultobj
= 0;
13165 wxFontMapper
*result
= 0 ;
13167 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= (wxFontMapper
*)new wxFontMapper();
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13181 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13182 PyObject
*resultobj
= 0;
13183 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13186 PyObject
*swig_obj
[1] ;
13188 if (!args
) SWIG_fail
;
13189 swig_obj
[0] = args
;
13190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13191 if (!SWIG_IsOK(res1
)) {
13192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13194 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 wxPyEndAllowThreads(__tstate
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13202 resultobj
= SWIG_Py_Void();
13209 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13210 PyObject
*resultobj
= 0;
13211 wxFontMapper
*result
= 0 ;
13213 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 result
= (wxFontMapper
*)wxFontMapper::Get();
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13227 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
= 0;
13229 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13230 wxFontMapper
*result
= 0 ;
13233 PyObject
* obj0
= 0 ;
13234 char * kwnames
[] = {
13235 (char *) "mapper", NULL
13238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13240 if (!SWIG_IsOK(res1
)) {
13241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13243 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13246 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13257 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
= 0;
13259 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13260 wxString
*arg2
= 0 ;
13261 bool arg3
= (bool) true ;
13262 wxFontEncoding result
;
13265 bool temp2
= false ;
13268 PyObject
* obj0
= 0 ;
13269 PyObject
* obj1
= 0 ;
13270 PyObject
* obj2
= 0 ;
13271 char * kwnames
[] = {
13272 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13277 if (!SWIG_IsOK(res1
)) {
13278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13280 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13282 arg2
= wxString_in_helper(obj1
);
13283 if (arg2
== NULL
) SWIG_fail
;
13287 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13288 if (!SWIG_IsOK(ecode3
)) {
13289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13291 arg3
= static_cast< bool >(val3
);
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_From_int(static_cast< int >(result
));
13314 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13315 PyObject
*resultobj
= 0;
13318 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13322 wxPyEndAllowThreads(__tstate
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13325 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13332 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13333 PyObject
*resultobj
= 0;
13335 wxFontEncoding result
;
13338 PyObject
* obj0
= 0 ;
13339 char * kwnames
[] = {
13343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13344 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13345 if (!SWIG_IsOK(ecode1
)) {
13346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13348 arg1
= static_cast< size_t >(val1
);
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13355 resultobj
= SWIG_From_int(static_cast< int >(result
));
13362 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13363 PyObject
*resultobj
= 0;
13364 wxFontEncoding arg1
;
13368 PyObject
* obj0
= 0 ;
13369 char * kwnames
[] = {
13370 (char *) "encoding", NULL
13373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13374 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13375 if (!SWIG_IsOK(ecode1
)) {
13376 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13378 arg1
= static_cast< wxFontEncoding
>(val1
);
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 result
= wxFontMapper::GetEncodingName(arg1
);
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13398 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13399 PyObject
*resultobj
= 0;
13400 wxFontEncoding arg1
;
13404 PyObject
* obj0
= 0 ;
13405 char * kwnames
[] = {
13406 (char *) "encoding", NULL
13409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13410 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13411 if (!SWIG_IsOK(ecode1
)) {
13412 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13414 arg1
= static_cast< wxFontEncoding
>(val1
);
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 result
= wxFontMapper::GetEncodingDescription(arg1
);
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13434 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13435 PyObject
*resultobj
= 0;
13436 wxString
*arg1
= 0 ;
13437 wxFontEncoding result
;
13438 bool temp1
= false ;
13439 PyObject
* obj0
= 0 ;
13440 char * kwnames
[] = {
13441 (char *) "name", NULL
13444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13446 arg1
= wxString_in_helper(obj0
);
13447 if (arg1
== NULL
) SWIG_fail
;
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13453 wxPyEndAllowThreads(__tstate
);
13454 if (PyErr_Occurred()) SWIG_fail
;
13456 resultobj
= SWIG_From_int(static_cast< int >(result
));
13471 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
*resultobj
= 0;
13473 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13474 wxString
*arg2
= 0 ;
13477 bool temp2
= false ;
13478 PyObject
* obj0
= 0 ;
13479 PyObject
* obj1
= 0 ;
13480 char * kwnames
[] = {
13481 (char *) "self",(char *) "prefix", NULL
13484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13486 if (!SWIG_IsOK(res1
)) {
13487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13489 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13491 arg2
= wxString_in_helper(obj1
);
13492 if (arg2
== NULL
) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13501 resultobj
= SWIG_Py_Void();
13516 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13517 PyObject
*resultobj
= 0;
13520 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 result
= wxFontMapper::GetDefaultConfigPath();
13524 wxPyEndAllowThreads(__tstate
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13540 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13541 PyObject
*resultobj
= 0;
13542 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13543 wxFontEncoding arg2
;
13544 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13545 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13546 bool arg4
= (bool) true ;
13547 PyObject
*result
= 0 ;
13552 bool temp3
= false ;
13555 PyObject
* obj0
= 0 ;
13556 PyObject
* obj1
= 0 ;
13557 PyObject
* obj2
= 0 ;
13558 PyObject
* obj3
= 0 ;
13559 char * kwnames
[] = {
13560 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13565 if (!SWIG_IsOK(res1
)) {
13566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13568 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13570 if (!SWIG_IsOK(ecode2
)) {
13571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13573 arg2
= static_cast< wxFontEncoding
>(val2
);
13576 arg3
= wxString_in_helper(obj2
);
13577 if (arg3
== NULL
) SWIG_fail
;
13582 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13583 if (!SWIG_IsOK(ecode4
)) {
13584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13586 arg4
= static_cast< bool >(val4
);
13589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13590 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13594 resultobj
= result
;
13609 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
= 0;
13611 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13612 wxFontEncoding arg2
;
13613 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13614 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13620 bool temp3
= false ;
13621 PyObject
* obj0
= 0 ;
13622 PyObject
* obj1
= 0 ;
13623 PyObject
* obj2
= 0 ;
13624 char * kwnames
[] = {
13625 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13630 if (!SWIG_IsOK(res1
)) {
13631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13633 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13635 if (!SWIG_IsOK(ecode2
)) {
13636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13638 arg2
= static_cast< wxFontEncoding
>(val2
);
13641 arg3
= wxString_in_helper(obj2
);
13642 if (arg3
== NULL
) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13649 wxPyEndAllowThreads(__tstate
);
13650 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13669 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13670 PyObject
*resultobj
= 0;
13671 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13672 wxWindow
*arg2
= (wxWindow
*) 0 ;
13677 PyObject
* obj0
= 0 ;
13678 PyObject
* obj1
= 0 ;
13679 char * kwnames
[] = {
13680 (char *) "self",(char *) "parent", NULL
13683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13685 if (!SWIG_IsOK(res1
)) {
13686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13688 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13689 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13690 if (!SWIG_IsOK(res2
)) {
13691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13693 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13696 (arg1
)->SetDialogParent(arg2
);
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13700 resultobj
= SWIG_Py_Void();
13707 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
= 0;
13709 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13710 wxString
*arg2
= 0 ;
13713 bool temp2
= false ;
13714 PyObject
* obj0
= 0 ;
13715 PyObject
* obj1
= 0 ;
13716 char * kwnames
[] = {
13717 (char *) "self",(char *) "title", NULL
13720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13722 if (!SWIG_IsOK(res1
)) {
13723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13725 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13727 arg2
= wxString_in_helper(obj1
);
13728 if (arg2
== NULL
) SWIG_fail
;
13732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13733 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13734 wxPyEndAllowThreads(__tstate
);
13735 if (PyErr_Occurred()) SWIG_fail
;
13737 resultobj
= SWIG_Py_Void();
13752 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13754 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13755 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13756 return SWIG_Py_Void();
13759 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13760 return SWIG_Python_InitShadowInstance(args
);
13763 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
= 0;
13769 bool arg5
= (bool) false ;
13770 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13771 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13772 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13773 wxFont
*result
= 0 ;
13784 bool temp6
= false ;
13787 PyObject
* obj0
= 0 ;
13788 PyObject
* obj1
= 0 ;
13789 PyObject
* obj2
= 0 ;
13790 PyObject
* obj3
= 0 ;
13791 PyObject
* obj4
= 0 ;
13792 PyObject
* obj5
= 0 ;
13793 PyObject
* obj6
= 0 ;
13794 char * kwnames
[] = {
13795 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13799 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13800 if (!SWIG_IsOK(ecode1
)) {
13801 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13803 arg1
= static_cast< int >(val1
);
13804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13805 if (!SWIG_IsOK(ecode2
)) {
13806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13808 arg2
= static_cast< int >(val2
);
13809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13810 if (!SWIG_IsOK(ecode3
)) {
13811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13813 arg3
= static_cast< int >(val3
);
13814 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13815 if (!SWIG_IsOK(ecode4
)) {
13816 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13818 arg4
= static_cast< int >(val4
);
13820 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13821 if (!SWIG_IsOK(ecode5
)) {
13822 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13824 arg5
= static_cast< bool >(val5
);
13828 arg6
= wxString_in_helper(obj5
);
13829 if (arg6
== NULL
) SWIG_fail
;
13834 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13835 if (!SWIG_IsOK(ecode7
)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13838 arg7
= static_cast< wxFontEncoding
>(val7
);
13841 if (!wxPyCheckForApp()) SWIG_fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13844 wxPyEndAllowThreads(__tstate
);
13845 if (PyErr_Occurred()) SWIG_fail
;
13847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13862 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13863 PyObject
*resultobj
= 0;
13864 wxFont
*arg1
= (wxFont
*) 0 ;
13867 PyObject
*swig_obj
[1] ;
13869 if (!args
) SWIG_fail
;
13870 swig_obj
[0] = args
;
13871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13872 if (!SWIG_IsOK(res1
)) {
13873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13875 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13883 resultobj
= SWIG_Py_Void();
13890 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13891 PyObject
*resultobj
= 0;
13892 wxNativeFontInfo
*arg1
= 0 ;
13893 wxFont
*result
= 0 ;
13896 PyObject
* obj0
= 0 ;
13897 char * kwnames
[] = {
13898 (char *) "info", NULL
13901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13902 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13903 if (!SWIG_IsOK(res1
)) {
13904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13909 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13911 if (!wxPyCheckForApp()) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13924 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13925 PyObject
*resultobj
= 0;
13926 wxString
*arg1
= 0 ;
13927 wxFont
*result
= 0 ;
13928 bool temp1
= false ;
13929 PyObject
* obj0
= 0 ;
13930 char * kwnames
[] = {
13931 (char *) "info", NULL
13934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13936 arg1
= wxString_in_helper(obj0
);
13937 if (arg1
== NULL
) SWIG_fail
;
13941 if (!wxPyCheckForApp()) SWIG_fail
;
13942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13943 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13944 wxPyEndAllowThreads(__tstate
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13962 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13963 PyObject
*resultobj
= 0;
13965 wxFontFamily arg2
;
13966 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13967 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13968 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13969 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13970 wxFont
*result
= 0 ;
13977 bool temp4
= false ;
13980 PyObject
* obj0
= 0 ;
13981 PyObject
* obj1
= 0 ;
13982 PyObject
* obj2
= 0 ;
13983 PyObject
* obj3
= 0 ;
13984 PyObject
* obj4
= 0 ;
13985 char * kwnames
[] = {
13986 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13990 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13991 if (!SWIG_IsOK(ecode1
)) {
13992 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13994 arg1
= static_cast< int >(val1
);
13995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13996 if (!SWIG_IsOK(ecode2
)) {
13997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13999 arg2
= static_cast< wxFontFamily
>(val2
);
14001 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14002 if (!SWIG_IsOK(ecode3
)) {
14003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14005 arg3
= static_cast< int >(val3
);
14009 arg4
= wxString_in_helper(obj3
);
14010 if (arg4
== NULL
) SWIG_fail
;
14015 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14016 if (!SWIG_IsOK(ecode5
)) {
14017 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14019 arg5
= static_cast< wxFontEncoding
>(val5
);
14022 if (!wxPyCheckForApp()) SWIG_fail
;
14023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14024 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14043 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14044 PyObject
*resultobj
= 0;
14049 bool arg5
= (bool) false ;
14050 wxString
const &arg6_defvalue
= wxEmptyString
;
14051 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14052 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14053 wxFont
*result
= 0 ;
14063 bool temp6
= false ;
14066 PyObject
* obj0
= 0 ;
14067 PyObject
* obj1
= 0 ;
14068 PyObject
* obj2
= 0 ;
14069 PyObject
* obj3
= 0 ;
14070 PyObject
* obj4
= 0 ;
14071 PyObject
* obj5
= 0 ;
14072 PyObject
* obj6
= 0 ;
14073 char * kwnames
[] = {
14074 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14080 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14083 if (!SWIG_IsOK(ecode2
)) {
14084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14086 arg2
= static_cast< int >(val2
);
14087 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14088 if (!SWIG_IsOK(ecode3
)) {
14089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14091 arg3
= static_cast< int >(val3
);
14092 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14093 if (!SWIG_IsOK(ecode4
)) {
14094 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14096 arg4
= static_cast< int >(val4
);
14098 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14099 if (!SWIG_IsOK(ecode5
)) {
14100 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14102 arg5
= static_cast< bool >(val5
);
14106 arg6
= wxString_in_helper(obj5
);
14107 if (arg6
== NULL
) SWIG_fail
;
14112 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14113 if (!SWIG_IsOK(ecode7
)) {
14114 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14116 arg7
= static_cast< wxFontEncoding
>(val7
);
14119 if (!wxPyCheckForApp()) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14122 wxPyEndAllowThreads(__tstate
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14140 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
= 0;
14143 wxFontFamily arg2
;
14144 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14145 wxString
const &arg4_defvalue
= wxEmptyString
;
14146 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14147 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14148 wxFont
*result
= 0 ;
14154 bool temp4
= false ;
14157 PyObject
* obj0
= 0 ;
14158 PyObject
* obj1
= 0 ;
14159 PyObject
* obj2
= 0 ;
14160 PyObject
* obj3
= 0 ;
14161 PyObject
* obj4
= 0 ;
14162 char * kwnames
[] = {
14163 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14169 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14172 if (!SWIG_IsOK(ecode2
)) {
14173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14175 arg2
= static_cast< wxFontFamily
>(val2
);
14177 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14178 if (!SWIG_IsOK(ecode3
)) {
14179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14181 arg3
= static_cast< int >(val3
);
14185 arg4
= wxString_in_helper(obj3
);
14186 if (arg4
== NULL
) SWIG_fail
;
14191 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14192 if (!SWIG_IsOK(ecode5
)) {
14193 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14195 arg5
= static_cast< wxFontEncoding
>(val5
);
14198 if (!wxPyCheckForApp()) SWIG_fail
;
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14219 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14220 PyObject
*resultobj
= 0;
14221 wxFont
*arg1
= (wxFont
*) 0 ;
14225 PyObject
*swig_obj
[1] ;
14227 if (!args
) SWIG_fail
;
14228 swig_obj
[0] = args
;
14229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14230 if (!SWIG_IsOK(res1
)) {
14231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
14233 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 result
= (bool)((wxFont
const *)arg1
)->IsOk();
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14249 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
= 0;
14251 wxFont
*arg1
= (wxFont
*) 0 ;
14252 wxFont
*arg2
= (wxFont
*) 0 ;
14258 PyObject
* obj0
= 0 ;
14259 PyObject
* obj1
= 0 ;
14260 char * kwnames
[] = {
14261 (char *) "self",(char *) "other", NULL
14264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14266 if (!SWIG_IsOK(res1
)) {
14267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14269 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14270 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14271 if (!SWIG_IsOK(res2
)) {
14272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14274 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14290 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
= 0;
14292 wxFont
*arg1
= (wxFont
*) 0 ;
14293 wxFont
*arg2
= (wxFont
*) 0 ;
14299 PyObject
* obj0
= 0 ;
14300 PyObject
* obj1
= 0 ;
14301 char * kwnames
[] = {
14302 (char *) "self",(char *) "other", NULL
14305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14307 if (!SWIG_IsOK(res1
)) {
14308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14310 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14311 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14312 if (!SWIG_IsOK(res2
)) {
14313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14315 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14331 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14332 PyObject
*resultobj
= 0;
14333 wxFont
*arg1
= (wxFont
*) 0 ;
14337 PyObject
*swig_obj
[1] ;
14339 if (!args
) SWIG_fail
;
14340 swig_obj
[0] = args
;
14341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14342 if (!SWIG_IsOK(res1
)) {
14343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14345 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14349 wxPyEndAllowThreads(__tstate
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14352 resultobj
= SWIG_From_int(static_cast< int >(result
));
14359 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14360 PyObject
*resultobj
= 0;
14361 wxFont
*arg1
= (wxFont
*) 0 ;
14365 PyObject
*swig_obj
[1] ;
14367 if (!args
) SWIG_fail
;
14368 swig_obj
[0] = args
;
14369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14370 if (!SWIG_IsOK(res1
)) {
14371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14373 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14376 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14387 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14388 PyObject
*resultobj
= 0;
14389 wxFont
*arg1
= (wxFont
*) 0 ;
14393 PyObject
*swig_obj
[1] ;
14395 if (!args
) SWIG_fail
;
14396 swig_obj
[0] = args
;
14397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14398 if (!SWIG_IsOK(res1
)) {
14399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14401 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14417 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14418 PyObject
*resultobj
= 0;
14419 wxFont
*arg1
= (wxFont
*) 0 ;
14423 PyObject
*swig_obj
[1] ;
14425 if (!args
) SWIG_fail
;
14426 swig_obj
[0] = args
;
14427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14428 if (!SWIG_IsOK(res1
)) {
14429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14431 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 resultobj
= SWIG_From_int(static_cast< int >(result
));
14445 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14446 PyObject
*resultobj
= 0;
14447 wxFont
*arg1
= (wxFont
*) 0 ;
14451 PyObject
*swig_obj
[1] ;
14453 if (!args
) SWIG_fail
;
14454 swig_obj
[0] = args
;
14455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14456 if (!SWIG_IsOK(res1
)) {
14457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14459 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 resultobj
= SWIG_From_int(static_cast< int >(result
));
14473 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14474 PyObject
*resultobj
= 0;
14475 wxFont
*arg1
= (wxFont
*) 0 ;
14479 PyObject
*swig_obj
[1] ;
14481 if (!args
) SWIG_fail
;
14482 swig_obj
[0] = args
;
14483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14484 if (!SWIG_IsOK(res1
)) {
14485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14487 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14494 resultobj
= SWIG_From_int(static_cast< int >(result
));
14501 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14502 PyObject
*resultobj
= 0;
14503 wxFont
*arg1
= (wxFont
*) 0 ;
14507 PyObject
*swig_obj
[1] ;
14509 if (!args
) SWIG_fail
;
14510 swig_obj
[0] = args
;
14511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14512 if (!SWIG_IsOK(res1
)) {
14513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14515 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14531 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14532 PyObject
*resultobj
= 0;
14533 wxFont
*arg1
= (wxFont
*) 0 ;
14537 PyObject
*swig_obj
[1] ;
14539 if (!args
) SWIG_fail
;
14540 swig_obj
[0] = args
;
14541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14542 if (!SWIG_IsOK(res1
)) {
14543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14545 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14548 result
= ((wxFont
const *)arg1
)->GetFaceName();
14549 wxPyEndAllowThreads(__tstate
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14565 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14566 PyObject
*resultobj
= 0;
14567 wxFont
*arg1
= (wxFont
*) 0 ;
14568 wxFontEncoding result
;
14571 PyObject
*swig_obj
[1] ;
14573 if (!args
) SWIG_fail
;
14574 swig_obj
[0] = args
;
14575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14576 if (!SWIG_IsOK(res1
)) {
14577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14579 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14586 resultobj
= SWIG_From_int(static_cast< int >(result
));
14593 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14594 PyObject
*resultobj
= 0;
14595 wxFont
*arg1
= (wxFont
*) 0 ;
14596 wxNativeFontInfo
*result
= 0 ;
14599 PyObject
*swig_obj
[1] ;
14601 if (!args
) SWIG_fail
;
14602 swig_obj
[0] = args
;
14603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14604 if (!SWIG_IsOK(res1
)) {
14605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14607 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14610 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14621 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14622 PyObject
*resultobj
= 0;
14623 wxFont
*arg1
= (wxFont
*) 0 ;
14627 PyObject
*swig_obj
[1] ;
14629 if (!args
) SWIG_fail
;
14630 swig_obj
[0] = args
;
14631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14632 if (!SWIG_IsOK(res1
)) {
14633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14635 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14638 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14651 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14652 PyObject
*resultobj
= 0;
14653 wxFont
*arg1
= (wxFont
*) 0 ;
14657 PyObject
*swig_obj
[1] ;
14659 if (!args
) SWIG_fail
;
14660 swig_obj
[0] = args
;
14661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14662 if (!SWIG_IsOK(res1
)) {
14663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14665 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14685 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14686 PyObject
*resultobj
= 0;
14687 wxFont
*arg1
= (wxFont
*) 0 ;
14691 PyObject
*swig_obj
[1] ;
14693 if (!args
) SWIG_fail
;
14694 swig_obj
[0] = args
;
14695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14696 if (!SWIG_IsOK(res1
)) {
14697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14699 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14702 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14719 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14720 PyObject
*resultobj
= 0;
14721 wxFont
*arg1
= (wxFont
*) 0 ;
14727 PyObject
* obj0
= 0 ;
14728 PyObject
* obj1
= 0 ;
14729 char * kwnames
[] = {
14730 (char *) "self",(char *) "pointSize", NULL
14733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14735 if (!SWIG_IsOK(res1
)) {
14736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14738 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14740 if (!SWIG_IsOK(ecode2
)) {
14741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14743 arg2
= static_cast< int >(val2
);
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 (arg1
)->SetPointSize(arg2
);
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14750 resultobj
= SWIG_Py_Void();
14757 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14758 PyObject
*resultobj
= 0;
14759 wxFont
*arg1
= (wxFont
*) 0 ;
14764 PyObject
* obj0
= 0 ;
14765 PyObject
* obj1
= 0 ;
14766 char * kwnames
[] = {
14767 (char *) "self",(char *) "pixelSize", NULL
14770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14772 if (!SWIG_IsOK(res1
)) {
14773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14775 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14778 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14786 resultobj
= SWIG_Py_Void();
14793 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
= 0;
14795 wxFont
*arg1
= (wxFont
*) 0 ;
14801 PyObject
* obj0
= 0 ;
14802 PyObject
* obj1
= 0 ;
14803 char * kwnames
[] = {
14804 (char *) "self",(char *) "family", NULL
14807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14809 if (!SWIG_IsOK(res1
)) {
14810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14812 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14814 if (!SWIG_IsOK(ecode2
)) {
14815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14817 arg2
= static_cast< int >(val2
);
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 (arg1
)->SetFamily(arg2
);
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14824 resultobj
= SWIG_Py_Void();
14831 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14832 PyObject
*resultobj
= 0;
14833 wxFont
*arg1
= (wxFont
*) 0 ;
14839 PyObject
* obj0
= 0 ;
14840 PyObject
* obj1
= 0 ;
14841 char * kwnames
[] = {
14842 (char *) "self",(char *) "style", NULL
14845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14847 if (!SWIG_IsOK(res1
)) {
14848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14850 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14852 if (!SWIG_IsOK(ecode2
)) {
14853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14855 arg2
= static_cast< int >(val2
);
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 (arg1
)->SetStyle(arg2
);
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= SWIG_Py_Void();
14869 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
= 0;
14871 wxFont
*arg1
= (wxFont
*) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 PyObject
* obj1
= 0 ;
14879 char * kwnames
[] = {
14880 (char *) "self",(char *) "weight", NULL
14883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14885 if (!SWIG_IsOK(res1
)) {
14886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14888 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14890 if (!SWIG_IsOK(ecode2
)) {
14891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14893 arg2
= static_cast< int >(val2
);
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 (arg1
)->SetWeight(arg2
);
14897 wxPyEndAllowThreads(__tstate
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14900 resultobj
= SWIG_Py_Void();
14907 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
= 0;
14909 wxFont
*arg1
= (wxFont
*) 0 ;
14910 wxString
*arg2
= 0 ;
14914 bool temp2
= false ;
14915 PyObject
* obj0
= 0 ;
14916 PyObject
* obj1
= 0 ;
14917 char * kwnames
[] = {
14918 (char *) "self",(char *) "faceName", NULL
14921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14923 if (!SWIG_IsOK(res1
)) {
14924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14926 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14928 arg2
= wxString_in_helper(obj1
);
14929 if (arg2
== NULL
) SWIG_fail
;
14933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14934 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14955 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
= 0;
14957 wxFont
*arg1
= (wxFont
*) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 PyObject
* obj1
= 0 ;
14965 char * kwnames
[] = {
14966 (char *) "self",(char *) "underlined", NULL
14969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14971 if (!SWIG_IsOK(res1
)) {
14972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14974 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14975 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14976 if (!SWIG_IsOK(ecode2
)) {
14977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14979 arg2
= static_cast< bool >(val2
);
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14982 (arg1
)->SetUnderlined(arg2
);
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= SWIG_Py_Void();
14993 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14994 PyObject
*resultobj
= 0;
14995 wxFont
*arg1
= (wxFont
*) 0 ;
14996 wxFontEncoding arg2
;
15001 PyObject
* obj0
= 0 ;
15002 PyObject
* obj1
= 0 ;
15003 char * kwnames
[] = {
15004 (char *) "self",(char *) "encoding", NULL
15007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15009 if (!SWIG_IsOK(res1
)) {
15010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15012 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15014 if (!SWIG_IsOK(ecode2
)) {
15015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15017 arg2
= static_cast< wxFontEncoding
>(val2
);
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 (arg1
)->SetEncoding(arg2
);
15021 wxPyEndAllowThreads(__tstate
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15024 resultobj
= SWIG_Py_Void();
15031 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
= 0;
15033 wxFont
*arg1
= (wxFont
*) 0 ;
15034 wxNativeFontInfo
*arg2
= 0 ;
15039 PyObject
* obj0
= 0 ;
15040 PyObject
* obj1
= 0 ;
15041 char * kwnames
[] = {
15042 (char *) "self",(char *) "info", NULL
15045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15047 if (!SWIG_IsOK(res1
)) {
15048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15050 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15051 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15052 if (!SWIG_IsOK(res2
)) {
15053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15058 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= SWIG_Py_Void();
15072 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
= 0;
15074 wxFont
*arg1
= (wxFont
*) 0 ;
15075 wxString
*arg2
= 0 ;
15079 bool temp2
= false ;
15080 PyObject
* obj0
= 0 ;
15081 PyObject
* obj1
= 0 ;
15082 char * kwnames
[] = {
15083 (char *) "self",(char *) "info", NULL
15086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15088 if (!SWIG_IsOK(res1
)) {
15089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15091 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15093 arg2
= wxString_in_helper(obj1
);
15094 if (arg2
== NULL
) SWIG_fail
;
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15120 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15121 PyObject
*resultobj
= 0;
15122 wxFont
*arg1
= (wxFont
*) 0 ;
15123 wxString
*arg2
= 0 ;
15127 bool temp2
= false ;
15128 PyObject
* obj0
= 0 ;
15129 PyObject
* obj1
= 0 ;
15130 char * kwnames
[] = {
15131 (char *) "self",(char *) "info", NULL
15134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15136 if (!SWIG_IsOK(res1
)) {
15137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15139 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15141 arg2
= wxString_in_helper(obj1
);
15142 if (arg2
== NULL
) SWIG_fail
;
15146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15147 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15168 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15169 PyObject
*resultobj
= 0;
15170 wxFont
*arg1
= (wxFont
*) 0 ;
15174 PyObject
*swig_obj
[1] ;
15176 if (!args
) SWIG_fail
;
15177 swig_obj
[0] = args
;
15178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15179 if (!SWIG_IsOK(res1
)) {
15180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15182 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15202 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15203 PyObject
*resultobj
= 0;
15204 wxFont
*arg1
= (wxFont
*) 0 ;
15208 PyObject
*swig_obj
[1] ;
15210 if (!args
) SWIG_fail
;
15211 swig_obj
[0] = args
;
15212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15213 if (!SWIG_IsOK(res1
)) {
15214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15216 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15219 result
= ((wxFont
const *)arg1
)->GetStyleString();
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15236 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15237 PyObject
*resultobj
= 0;
15238 wxFont
*arg1
= (wxFont
*) 0 ;
15242 PyObject
*swig_obj
[1] ;
15244 if (!args
) SWIG_fail
;
15245 swig_obj
[0] = args
;
15246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15247 if (!SWIG_IsOK(res1
)) {
15248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15250 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15253 result
= ((wxFont
const *)arg1
)->GetWeightString();
15254 wxPyEndAllowThreads(__tstate
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15270 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
= 0;
15272 wxFont
*arg1
= (wxFont
*) 0 ;
15273 bool arg2
= (bool) true ;
15278 PyObject
* obj0
= 0 ;
15279 PyObject
* obj1
= 0 ;
15280 char * kwnames
[] = {
15281 (char *) "self",(char *) "no", NULL
15284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15286 if (!SWIG_IsOK(res1
)) {
15287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15289 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15291 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15292 if (!SWIG_IsOK(ecode2
)) {
15293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15295 arg2
= static_cast< bool >(val2
);
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 (arg1
)->SetNoAntiAliasing(arg2
);
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15303 resultobj
= SWIG_Py_Void();
15310 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15311 PyObject
*resultobj
= 0;
15312 wxFont
*arg1
= (wxFont
*) 0 ;
15316 PyObject
*swig_obj
[1] ;
15318 if (!args
) SWIG_fail
;
15319 swig_obj
[0] = args
;
15320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15321 if (!SWIG_IsOK(res1
)) {
15322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15324 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15340 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15341 PyObject
*resultobj
= 0;
15342 wxFontEncoding result
;
15344 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15346 if (!wxPyCheckForApp()) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15348 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15349 wxPyEndAllowThreads(__tstate
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15352 resultobj
= SWIG_From_int(static_cast< int >(result
));
15359 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15360 PyObject
*resultobj
= 0;
15361 wxFontEncoding arg1
;
15364 PyObject
* obj0
= 0 ;
15365 char * kwnames
[] = {
15366 (char *) "encoding", NULL
15369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15370 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15371 if (!SWIG_IsOK(ecode1
)) {
15372 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15374 arg1
= static_cast< wxFontEncoding
>(val1
);
15376 if (!wxPyCheckForApp()) SWIG_fail
;
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 wxFont::SetDefaultEncoding(arg1
);
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= SWIG_Py_Void();
15389 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15392 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15393 return SWIG_Py_Void();
15396 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15397 return SWIG_Python_InitShadowInstance(args
);
15400 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15401 PyObject
*resultobj
= 0;
15402 wxPyFontEnumerator
*result
= 0 ;
15404 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15406 if (!wxPyCheckForApp()) SWIG_fail
;
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15409 wxPyEndAllowThreads(__tstate
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15419 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15420 PyObject
*resultobj
= 0;
15421 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15424 PyObject
*swig_obj
[1] ;
15426 if (!args
) SWIG_fail
;
15427 swig_obj
[0] = args
;
15428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15429 if (!SWIG_IsOK(res1
)) {
15430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15432 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= SWIG_Py_Void();
15447 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
= 0;
15449 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15450 PyObject
*arg2
= (PyObject
*) 0 ;
15451 PyObject
*arg3
= (PyObject
*) 0 ;
15452 int arg4
= (int) 0 ;
15457 PyObject
* obj0
= 0 ;
15458 PyObject
* obj1
= 0 ;
15459 PyObject
* obj2
= 0 ;
15460 PyObject
* obj3
= 0 ;
15461 char * kwnames
[] = {
15462 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15467 if (!SWIG_IsOK(res1
)) {
15468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15470 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15474 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15475 if (!SWIG_IsOK(ecode4
)) {
15476 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15478 arg4
= static_cast< int >(val4
);
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= SWIG_Py_Void();
15493 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
= 0;
15495 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15496 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15497 bool arg3
= (bool) false ;
15505 PyObject
* obj0
= 0 ;
15506 PyObject
* obj1
= 0 ;
15507 PyObject
* obj2
= 0 ;
15508 char * kwnames
[] = {
15509 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15514 if (!SWIG_IsOK(res1
)) {
15515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15517 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15520 if (!SWIG_IsOK(ecode2
)) {
15521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15523 arg2
= static_cast< wxFontEncoding
>(val2
);
15526 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15527 if (!SWIG_IsOK(ecode3
)) {
15528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15530 arg3
= static_cast< bool >(val3
);
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15534 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15535 wxPyEndAllowThreads(__tstate
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15547 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
= 0;
15549 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15550 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15551 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15555 bool temp2
= false ;
15556 PyObject
* obj0
= 0 ;
15557 PyObject
* obj1
= 0 ;
15558 char * kwnames
[] = {
15559 (char *) "self",(char *) "facename", NULL
15562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15564 if (!SWIG_IsOK(res1
)) {
15565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15567 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15570 arg2
= wxString_in_helper(obj1
);
15571 if (arg2
== NULL
) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15598 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15599 PyObject
*resultobj
= 0;
15600 PyObject
*result
= 0 ;
15602 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15605 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15609 resultobj
= result
;
15616 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15617 PyObject
*resultobj
= 0;
15618 PyObject
*result
= 0 ;
15620 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15627 resultobj
= result
;
15634 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15635 PyObject
*resultobj
= 0;
15636 wxString
*arg1
= 0 ;
15638 bool temp1
= false ;
15639 PyObject
* obj0
= 0 ;
15640 char * kwnames
[] = {
15641 (char *) "str", NULL
15644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15646 arg1
= wxString_in_helper(obj0
);
15647 if (arg1
== NULL
) SWIG_fail
;
15651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15652 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15653 wxPyEndAllowThreads(__tstate
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15673 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15676 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15677 return SWIG_Py_Void();
15680 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15681 return SWIG_Python_InitShadowInstance(args
);
15684 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15685 PyObject
*resultobj
= 0;
15686 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15692 PyObject
*swig_obj
[2] ;
15694 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15696 if (!SWIG_IsOK(res1
)) {
15697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15699 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15700 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15701 if (!SWIG_IsOK(ecode2
)) {
15702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15704 arg2
= static_cast< int >(val2
);
15705 if (arg1
) (arg1
)->Language
= arg2
;
15707 resultobj
= SWIG_Py_Void();
15714 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15715 PyObject
*resultobj
= 0;
15716 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15720 PyObject
*swig_obj
[1] ;
15722 if (!args
) SWIG_fail
;
15723 swig_obj
[0] = args
;
15724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15725 if (!SWIG_IsOK(res1
)) {
15726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15728 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15729 result
= (int) ((arg1
)->Language
);
15730 resultobj
= SWIG_From_int(static_cast< int >(result
));
15737 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15738 PyObject
*resultobj
= 0;
15739 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15740 wxString
*arg2
= (wxString
*) 0 ;
15743 bool temp2
= false ;
15744 PyObject
*swig_obj
[2] ;
15746 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15748 if (!SWIG_IsOK(res1
)) {
15749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15751 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15753 arg2
= wxString_in_helper(swig_obj
[1]);
15754 if (arg2
== NULL
) SWIG_fail
;
15757 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15759 resultobj
= SWIG_Py_Void();
15774 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15775 PyObject
*resultobj
= 0;
15776 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15777 wxString
*result
= 0 ;
15780 PyObject
*swig_obj
[1] ;
15782 if (!args
) SWIG_fail
;
15783 swig_obj
[0] = args
;
15784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15785 if (!SWIG_IsOK(res1
)) {
15786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15788 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15789 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15792 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15794 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15803 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15804 PyObject
*resultobj
= 0;
15805 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15806 wxString
*arg2
= (wxString
*) 0 ;
15809 bool temp2
= false ;
15810 PyObject
*swig_obj
[2] ;
15812 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15814 if (!SWIG_IsOK(res1
)) {
15815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15817 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15819 arg2
= wxString_in_helper(swig_obj
[1]);
15820 if (arg2
== NULL
) SWIG_fail
;
15823 if (arg1
) (arg1
)->Description
= *arg2
;
15825 resultobj
= SWIG_Py_Void();
15840 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15841 PyObject
*resultobj
= 0;
15842 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15843 wxString
*result
= 0 ;
15846 PyObject
*swig_obj
[1] ;
15848 if (!args
) SWIG_fail
;
15849 swig_obj
[0] = args
;
15850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15851 if (!SWIG_IsOK(res1
)) {
15852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15854 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15855 result
= (wxString
*)& ((arg1
)->Description
);
15858 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15860 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15869 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15871 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15872 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15873 return SWIG_Py_Void();
15876 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
= 0;
15878 int arg1
= (int) -1 ;
15879 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15880 wxLocale
*result
= 0 ;
15885 PyObject
* obj0
= 0 ;
15886 PyObject
* obj1
= 0 ;
15887 char * kwnames
[] = {
15888 (char *) "language",(char *) "flags", NULL
15891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15893 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15894 if (!SWIG_IsOK(ecode1
)) {
15895 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15897 arg1
= static_cast< int >(val1
);
15900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15901 if (!SWIG_IsOK(ecode2
)) {
15902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15904 arg2
= static_cast< int >(val2
);
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15919 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15920 PyObject
*resultobj
= 0;
15921 wxLocale
*arg1
= (wxLocale
*) 0 ;
15924 PyObject
*swig_obj
[1] ;
15926 if (!args
) SWIG_fail
;
15927 swig_obj
[0] = args
;
15928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15929 if (!SWIG_IsOK(res1
)) {
15930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15932 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= SWIG_Py_Void();
15947 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
= 0;
15949 wxLocale
*arg1
= (wxLocale
*) 0 ;
15950 wxString
*arg2
= 0 ;
15951 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15952 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15953 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15954 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15955 bool arg5
= (bool) true ;
15956 bool arg6
= (bool) false ;
15960 bool temp2
= false ;
15961 bool temp3
= false ;
15962 bool temp4
= false ;
15967 PyObject
* obj0
= 0 ;
15968 PyObject
* obj1
= 0 ;
15969 PyObject
* obj2
= 0 ;
15970 PyObject
* obj3
= 0 ;
15971 PyObject
* obj4
= 0 ;
15972 PyObject
* obj5
= 0 ;
15973 char * kwnames
[] = {
15974 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15979 if (!SWIG_IsOK(res1
)) {
15980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15982 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15984 arg2
= wxString_in_helper(obj1
);
15985 if (arg2
== NULL
) SWIG_fail
;
15990 arg3
= wxString_in_helper(obj2
);
15991 if (arg3
== NULL
) SWIG_fail
;
15997 arg4
= wxString_in_helper(obj3
);
15998 if (arg4
== NULL
) SWIG_fail
;
16003 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16004 if (!SWIG_IsOK(ecode5
)) {
16005 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16007 arg5
= static_cast< bool >(val5
);
16010 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16011 if (!SWIG_IsOK(ecode6
)) {
16012 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16014 arg6
= static_cast< bool >(val6
);
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16055 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
= 0;
16057 wxLocale
*arg1
= (wxLocale
*) 0 ;
16058 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16059 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16067 PyObject
* obj0
= 0 ;
16068 PyObject
* obj1
= 0 ;
16069 PyObject
* obj2
= 0 ;
16070 char * kwnames
[] = {
16071 (char *) "self",(char *) "language",(char *) "flags", NULL
16074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16076 if (!SWIG_IsOK(res1
)) {
16077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16079 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16082 if (!SWIG_IsOK(ecode2
)) {
16083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16085 arg2
= static_cast< int >(val2
);
16088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16089 if (!SWIG_IsOK(ecode3
)) {
16090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16092 arg3
= static_cast< int >(val3
);
16095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16109 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16110 PyObject
*resultobj
= 0;
16113 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16116 result
= (int)wxLocale::GetSystemLanguage();
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16120 resultobj
= SWIG_From_int(static_cast< int >(result
));
16127 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16128 PyObject
*resultobj
= 0;
16129 wxFontEncoding result
;
16131 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16134 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16138 resultobj
= SWIG_From_int(static_cast< int >(result
));
16145 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16146 PyObject
*resultobj
= 0;
16149 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16152 result
= wxLocale::GetSystemEncodingName();
16153 wxPyEndAllowThreads(__tstate
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16158 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16160 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16169 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16170 PyObject
*resultobj
= 0;
16171 wxLocale
*arg1
= (wxLocale
*) 0 ;
16175 PyObject
*swig_obj
[1] ;
16177 if (!args
) SWIG_fail
;
16178 swig_obj
[0] = args
;
16179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16180 if (!SWIG_IsOK(res1
)) {
16181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16183 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16199 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16200 PyObject
*resultobj
= 0;
16201 wxLocale
*arg1
= (wxLocale
*) 0 ;
16205 PyObject
*swig_obj
[1] ;
16207 if (!args
) SWIG_fail
;
16208 swig_obj
[0] = args
;
16209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16210 if (!SWIG_IsOK(res1
)) {
16211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16213 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16216 result
= ((wxLocale
const *)arg1
)->GetLocale();
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16233 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16234 PyObject
*resultobj
= 0;
16235 wxLocale
*arg1
= (wxLocale
*) 0 ;
16239 PyObject
*swig_obj
[1] ;
16241 if (!args
) SWIG_fail
;
16242 swig_obj
[0] = args
;
16243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16244 if (!SWIG_IsOK(res1
)) {
16245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16247 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16254 resultobj
= SWIG_From_int(static_cast< int >(result
));
16261 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16262 PyObject
*resultobj
= 0;
16263 wxLocale
*arg1
= (wxLocale
*) 0 ;
16267 PyObject
*swig_obj
[1] ;
16269 if (!args
) SWIG_fail
;
16270 swig_obj
[0] = args
;
16271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16272 if (!SWIG_IsOK(res1
)) {
16273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16275 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 result
= ((wxLocale
const *)arg1
)->GetSysName();
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16295 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16296 PyObject
*resultobj
= 0;
16297 wxLocale
*arg1
= (wxLocale
*) 0 ;
16301 PyObject
*swig_obj
[1] ;
16303 if (!args
) SWIG_fail
;
16304 swig_obj
[0] = args
;
16305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16306 if (!SWIG_IsOK(res1
)) {
16307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16309 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16329 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
= 0;
16331 wxString
*arg1
= 0 ;
16332 bool temp1
= false ;
16333 PyObject
* obj0
= 0 ;
16334 char * kwnames
[] = {
16335 (char *) "prefix", NULL
16338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16340 arg1
= wxString_in_helper(obj0
);
16341 if (arg1
== NULL
) SWIG_fail
;
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16350 resultobj
= SWIG_Py_Void();
16365 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
= 0;
16367 wxLocale
*arg1
= (wxLocale
*) 0 ;
16368 wxString
*arg2
= 0 ;
16372 bool temp2
= false ;
16373 PyObject
* obj0
= 0 ;
16374 PyObject
* obj1
= 0 ;
16375 char * kwnames
[] = {
16376 (char *) "self",(char *) "szDomain", NULL
16379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16381 if (!SWIG_IsOK(res1
)) {
16382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16384 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16386 arg2
= wxString_in_helper(obj1
);
16387 if (arg2
== NULL
) SWIG_fail
;
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16413 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16414 PyObject
*resultobj
= 0;
16419 PyObject
* obj0
= 0 ;
16420 char * kwnames
[] = {
16421 (char *) "lang", NULL
16424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16425 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16426 if (!SWIG_IsOK(ecode1
)) {
16427 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16429 arg1
= static_cast< int >(val1
);
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 result
= (bool)wxLocale::IsAvailable(arg1
);
16433 wxPyEndAllowThreads(__tstate
);
16434 if (PyErr_Occurred()) SWIG_fail
;
16437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16445 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16446 PyObject
*resultobj
= 0;
16447 wxLocale
*arg1
= (wxLocale
*) 0 ;
16448 wxString
*arg2
= 0 ;
16452 bool temp2
= false ;
16453 PyObject
* obj0
= 0 ;
16454 PyObject
* obj1
= 0 ;
16455 char * kwnames
[] = {
16456 (char *) "self",(char *) "szDomain", NULL
16459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16461 if (!SWIG_IsOK(res1
)) {
16462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16464 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16466 arg2
= wxString_in_helper(obj1
);
16467 if (arg2
== NULL
) SWIG_fail
;
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16473 wxPyEndAllowThreads(__tstate
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16493 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
= 0;
16496 wxLanguageInfo
*result
= 0 ;
16499 PyObject
* obj0
= 0 ;
16500 char * kwnames
[] = {
16501 (char *) "lang", NULL
16504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16505 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16506 if (!SWIG_IsOK(ecode1
)) {
16507 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16509 arg1
= static_cast< int >(val1
);
16511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16512 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16523 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
= 0;
16529 PyObject
* obj0
= 0 ;
16530 char * kwnames
[] = {
16531 (char *) "lang", NULL
16534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16535 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16536 if (!SWIG_IsOK(ecode1
)) {
16537 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16539 arg1
= static_cast< int >(val1
);
16541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16542 result
= wxLocale::GetLanguageName(arg1
);
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16559 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16560 PyObject
*resultobj
= 0;
16561 wxString
*arg1
= 0 ;
16562 wxLanguageInfo
*result
= 0 ;
16563 bool temp1
= false ;
16564 PyObject
* obj0
= 0 ;
16565 char * kwnames
[] = {
16566 (char *) "locale", NULL
16569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16571 arg1
= wxString_in_helper(obj0
);
16572 if (arg1
== NULL
) SWIG_fail
;
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16596 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
= 0;
16598 wxLanguageInfo
*arg1
= 0 ;
16601 PyObject
* obj0
= 0 ;
16602 char * kwnames
[] = {
16603 (char *) "info", NULL
16606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16607 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16608 if (!SWIG_IsOK(res1
)) {
16609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16614 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 resultobj
= SWIG_Py_Void();
16628 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
= 0;
16630 wxLocale
*arg1
= (wxLocale
*) 0 ;
16631 wxString
*arg2
= 0 ;
16632 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16633 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16637 bool temp2
= false ;
16638 bool temp3
= false ;
16639 PyObject
* obj0
= 0 ;
16640 PyObject
* obj1
= 0 ;
16641 PyObject
* obj2
= 0 ;
16642 char * kwnames
[] = {
16643 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16648 if (!SWIG_IsOK(res1
)) {
16649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16651 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16653 arg2
= wxString_in_helper(obj1
);
16654 if (arg2
== NULL
) SWIG_fail
;
16659 arg3
= wxString_in_helper(obj2
);
16660 if (arg3
== NULL
) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16667 wxPyEndAllowThreads(__tstate
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16699 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16700 PyObject
*resultobj
= 0;
16701 wxLocale
*arg1
= (wxLocale
*) 0 ;
16702 wxString
*result
= 0 ;
16705 PyObject
*swig_obj
[1] ;
16707 if (!args
) SWIG_fail
;
16708 swig_obj
[0] = args
;
16709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16710 if (!SWIG_IsOK(res1
)) {
16711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16713 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16717 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16718 result
= (wxString
*) &_result_ref
;
16720 wxPyEndAllowThreads(__tstate
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16727 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16736 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16738 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16739 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16740 return SWIG_Py_Void();
16743 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16744 return SWIG_Python_InitShadowInstance(args
);
16747 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
= 0;
16749 int arg1
= (int) -1 ;
16750 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16751 wxPyLocale
*result
= 0 ;
16756 PyObject
* obj0
= 0 ;
16757 PyObject
* obj1
= 0 ;
16758 char * kwnames
[] = {
16759 (char *) "language",(char *) "flags", NULL
16762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16764 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16765 if (!SWIG_IsOK(ecode1
)) {
16766 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16768 arg1
= static_cast< int >(val1
);
16771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16772 if (!SWIG_IsOK(ecode2
)) {
16773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16775 arg2
= static_cast< int >(val2
);
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16780 wxPyEndAllowThreads(__tstate
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16790 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16791 PyObject
*resultobj
= 0;
16792 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16795 PyObject
*swig_obj
[1] ;
16797 if (!args
) SWIG_fail
;
16798 swig_obj
[0] = args
;
16799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16800 if (!SWIG_IsOK(res1
)) {
16801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16803 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16811 resultobj
= SWIG_Py_Void();
16818 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
= 0;
16820 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16821 PyObject
*arg2
= (PyObject
*) 0 ;
16822 PyObject
*arg3
= (PyObject
*) 0 ;
16825 PyObject
* obj0
= 0 ;
16826 PyObject
* obj1
= 0 ;
16827 PyObject
* obj2
= 0 ;
16828 char * kwnames
[] = {
16829 (char *) "self",(char *) "self",(char *) "_class", NULL
16832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16834 if (!SWIG_IsOK(res1
)) {
16835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16837 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16842 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16846 resultobj
= SWIG_Py_Void();
16853 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16854 PyObject
*resultobj
= 0;
16855 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16856 wxChar
*arg2
= (wxChar
*) 0 ;
16857 wxChar
*arg3
= (wxChar
*) NULL
;
16858 wxChar
*result
= 0 ;
16865 PyObject
* obj0
= 0 ;
16866 PyObject
* obj1
= 0 ;
16867 PyObject
* obj2
= 0 ;
16868 char * kwnames
[] = {
16869 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16874 if (!SWIG_IsOK(res1
)) {
16875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16877 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16879 if (!SWIG_IsOK(res2
)) {
16880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16882 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16884 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16885 if (!SWIG_IsOK(res3
)) {
16886 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16888 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16903 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
= 0;
16905 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16906 wxChar
*arg2
= (wxChar
*) 0 ;
16907 wxChar
*arg3
= (wxChar
*) 0 ;
16909 wxChar
*arg5
= (wxChar
*) NULL
;
16910 wxChar
*result
= 0 ;
16921 PyObject
* obj0
= 0 ;
16922 PyObject
* obj1
= 0 ;
16923 PyObject
* obj2
= 0 ;
16924 PyObject
* obj3
= 0 ;
16925 PyObject
* obj4
= 0 ;
16926 char * kwnames
[] = {
16927 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16932 if (!SWIG_IsOK(res1
)) {
16933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16935 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16937 if (!SWIG_IsOK(res2
)) {
16938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16940 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16941 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16942 if (!SWIG_IsOK(res3
)) {
16943 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16945 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16946 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16947 if (!SWIG_IsOK(ecode4
)) {
16948 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16950 arg4
= static_cast< size_t >(val4
);
16952 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16953 if (!SWIG_IsOK(res5
)) {
16954 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16956 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16971 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16973 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16974 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16975 return SWIG_Py_Void();
16978 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16979 return SWIG_Python_InitShadowInstance(args
);
16982 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16983 PyObject
*resultobj
= 0;
16984 wxLocale
*result
= 0 ;
16986 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 result
= (wxLocale
*)wxGetLocale();
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17000 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17001 PyObject
*resultobj
= 0;
17002 wxString
*arg1
= 0 ;
17004 bool temp1
= false ;
17006 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17008 arg1
= wxString_in_helper(swig_obj
[0]);
17009 if (arg1
== NULL
) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 result
= wxGetTranslation((wxString
const &)*arg1
);
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17039 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17040 PyObject
*resultobj
= 0;
17041 wxString
*arg1
= 0 ;
17042 wxString
*arg2
= 0 ;
17044 bool temp1
= false ;
17045 bool temp2
= false ;
17047 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17049 arg1
= wxString_in_helper(swig_obj
[0]);
17050 if (arg1
== NULL
) SWIG_fail
;
17054 arg2
= wxString_in_helper(swig_obj
[1]);
17055 if (arg2
== NULL
) SWIG_fail
;
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17061 wxPyEndAllowThreads(__tstate
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17093 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17094 PyObject
*resultobj
= 0;
17095 wxString
*arg1
= 0 ;
17096 wxString
*arg2
= 0 ;
17099 bool temp1
= false ;
17100 bool temp2
= false ;
17104 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17106 arg1
= wxString_in_helper(swig_obj
[0]);
17107 if (arg1
== NULL
) SWIG_fail
;
17111 arg2
= wxString_in_helper(swig_obj
[1]);
17112 if (arg2
== NULL
) SWIG_fail
;
17115 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17116 if (!SWIG_IsOK(ecode3
)) {
17117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17119 arg3
= static_cast< size_t >(val3
);
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17128 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17130 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17155 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17156 PyObject
*resultobj
= 0;
17157 wxString
*arg1
= 0 ;
17158 wxString
*arg2
= 0 ;
17160 wxString
*arg4
= 0 ;
17162 bool temp1
= false ;
17163 bool temp2
= false ;
17166 bool temp4
= false ;
17168 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17170 arg1
= wxString_in_helper(swig_obj
[0]);
17171 if (arg1
== NULL
) SWIG_fail
;
17175 arg2
= wxString_in_helper(swig_obj
[1]);
17176 if (arg2
== NULL
) SWIG_fail
;
17179 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17180 if (!SWIG_IsOK(ecode3
)) {
17181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17183 arg3
= static_cast< size_t >(val3
);
17185 arg4
= wxString_in_helper(swig_obj
[3]);
17186 if (arg4
== NULL
) SWIG_fail
;
17190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17191 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17232 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17236 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17239 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17242 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17245 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17248 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17252 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17257 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17258 PyObject
*resultobj
= 0;
17259 wxEncodingConverter
*result
= 0 ;
17261 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17275 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17276 PyObject
*resultobj
= 0;
17277 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17280 PyObject
*swig_obj
[1] ;
17282 if (!args
) SWIG_fail
;
17283 swig_obj
[0] = args
;
17284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17285 if (!SWIG_IsOK(res1
)) {
17286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17288 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17296 resultobj
= SWIG_Py_Void();
17303 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
= 0;
17305 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17306 wxFontEncoding arg2
;
17307 wxFontEncoding arg3
;
17308 int arg4
= (int) wxCONVERT_STRICT
;
17318 PyObject
* obj0
= 0 ;
17319 PyObject
* obj1
= 0 ;
17320 PyObject
* obj2
= 0 ;
17321 PyObject
* obj3
= 0 ;
17322 char * kwnames
[] = {
17323 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17328 if (!SWIG_IsOK(res1
)) {
17329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17331 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17333 if (!SWIG_IsOK(ecode2
)) {
17334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17336 arg2
= static_cast< wxFontEncoding
>(val2
);
17337 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17338 if (!SWIG_IsOK(ecode3
)) {
17339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17341 arg3
= static_cast< wxFontEncoding
>(val3
);
17343 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17344 if (!SWIG_IsOK(ecode4
)) {
17345 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17347 arg4
= static_cast< int >(val4
);
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17352 wxPyEndAllowThreads(__tstate
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17364 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17365 PyObject
*resultobj
= 0;
17366 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17367 wxString
*arg2
= 0 ;
17371 bool temp2
= false ;
17372 PyObject
* obj0
= 0 ;
17373 PyObject
* obj1
= 0 ;
17374 char * kwnames
[] = {
17375 (char *) "self",(char *) "input", NULL
17378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17380 if (!SWIG_IsOK(res1
)) {
17381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17383 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17385 arg2
= wxString_in_helper(obj1
);
17386 if (arg2
== NULL
) SWIG_fail
;
17390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17391 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17416 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
= 0;
17418 wxFontEncoding arg1
;
17419 int arg2
= (int) wxPLATFORM_CURRENT
;
17420 wxFontEncodingArray result
;
17425 PyObject
* obj0
= 0 ;
17426 PyObject
* obj1
= 0 ;
17427 char * kwnames
[] = {
17428 (char *) "enc",(char *) "platform", NULL
17431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17432 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17433 if (!SWIG_IsOK(ecode1
)) {
17434 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17436 arg1
= static_cast< wxFontEncoding
>(val1
);
17438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17439 if (!SWIG_IsOK(ecode2
)) {
17440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17442 arg2
= static_cast< int >(val2
);
17445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17446 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17451 resultobj
= PyList_New(0);
17452 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17453 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17454 PyList_Append(resultobj
, number
);
17464 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17465 PyObject
*resultobj
= 0;
17466 wxFontEncoding arg1
;
17467 wxFontEncodingArray result
;
17470 PyObject
* obj0
= 0 ;
17471 char * kwnames
[] = {
17472 (char *) "enc", NULL
17475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17476 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17477 if (!SWIG_IsOK(ecode1
)) {
17478 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17480 arg1
= static_cast< wxFontEncoding
>(val1
);
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17488 resultobj
= PyList_New(0);
17489 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17490 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17491 PyList_Append(resultobj
, number
);
17501 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17502 PyObject
*resultobj
= 0;
17503 wxFontEncoding arg1
;
17504 wxFontEncoding arg2
;
17510 PyObject
* obj0
= 0 ;
17511 PyObject
* obj1
= 0 ;
17512 char * kwnames
[] = {
17513 (char *) "encIn",(char *) "encOut", NULL
17516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17517 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17518 if (!SWIG_IsOK(ecode1
)) {
17519 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17521 arg1
= static_cast< wxFontEncoding
>(val1
);
17522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17523 if (!SWIG_IsOK(ecode2
)) {
17524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17526 arg2
= static_cast< wxFontEncoding
>(val2
);
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17542 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17545 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17546 return SWIG_Py_Void();
17549 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17550 return SWIG_Python_InitShadowInstance(args
);
17553 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17554 PyObject
*resultobj
= 0;
17555 wxDC
*arg1
= (wxDC
*) 0 ;
17558 PyObject
*swig_obj
[1] ;
17560 if (!args
) SWIG_fail
;
17561 swig_obj
[0] = args
;
17562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17563 if (!SWIG_IsOK(res1
)) {
17564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17566 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17574 resultobj
= SWIG_Py_Void();
17581 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17582 PyObject
*resultobj
= 0;
17583 wxDC
*arg1
= (wxDC
*) 0 ;
17586 wxColour
*arg4
= 0 ;
17587 int arg5
= (int) wxFLOOD_SURFACE
;
17598 PyObject
* obj0
= 0 ;
17599 PyObject
* obj1
= 0 ;
17600 PyObject
* obj2
= 0 ;
17601 PyObject
* obj3
= 0 ;
17602 PyObject
* obj4
= 0 ;
17603 char * kwnames
[] = {
17604 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17609 if (!SWIG_IsOK(res1
)) {
17610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17612 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17614 if (!SWIG_IsOK(ecode2
)) {
17615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17617 arg2
= static_cast< int >(val2
);
17618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17619 if (!SWIG_IsOK(ecode3
)) {
17620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17622 arg3
= static_cast< int >(val3
);
17625 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17628 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17629 if (!SWIG_IsOK(ecode5
)) {
17630 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17632 arg5
= static_cast< int >(val5
);
17635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17636 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17649 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
= 0;
17651 wxDC
*arg1
= (wxDC
*) 0 ;
17652 wxPoint
*arg2
= 0 ;
17653 wxColour
*arg3
= 0 ;
17654 int arg4
= (int) wxFLOOD_SURFACE
;
17662 PyObject
* obj0
= 0 ;
17663 PyObject
* obj1
= 0 ;
17664 PyObject
* obj2
= 0 ;
17665 PyObject
* obj3
= 0 ;
17666 char * kwnames
[] = {
17667 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17672 if (!SWIG_IsOK(res1
)) {
17673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17678 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17682 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17685 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17686 if (!SWIG_IsOK(ecode4
)) {
17687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17689 arg4
= static_cast< int >(val4
);
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17706 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
= 0;
17708 wxDC
*arg1
= (wxDC
*) 0 ;
17710 wxColour
*arg3
= 0 ;
17711 wxColour
*arg4
= 0 ;
17712 wxPoint
*arg5
= 0 ;
17719 PyObject
* obj0
= 0 ;
17720 PyObject
* obj1
= 0 ;
17721 PyObject
* obj2
= 0 ;
17722 PyObject
* obj3
= 0 ;
17723 PyObject
* obj4
= 0 ;
17724 char * kwnames
[] = {
17725 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17730 if (!SWIG_IsOK(res1
)) {
17731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17736 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17740 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17744 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17748 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 resultobj
= SWIG_Py_Void();
17763 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
= 0;
17765 wxDC
*arg1
= (wxDC
*) 0 ;
17767 wxColour
*arg3
= 0 ;
17768 wxColour
*arg4
= 0 ;
17769 wxDirection arg5
= (wxDirection
) wxEAST
;
17777 PyObject
* obj0
= 0 ;
17778 PyObject
* obj1
= 0 ;
17779 PyObject
* obj2
= 0 ;
17780 PyObject
* obj3
= 0 ;
17781 PyObject
* obj4
= 0 ;
17782 char * kwnames
[] = {
17783 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17788 if (!SWIG_IsOK(res1
)) {
17789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17794 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17798 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17802 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17805 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17806 if (!SWIG_IsOK(ecode5
)) {
17807 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17809 arg5
= static_cast< wxDirection
>(val5
);
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 resultobj
= SWIG_Py_Void();
17824 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17825 PyObject
*resultobj
= 0;
17826 wxDC
*arg1
= (wxDC
*) 0 ;
17836 PyObject
* obj0
= 0 ;
17837 PyObject
* obj1
= 0 ;
17838 PyObject
* obj2
= 0 ;
17839 char * kwnames
[] = {
17840 (char *) "self",(char *) "x",(char *) "y", NULL
17843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17845 if (!SWIG_IsOK(res1
)) {
17846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17848 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17850 if (!SWIG_IsOK(ecode2
)) {
17851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17853 arg2
= static_cast< int >(val2
);
17854 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17855 if (!SWIG_IsOK(ecode3
)) {
17856 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17858 arg3
= static_cast< int >(val3
);
17860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17861 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17862 wxPyEndAllowThreads(__tstate
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17865 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17872 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
= 0;
17874 wxDC
*arg1
= (wxDC
*) 0 ;
17875 wxPoint
*arg2
= 0 ;
17880 PyObject
* obj0
= 0 ;
17881 PyObject
* obj1
= 0 ;
17882 char * kwnames
[] = {
17883 (char *) "self",(char *) "pt", NULL
17886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17888 if (!SWIG_IsOK(res1
)) {
17889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17891 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17894 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17898 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17899 wxPyEndAllowThreads(__tstate
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17902 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17909 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
= 0;
17911 wxDC
*arg1
= (wxDC
*) 0 ;
17926 PyObject
* obj0
= 0 ;
17927 PyObject
* obj1
= 0 ;
17928 PyObject
* obj2
= 0 ;
17929 PyObject
* obj3
= 0 ;
17930 PyObject
* obj4
= 0 ;
17931 char * kwnames
[] = {
17932 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17937 if (!SWIG_IsOK(res1
)) {
17938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17942 if (!SWIG_IsOK(ecode2
)) {
17943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17945 arg2
= static_cast< int >(val2
);
17946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17947 if (!SWIG_IsOK(ecode3
)) {
17948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17950 arg3
= static_cast< int >(val3
);
17951 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17952 if (!SWIG_IsOK(ecode4
)) {
17953 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17955 arg4
= static_cast< int >(val4
);
17956 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17957 if (!SWIG_IsOK(ecode5
)) {
17958 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17960 arg5
= static_cast< int >(val5
);
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= SWIG_Py_Void();
17974 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
= 0;
17976 wxDC
*arg1
= (wxDC
*) 0 ;
17977 wxPoint
*arg2
= 0 ;
17978 wxPoint
*arg3
= 0 ;
17983 PyObject
* obj0
= 0 ;
17984 PyObject
* obj1
= 0 ;
17985 PyObject
* obj2
= 0 ;
17986 char * kwnames
[] = {
17987 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17992 if (!SWIG_IsOK(res1
)) {
17993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17995 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17998 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18002 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18006 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18010 resultobj
= SWIG_Py_Void();
18017 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
= 0;
18019 wxDC
*arg1
= (wxDC
*) 0 ;
18028 PyObject
* obj0
= 0 ;
18029 PyObject
* obj1
= 0 ;
18030 PyObject
* obj2
= 0 ;
18031 char * kwnames
[] = {
18032 (char *) "self",(char *) "x",(char *) "y", NULL
18035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18037 if (!SWIG_IsOK(res1
)) {
18038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18040 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18042 if (!SWIG_IsOK(ecode2
)) {
18043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18045 arg2
= static_cast< int >(val2
);
18046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18047 if (!SWIG_IsOK(ecode3
)) {
18048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18050 arg3
= static_cast< int >(val3
);
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 (arg1
)->CrossHair(arg2
,arg3
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= SWIG_Py_Void();
18064 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
= 0;
18066 wxDC
*arg1
= (wxDC
*) 0 ;
18067 wxPoint
*arg2
= 0 ;
18071 PyObject
* obj0
= 0 ;
18072 PyObject
* obj1
= 0 ;
18073 char * kwnames
[] = {
18074 (char *) "self",(char *) "pt", NULL
18077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18079 if (!SWIG_IsOK(res1
)) {
18080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18082 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18085 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18090 wxPyEndAllowThreads(__tstate
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18093 resultobj
= SWIG_Py_Void();
18100 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18101 PyObject
*resultobj
= 0;
18102 wxDC
*arg1
= (wxDC
*) 0 ;
18123 PyObject
* obj0
= 0 ;
18124 PyObject
* obj1
= 0 ;
18125 PyObject
* obj2
= 0 ;
18126 PyObject
* obj3
= 0 ;
18127 PyObject
* obj4
= 0 ;
18128 PyObject
* obj5
= 0 ;
18129 PyObject
* obj6
= 0 ;
18130 char * kwnames
[] = {
18131 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18136 if (!SWIG_IsOK(res1
)) {
18137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18139 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18141 if (!SWIG_IsOK(ecode2
)) {
18142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18144 arg2
= static_cast< int >(val2
);
18145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18146 if (!SWIG_IsOK(ecode3
)) {
18147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18149 arg3
= static_cast< int >(val3
);
18150 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18151 if (!SWIG_IsOK(ecode4
)) {
18152 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18154 arg4
= static_cast< int >(val4
);
18155 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18156 if (!SWIG_IsOK(ecode5
)) {
18157 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18159 arg5
= static_cast< int >(val5
);
18160 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18161 if (!SWIG_IsOK(ecode6
)) {
18162 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18164 arg6
= static_cast< int >(val6
);
18165 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18166 if (!SWIG_IsOK(ecode7
)) {
18167 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18169 arg7
= static_cast< int >(val7
);
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18176 resultobj
= SWIG_Py_Void();
18183 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
= 0;
18185 wxDC
*arg1
= (wxDC
*) 0 ;
18186 wxPoint
*arg2
= 0 ;
18187 wxPoint
*arg3
= 0 ;
18188 wxPoint
*arg4
= 0 ;
18194 PyObject
* obj0
= 0 ;
18195 PyObject
* obj1
= 0 ;
18196 PyObject
* obj2
= 0 ;
18197 PyObject
* obj3
= 0 ;
18198 char * kwnames
[] = {
18199 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18204 if (!SWIG_IsOK(res1
)) {
18205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18207 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18210 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18214 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18218 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= SWIG_Py_Void();
18233 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
= 0;
18235 wxDC
*arg1
= (wxDC
*) 0 ;
18250 PyObject
* obj0
= 0 ;
18251 PyObject
* obj1
= 0 ;
18252 PyObject
* obj2
= 0 ;
18253 PyObject
* obj3
= 0 ;
18254 PyObject
* obj4
= 0 ;
18255 char * kwnames
[] = {
18256 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18261 if (!SWIG_IsOK(res1
)) {
18262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18264 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18266 if (!SWIG_IsOK(ecode2
)) {
18267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18269 arg2
= static_cast< int >(val2
);
18270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18271 if (!SWIG_IsOK(ecode3
)) {
18272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18274 arg3
= static_cast< int >(val3
);
18275 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18276 if (!SWIG_IsOK(ecode4
)) {
18277 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18279 arg4
= static_cast< int >(val4
);
18280 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18281 if (!SWIG_IsOK(ecode5
)) {
18282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18284 arg5
= static_cast< int >(val5
);
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 resultobj
= SWIG_Py_Void();
18298 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
= 0;
18300 wxDC
*arg1
= (wxDC
*) 0 ;
18305 PyObject
* obj0
= 0 ;
18306 PyObject
* obj1
= 0 ;
18307 char * kwnames
[] = {
18308 (char *) "self",(char *) "rect", NULL
18311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18313 if (!SWIG_IsOK(res1
)) {
18314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18319 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18323 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= SWIG_Py_Void();
18334 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18335 PyObject
*resultobj
= 0;
18336 wxDC
*arg1
= (wxDC
*) 0 ;
18357 PyObject
* obj0
= 0 ;
18358 PyObject
* obj1
= 0 ;
18359 PyObject
* obj2
= 0 ;
18360 PyObject
* obj3
= 0 ;
18361 PyObject
* obj4
= 0 ;
18362 PyObject
* obj5
= 0 ;
18363 PyObject
* obj6
= 0 ;
18364 char * kwnames
[] = {
18365 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18370 if (!SWIG_IsOK(res1
)) {
18371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18373 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18375 if (!SWIG_IsOK(ecode2
)) {
18376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18378 arg2
= static_cast< int >(val2
);
18379 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18380 if (!SWIG_IsOK(ecode3
)) {
18381 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18383 arg3
= static_cast< int >(val3
);
18384 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18385 if (!SWIG_IsOK(ecode4
)) {
18386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18388 arg4
= static_cast< int >(val4
);
18389 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18390 if (!SWIG_IsOK(ecode5
)) {
18391 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18393 arg5
= static_cast< int >(val5
);
18394 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18395 if (!SWIG_IsOK(ecode6
)) {
18396 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18398 arg6
= static_cast< double >(val6
);
18399 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18400 if (!SWIG_IsOK(ecode7
)) {
18401 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18403 arg7
= static_cast< double >(val7
);
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= SWIG_Py_Void();
18417 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
= 0;
18419 wxDC
*arg1
= (wxDC
*) 0 ;
18420 wxPoint
*arg2
= 0 ;
18432 PyObject
* obj0
= 0 ;
18433 PyObject
* obj1
= 0 ;
18434 PyObject
* obj2
= 0 ;
18435 PyObject
* obj3
= 0 ;
18436 PyObject
* obj4
= 0 ;
18437 char * kwnames
[] = {
18438 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18443 if (!SWIG_IsOK(res1
)) {
18444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18446 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18449 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18453 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18455 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18456 if (!SWIG_IsOK(ecode4
)) {
18457 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18459 arg4
= static_cast< double >(val4
);
18460 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18461 if (!SWIG_IsOK(ecode5
)) {
18462 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18464 arg5
= static_cast< double >(val5
);
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= SWIG_Py_Void();
18478 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
= 0;
18480 wxDC
*arg1
= (wxDC
*) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 PyObject
* obj1
= 0 ;
18491 PyObject
* obj2
= 0 ;
18492 char * kwnames
[] = {
18493 (char *) "self",(char *) "x",(char *) "y", NULL
18496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18498 if (!SWIG_IsOK(res1
)) {
18499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18503 if (!SWIG_IsOK(ecode2
)) {
18504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18506 arg2
= static_cast< int >(val2
);
18507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18508 if (!SWIG_IsOK(ecode3
)) {
18509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18511 arg3
= static_cast< int >(val3
);
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 (arg1
)->DrawPoint(arg2
,arg3
);
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= SWIG_Py_Void();
18525 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
= 0;
18527 wxDC
*arg1
= (wxDC
*) 0 ;
18528 wxPoint
*arg2
= 0 ;
18532 PyObject
* obj0
= 0 ;
18533 PyObject
* obj1
= 0 ;
18534 char * kwnames
[] = {
18535 (char *) "self",(char *) "pt", NULL
18538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18540 if (!SWIG_IsOK(res1
)) {
18541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18543 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18546 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18550 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18551 wxPyEndAllowThreads(__tstate
);
18552 if (PyErr_Occurred()) SWIG_fail
;
18554 resultobj
= SWIG_Py_Void();
18561 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18562 PyObject
*resultobj
= 0;
18563 wxDC
*arg1
= (wxDC
*) 0 ;
18578 PyObject
* obj0
= 0 ;
18579 PyObject
* obj1
= 0 ;
18580 PyObject
* obj2
= 0 ;
18581 PyObject
* obj3
= 0 ;
18582 PyObject
* obj4
= 0 ;
18583 char * kwnames
[] = {
18584 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18589 if (!SWIG_IsOK(res1
)) {
18590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18594 if (!SWIG_IsOK(ecode2
)) {
18595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18597 arg2
= static_cast< int >(val2
);
18598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18599 if (!SWIG_IsOK(ecode3
)) {
18600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18602 arg3
= static_cast< int >(val3
);
18603 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18604 if (!SWIG_IsOK(ecode4
)) {
18605 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18607 arg4
= static_cast< int >(val4
);
18608 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18609 if (!SWIG_IsOK(ecode5
)) {
18610 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18612 arg5
= static_cast< int >(val5
);
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18615 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18616 wxPyEndAllowThreads(__tstate
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18619 resultobj
= SWIG_Py_Void();
18626 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18627 PyObject
*resultobj
= 0;
18628 wxDC
*arg1
= (wxDC
*) 0 ;
18633 PyObject
* obj0
= 0 ;
18634 PyObject
* obj1
= 0 ;
18635 char * kwnames
[] = {
18636 (char *) "self",(char *) "rect", NULL
18639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18641 if (!SWIG_IsOK(res1
)) {
18642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18644 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18647 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18651 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 resultobj
= SWIG_Py_Void();
18662 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18663 PyObject
*resultobj
= 0;
18664 wxDC
*arg1
= (wxDC
*) 0 ;
18665 wxPoint
*arg2
= 0 ;
18671 PyObject
* obj0
= 0 ;
18672 PyObject
* obj1
= 0 ;
18673 PyObject
* obj2
= 0 ;
18674 char * kwnames
[] = {
18675 (char *) "self",(char *) "pt",(char *) "sz", NULL
18678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18680 if (!SWIG_IsOK(res1
)) {
18681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18683 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18686 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18690 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18694 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18695 wxPyEndAllowThreads(__tstate
);
18696 if (PyErr_Occurred()) SWIG_fail
;
18698 resultobj
= SWIG_Py_Void();
18705 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
= 0;
18707 wxDC
*arg1
= (wxDC
*) 0 ;
18725 PyObject
* obj0
= 0 ;
18726 PyObject
* obj1
= 0 ;
18727 PyObject
* obj2
= 0 ;
18728 PyObject
* obj3
= 0 ;
18729 PyObject
* obj4
= 0 ;
18730 PyObject
* obj5
= 0 ;
18731 char * kwnames
[] = {
18732 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18737 if (!SWIG_IsOK(res1
)) {
18738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18740 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18742 if (!SWIG_IsOK(ecode2
)) {
18743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18745 arg2
= static_cast< int >(val2
);
18746 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18747 if (!SWIG_IsOK(ecode3
)) {
18748 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18750 arg3
= static_cast< int >(val3
);
18751 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18752 if (!SWIG_IsOK(ecode4
)) {
18753 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18755 arg4
= static_cast< int >(val4
);
18756 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18757 if (!SWIG_IsOK(ecode5
)) {
18758 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18760 arg5
= static_cast< int >(val5
);
18761 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18762 if (!SWIG_IsOK(ecode6
)) {
18763 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18765 arg6
= static_cast< double >(val6
);
18767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18768 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18769 wxPyEndAllowThreads(__tstate
);
18770 if (PyErr_Occurred()) SWIG_fail
;
18772 resultobj
= SWIG_Py_Void();
18779 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18780 PyObject
*resultobj
= 0;
18781 wxDC
*arg1
= (wxDC
*) 0 ;
18789 PyObject
* obj0
= 0 ;
18790 PyObject
* obj1
= 0 ;
18791 PyObject
* obj2
= 0 ;
18792 char * kwnames
[] = {
18793 (char *) "self",(char *) "r",(char *) "radius", NULL
18796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18798 if (!SWIG_IsOK(res1
)) {
18799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18801 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18804 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18806 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18807 if (!SWIG_IsOK(ecode3
)) {
18808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18810 arg3
= static_cast< double >(val3
);
18812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18813 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18814 wxPyEndAllowThreads(__tstate
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18817 resultobj
= SWIG_Py_Void();
18824 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
= 0;
18826 wxDC
*arg1
= (wxDC
*) 0 ;
18827 wxPoint
*arg2
= 0 ;
18836 PyObject
* obj0
= 0 ;
18837 PyObject
* obj1
= 0 ;
18838 PyObject
* obj2
= 0 ;
18839 PyObject
* obj3
= 0 ;
18840 char * kwnames
[] = {
18841 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18846 if (!SWIG_IsOK(res1
)) {
18847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18849 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18852 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18856 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18858 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18859 if (!SWIG_IsOK(ecode4
)) {
18860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18862 arg4
= static_cast< double >(val4
);
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18869 resultobj
= SWIG_Py_Void();
18876 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
= 0;
18878 wxDC
*arg1
= (wxDC
*) 0 ;
18890 PyObject
* obj0
= 0 ;
18891 PyObject
* obj1
= 0 ;
18892 PyObject
* obj2
= 0 ;
18893 PyObject
* obj3
= 0 ;
18894 char * kwnames
[] = {
18895 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18900 if (!SWIG_IsOK(res1
)) {
18901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18905 if (!SWIG_IsOK(ecode2
)) {
18906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18908 arg2
= static_cast< int >(val2
);
18909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18910 if (!SWIG_IsOK(ecode3
)) {
18911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18913 arg3
= static_cast< int >(val3
);
18914 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18915 if (!SWIG_IsOK(ecode4
)) {
18916 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18918 arg4
= static_cast< int >(val4
);
18920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18921 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18922 wxPyEndAllowThreads(__tstate
);
18923 if (PyErr_Occurred()) SWIG_fail
;
18925 resultobj
= SWIG_Py_Void();
18932 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
= 0;
18934 wxDC
*arg1
= (wxDC
*) 0 ;
18935 wxPoint
*arg2
= 0 ;
18942 PyObject
* obj0
= 0 ;
18943 PyObject
* obj1
= 0 ;
18944 PyObject
* obj2
= 0 ;
18945 char * kwnames
[] = {
18946 (char *) "self",(char *) "pt",(char *) "radius", NULL
18949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18951 if (!SWIG_IsOK(res1
)) {
18952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18954 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18957 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18960 if (!SWIG_IsOK(ecode3
)) {
18961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18963 arg3
= static_cast< int >(val3
);
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18970 resultobj
= SWIG_Py_Void();
18977 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
= 0;
18979 wxDC
*arg1
= (wxDC
*) 0 ;
18994 PyObject
* obj0
= 0 ;
18995 PyObject
* obj1
= 0 ;
18996 PyObject
* obj2
= 0 ;
18997 PyObject
* obj3
= 0 ;
18998 PyObject
* obj4
= 0 ;
18999 char * kwnames
[] = {
19000 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19005 if (!SWIG_IsOK(res1
)) {
19006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19010 if (!SWIG_IsOK(ecode2
)) {
19011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19013 arg2
= static_cast< int >(val2
);
19014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19015 if (!SWIG_IsOK(ecode3
)) {
19016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19018 arg3
= static_cast< int >(val3
);
19019 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19020 if (!SWIG_IsOK(ecode4
)) {
19021 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19023 arg4
= static_cast< int >(val4
);
19024 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19025 if (!SWIG_IsOK(ecode5
)) {
19026 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19028 arg5
= static_cast< int >(val5
);
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19035 resultobj
= SWIG_Py_Void();
19042 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
= 0;
19044 wxDC
*arg1
= (wxDC
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 PyObject
* obj1
= 0 ;
19051 char * kwnames
[] = {
19052 (char *) "self",(char *) "rect", NULL
19055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19057 if (!SWIG_IsOK(res1
)) {
19058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19060 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19063 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 resultobj
= SWIG_Py_Void();
19078 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19079 PyObject
*resultobj
= 0;
19080 wxDC
*arg1
= (wxDC
*) 0 ;
19081 wxPoint
*arg2
= 0 ;
19087 PyObject
* obj0
= 0 ;
19088 PyObject
* obj1
= 0 ;
19089 PyObject
* obj2
= 0 ;
19090 char * kwnames
[] = {
19091 (char *) "self",(char *) "pt",(char *) "sz", NULL
19094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19096 if (!SWIG_IsOK(res1
)) {
19097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19099 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19102 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19106 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19111 wxPyEndAllowThreads(__tstate
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19114 resultobj
= SWIG_Py_Void();
19121 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19122 PyObject
*resultobj
= 0;
19123 wxDC
*arg1
= (wxDC
*) 0 ;
19135 PyObject
* obj0
= 0 ;
19136 PyObject
* obj1
= 0 ;
19137 PyObject
* obj2
= 0 ;
19138 PyObject
* obj3
= 0 ;
19139 char * kwnames
[] = {
19140 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19145 if (!SWIG_IsOK(res1
)) {
19146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19148 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19149 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19150 if (!SWIG_IsOK(res2
)) {
19151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19156 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19158 if (!SWIG_IsOK(ecode3
)) {
19159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19161 arg3
= static_cast< int >(val3
);
19162 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19163 if (!SWIG_IsOK(ecode4
)) {
19164 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19166 arg4
= static_cast< int >(val4
);
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19170 wxPyEndAllowThreads(__tstate
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19173 resultobj
= SWIG_Py_Void();
19180 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
= 0;
19182 wxDC
*arg1
= (wxDC
*) 0 ;
19184 wxPoint
*arg3
= 0 ;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 PyObject
* obj2
= 0 ;
19193 char * kwnames
[] = {
19194 (char *) "self",(char *) "icon",(char *) "pt", NULL
19197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19199 if (!SWIG_IsOK(res1
)) {
19200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19202 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19204 if (!SWIG_IsOK(res2
)) {
19205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19210 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19213 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19221 resultobj
= SWIG_Py_Void();
19228 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
= 0;
19230 wxDC
*arg1
= (wxDC
*) 0 ;
19231 wxBitmap
*arg2
= 0 ;
19234 bool arg5
= (bool) false ;
19245 PyObject
* obj0
= 0 ;
19246 PyObject
* obj1
= 0 ;
19247 PyObject
* obj2
= 0 ;
19248 PyObject
* obj3
= 0 ;
19249 PyObject
* obj4
= 0 ;
19250 char * kwnames
[] = {
19251 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19256 if (!SWIG_IsOK(res1
)) {
19257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19259 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19260 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19261 if (!SWIG_IsOK(res2
)) {
19262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19265 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19267 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19268 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19269 if (!SWIG_IsOK(ecode3
)) {
19270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19272 arg3
= static_cast< int >(val3
);
19273 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19274 if (!SWIG_IsOK(ecode4
)) {
19275 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19277 arg4
= static_cast< int >(val4
);
19279 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19280 if (!SWIG_IsOK(ecode5
)) {
19281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19283 arg5
= static_cast< bool >(val5
);
19286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19287 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19288 wxPyEndAllowThreads(__tstate
);
19289 if (PyErr_Occurred()) SWIG_fail
;
19291 resultobj
= SWIG_Py_Void();
19298 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
= 0;
19300 wxDC
*arg1
= (wxDC
*) 0 ;
19301 wxBitmap
*arg2
= 0 ;
19302 wxPoint
*arg3
= 0 ;
19303 bool arg4
= (bool) false ;
19311 PyObject
* obj0
= 0 ;
19312 PyObject
* obj1
= 0 ;
19313 PyObject
* obj2
= 0 ;
19314 PyObject
* obj3
= 0 ;
19315 char * kwnames
[] = {
19316 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19321 if (!SWIG_IsOK(res1
)) {
19322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19324 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19325 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19326 if (!SWIG_IsOK(res2
)) {
19327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19332 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19335 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19338 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19339 if (!SWIG_IsOK(ecode4
)) {
19340 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19342 arg4
= static_cast< bool >(val4
);
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19346 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19350 resultobj
= SWIG_Py_Void();
19357 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
= 0;
19359 wxDC
*arg1
= (wxDC
*) 0 ;
19360 wxString
*arg2
= 0 ;
19365 bool temp2
= false ;
19370 PyObject
* obj0
= 0 ;
19371 PyObject
* obj1
= 0 ;
19372 PyObject
* obj2
= 0 ;
19373 PyObject
* obj3
= 0 ;
19374 char * kwnames
[] = {
19375 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19380 if (!SWIG_IsOK(res1
)) {
19381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19383 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19385 arg2
= wxString_in_helper(obj1
);
19386 if (arg2
== NULL
) SWIG_fail
;
19389 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19390 if (!SWIG_IsOK(ecode3
)) {
19391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19393 arg3
= static_cast< int >(val3
);
19394 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19395 if (!SWIG_IsOK(ecode4
)) {
19396 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19398 arg4
= static_cast< int >(val4
);
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19402 wxPyEndAllowThreads(__tstate
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19405 resultobj
= SWIG_Py_Void();
19420 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19421 PyObject
*resultobj
= 0;
19422 wxDC
*arg1
= (wxDC
*) 0 ;
19423 wxString
*arg2
= 0 ;
19424 wxPoint
*arg3
= 0 ;
19427 bool temp2
= false ;
19429 PyObject
* obj0
= 0 ;
19430 PyObject
* obj1
= 0 ;
19431 PyObject
* obj2
= 0 ;
19432 char * kwnames
[] = {
19433 (char *) "self",(char *) "text",(char *) "pt", NULL
19436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19438 if (!SWIG_IsOK(res1
)) {
19439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19441 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19443 arg2
= wxString_in_helper(obj1
);
19444 if (arg2
== NULL
) SWIG_fail
;
19449 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19453 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19454 wxPyEndAllowThreads(__tstate
);
19455 if (PyErr_Occurred()) SWIG_fail
;
19457 resultobj
= SWIG_Py_Void();
19472 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
= 0;
19474 wxDC
*arg1
= (wxDC
*) 0 ;
19475 wxString
*arg2
= 0 ;
19481 bool temp2
= false ;
19488 PyObject
* obj0
= 0 ;
19489 PyObject
* obj1
= 0 ;
19490 PyObject
* obj2
= 0 ;
19491 PyObject
* obj3
= 0 ;
19492 PyObject
* obj4
= 0 ;
19493 char * kwnames
[] = {
19494 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19499 if (!SWIG_IsOK(res1
)) {
19500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19502 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19504 arg2
= wxString_in_helper(obj1
);
19505 if (arg2
== NULL
) SWIG_fail
;
19508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19509 if (!SWIG_IsOK(ecode3
)) {
19510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19512 arg3
= static_cast< int >(val3
);
19513 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19514 if (!SWIG_IsOK(ecode4
)) {
19515 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19517 arg4
= static_cast< int >(val4
);
19518 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19519 if (!SWIG_IsOK(ecode5
)) {
19520 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19522 arg5
= static_cast< double >(val5
);
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19529 resultobj
= SWIG_Py_Void();
19544 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19545 PyObject
*resultobj
= 0;
19546 wxDC
*arg1
= (wxDC
*) 0 ;
19547 wxString
*arg2
= 0 ;
19548 wxPoint
*arg3
= 0 ;
19552 bool temp2
= false ;
19556 PyObject
* obj0
= 0 ;
19557 PyObject
* obj1
= 0 ;
19558 PyObject
* obj2
= 0 ;
19559 PyObject
* obj3
= 0 ;
19560 char * kwnames
[] = {
19561 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19566 if (!SWIG_IsOK(res1
)) {
19567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19569 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19571 arg2
= wxString_in_helper(obj1
);
19572 if (arg2
== NULL
) SWIG_fail
;
19577 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19579 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19580 if (!SWIG_IsOK(ecode4
)) {
19581 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19583 arg4
= static_cast< double >(val4
);
19585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19586 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19590 resultobj
= SWIG_Py_Void();
19605 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19606 PyObject
*resultobj
= 0;
19607 wxDC
*arg1
= (wxDC
*) 0 ;
19612 wxDC
*arg6
= (wxDC
*) 0 ;
19615 int arg9
= (int) wxCOPY
;
19616 bool arg10
= (bool) false ;
19617 int arg11
= (int) -1 ;
19618 int arg12
= (int) -1 ;
19644 PyObject
* obj0
= 0 ;
19645 PyObject
* obj1
= 0 ;
19646 PyObject
* obj2
= 0 ;
19647 PyObject
* obj3
= 0 ;
19648 PyObject
* obj4
= 0 ;
19649 PyObject
* obj5
= 0 ;
19650 PyObject
* obj6
= 0 ;
19651 PyObject
* obj7
= 0 ;
19652 PyObject
* obj8
= 0 ;
19653 PyObject
* obj9
= 0 ;
19654 PyObject
* obj10
= 0 ;
19655 PyObject
* obj11
= 0 ;
19656 char * kwnames
[] = {
19657 (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
19660 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
;
19661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19662 if (!SWIG_IsOK(res1
)) {
19663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19665 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19666 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19667 if (!SWIG_IsOK(ecode2
)) {
19668 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19670 arg2
= static_cast< int >(val2
);
19671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19672 if (!SWIG_IsOK(ecode3
)) {
19673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19675 arg3
= static_cast< int >(val3
);
19676 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19677 if (!SWIG_IsOK(ecode4
)) {
19678 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19680 arg4
= static_cast< int >(val4
);
19681 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19682 if (!SWIG_IsOK(ecode5
)) {
19683 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19685 arg5
= static_cast< int >(val5
);
19686 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19687 if (!SWIG_IsOK(res6
)) {
19688 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19690 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19691 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19692 if (!SWIG_IsOK(ecode7
)) {
19693 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19695 arg7
= static_cast< int >(val7
);
19696 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19697 if (!SWIG_IsOK(ecode8
)) {
19698 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19700 arg8
= static_cast< int >(val8
);
19702 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19703 if (!SWIG_IsOK(ecode9
)) {
19704 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19706 arg9
= static_cast< int >(val9
);
19709 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19710 if (!SWIG_IsOK(ecode10
)) {
19711 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19713 arg10
= static_cast< bool >(val10
);
19716 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19717 if (!SWIG_IsOK(ecode11
)) {
19718 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19720 arg11
= static_cast< int >(val11
);
19723 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19724 if (!SWIG_IsOK(ecode12
)) {
19725 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19727 arg12
= static_cast< int >(val12
);
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19744 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19745 PyObject
*resultobj
= 0;
19746 wxDC
*arg1
= (wxDC
*) 0 ;
19747 wxPoint
*arg2
= 0 ;
19749 wxDC
*arg4
= (wxDC
*) 0 ;
19750 wxPoint
*arg5
= 0 ;
19751 int arg6
= (int) wxCOPY
;
19752 bool arg7
= (bool) false ;
19753 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19754 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19768 PyObject
* obj0
= 0 ;
19769 PyObject
* obj1
= 0 ;
19770 PyObject
* obj2
= 0 ;
19771 PyObject
* obj3
= 0 ;
19772 PyObject
* obj4
= 0 ;
19773 PyObject
* obj5
= 0 ;
19774 PyObject
* obj6
= 0 ;
19775 PyObject
* obj7
= 0 ;
19776 char * kwnames
[] = {
19777 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19782 if (!SWIG_IsOK(res1
)) {
19783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19785 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19788 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19792 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19794 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19795 if (!SWIG_IsOK(res4
)) {
19796 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19798 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19801 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19804 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19805 if (!SWIG_IsOK(ecode6
)) {
19806 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19808 arg6
= static_cast< int >(val6
);
19811 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19812 if (!SWIG_IsOK(ecode7
)) {
19813 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19815 arg7
= static_cast< bool >(val7
);
19820 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19838 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19839 PyObject
*resultobj
= 0;
19840 wxDC
*arg1
= (wxDC
*) 0 ;
19841 wxRect
*arg2
= (wxRect
*) NULL
;
19842 SwigValueWrapper
<wxBitmap
> result
;
19847 PyObject
* obj0
= 0 ;
19848 PyObject
* obj1
= 0 ;
19849 char * kwnames
[] = {
19850 (char *) "self",(char *) "subrect", NULL
19853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19855 if (!SWIG_IsOK(res1
)) {
19856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
19858 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19860 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
19861 if (!SWIG_IsOK(res2
)) {
19862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
19864 arg2
= reinterpret_cast< wxRect
* >(argp2
);
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19872 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19879 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19880 PyObject
*resultobj
= 0;
19881 wxDC
*arg1
= (wxDC
*) 0 ;
19896 PyObject
* obj0
= 0 ;
19897 PyObject
* obj1
= 0 ;
19898 PyObject
* obj2
= 0 ;
19899 PyObject
* obj3
= 0 ;
19900 PyObject
* obj4
= 0 ;
19901 char * kwnames
[] = {
19902 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19907 if (!SWIG_IsOK(res1
)) {
19908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19910 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19912 if (!SWIG_IsOK(ecode2
)) {
19913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19915 arg2
= static_cast< int >(val2
);
19916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19917 if (!SWIG_IsOK(ecode3
)) {
19918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19920 arg3
= static_cast< int >(val3
);
19921 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19922 if (!SWIG_IsOK(ecode4
)) {
19923 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19925 arg4
= static_cast< int >(val4
);
19926 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19927 if (!SWIG_IsOK(ecode5
)) {
19928 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19930 arg5
= static_cast< int >(val5
);
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19937 resultobj
= SWIG_Py_Void();
19944 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19945 PyObject
*resultobj
= 0;
19946 wxDC
*arg1
= (wxDC
*) 0 ;
19947 wxPoint
*arg2
= 0 ;
19953 PyObject
* obj0
= 0 ;
19954 PyObject
* obj1
= 0 ;
19955 PyObject
* obj2
= 0 ;
19956 char * kwnames
[] = {
19957 (char *) "self",(char *) "pt",(char *) "sz", NULL
19960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19962 if (!SWIG_IsOK(res1
)) {
19963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19965 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19968 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19972 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19980 resultobj
= SWIG_Py_Void();
19987 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19988 PyObject
*resultobj
= 0;
19989 wxDC
*arg1
= (wxDC
*) 0 ;
19990 wxRegion
*arg2
= 0 ;
19995 PyObject
* obj0
= 0 ;
19996 PyObject
* obj1
= 0 ;
19997 char * kwnames
[] = {
19998 (char *) "self",(char *) "region", NULL
20001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20003 if (!SWIG_IsOK(res1
)) {
20004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20006 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20007 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20008 if (!SWIG_IsOK(res2
)) {
20009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20014 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= SWIG_Py_Void();
20028 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
= 0;
20030 wxDC
*arg1
= (wxDC
*) 0 ;
20035 PyObject
* obj0
= 0 ;
20036 PyObject
* obj1
= 0 ;
20037 char * kwnames
[] = {
20038 (char *) "self",(char *) "rect", NULL
20041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20043 if (!SWIG_IsOK(res1
)) {
20044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20049 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20053 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20057 resultobj
= SWIG_Py_Void();
20064 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
= 0;
20066 wxDC
*arg1
= (wxDC
*) 0 ;
20068 wxPoint
*arg3
= (wxPoint
*) 0 ;
20069 int arg4
= (int) 0 ;
20070 int arg5
= (int) 0 ;
20077 PyObject
* obj0
= 0 ;
20078 PyObject
* obj1
= 0 ;
20079 PyObject
* obj2
= 0 ;
20080 PyObject
* obj3
= 0 ;
20081 char * kwnames
[] = {
20082 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20087 if (!SWIG_IsOK(res1
)) {
20088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20090 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20092 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20093 if (arg3
== NULL
) SWIG_fail
;
20096 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20097 if (!SWIG_IsOK(ecode4
)) {
20098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20100 arg4
= static_cast< int >(val4
);
20103 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20104 if (!SWIG_IsOK(ecode5
)) {
20105 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20107 arg5
= static_cast< int >(val5
);
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20115 resultobj
= SWIG_Py_Void();
20117 if (arg3
) delete [] arg3
;
20122 if (arg3
) delete [] arg3
;
20128 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
= 0;
20130 wxDC
*arg1
= (wxDC
*) 0 ;
20132 wxPoint
*arg3
= (wxPoint
*) 0 ;
20133 int arg4
= (int) 0 ;
20134 int arg5
= (int) 0 ;
20135 int arg6
= (int) wxODDEVEN_RULE
;
20144 PyObject
* obj0
= 0 ;
20145 PyObject
* obj1
= 0 ;
20146 PyObject
* obj2
= 0 ;
20147 PyObject
* obj3
= 0 ;
20148 PyObject
* obj4
= 0 ;
20149 char * kwnames
[] = {
20150 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20155 if (!SWIG_IsOK(res1
)) {
20156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20158 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20160 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20161 if (arg3
== NULL
) SWIG_fail
;
20164 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20165 if (!SWIG_IsOK(ecode4
)) {
20166 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20168 arg4
= static_cast< int >(val4
);
20171 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20172 if (!SWIG_IsOK(ecode5
)) {
20173 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20175 arg5
= static_cast< int >(val5
);
20178 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20179 if (!SWIG_IsOK(ecode6
)) {
20180 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20182 arg6
= static_cast< int >(val6
);
20185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20186 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 resultobj
= SWIG_Py_Void();
20192 if (arg3
) delete [] arg3
;
20197 if (arg3
) delete [] arg3
;
20203 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
= 0;
20205 wxDC
*arg1
= (wxDC
*) 0 ;
20206 wxString
*arg2
= 0 ;
20208 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20209 int arg5
= (int) -1 ;
20212 bool temp2
= false ;
20218 PyObject
* obj0
= 0 ;
20219 PyObject
* obj1
= 0 ;
20220 PyObject
* obj2
= 0 ;
20221 PyObject
* obj3
= 0 ;
20222 PyObject
* obj4
= 0 ;
20223 char * kwnames
[] = {
20224 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20229 if (!SWIG_IsOK(res1
)) {
20230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20232 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20234 arg2
= wxString_in_helper(obj1
);
20235 if (arg2
== NULL
) SWIG_fail
;
20240 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20243 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20244 if (!SWIG_IsOK(ecode4
)) {
20245 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20247 arg4
= static_cast< int >(val4
);
20250 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20251 if (!SWIG_IsOK(ecode5
)) {
20252 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20254 arg5
= static_cast< int >(val5
);
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20258 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20262 resultobj
= SWIG_Py_Void();
20277 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
= 0;
20279 wxDC
*arg1
= (wxDC
*) 0 ;
20280 wxString
*arg2
= 0 ;
20281 wxBitmap
*arg3
= 0 ;
20283 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20284 int arg6
= (int) -1 ;
20288 bool temp2
= false ;
20296 PyObject
* obj0
= 0 ;
20297 PyObject
* obj1
= 0 ;
20298 PyObject
* obj2
= 0 ;
20299 PyObject
* obj3
= 0 ;
20300 PyObject
* obj4
= 0 ;
20301 PyObject
* obj5
= 0 ;
20302 char * kwnames
[] = {
20303 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20308 if (!SWIG_IsOK(res1
)) {
20309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20311 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20313 arg2
= wxString_in_helper(obj1
);
20314 if (arg2
== NULL
) SWIG_fail
;
20317 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20318 if (!SWIG_IsOK(res3
)) {
20319 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20324 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20327 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20330 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20331 if (!SWIG_IsOK(ecode5
)) {
20332 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20334 arg5
= static_cast< int >(val5
);
20337 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20338 if (!SWIG_IsOK(ecode6
)) {
20339 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20341 arg6
= static_cast< int >(val6
);
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20346 wxPyEndAllowThreads(__tstate
);
20347 if (PyErr_Occurred()) SWIG_fail
;
20349 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20364 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
= 0;
20366 wxDC
*arg1
= (wxDC
*) 0 ;
20368 wxPoint
*arg3
= (wxPoint
*) 0 ;
20371 PyObject
* obj0
= 0 ;
20372 PyObject
* obj1
= 0 ;
20373 char * kwnames
[] = {
20374 (char *) "self",(char *) "points", NULL
20377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20379 if (!SWIG_IsOK(res1
)) {
20380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20382 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20384 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20385 if (arg3
== NULL
) SWIG_fail
;
20388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 (arg1
)->DrawSpline(arg2
,arg3
);
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20393 resultobj
= SWIG_Py_Void();
20395 if (arg3
) delete [] arg3
;
20400 if (arg3
) delete [] arg3
;
20406 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20407 PyObject
*resultobj
= 0;
20408 wxDC
*arg1
= (wxDC
*) 0 ;
20411 PyObject
*swig_obj
[1] ;
20413 if (!args
) SWIG_fail
;
20414 swig_obj
[0] = args
;
20415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20416 if (!SWIG_IsOK(res1
)) {
20417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20419 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= SWIG_Py_Void();
20433 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
= 0;
20435 wxDC
*arg1
= (wxDC
*) 0 ;
20436 wxString
*arg2
= 0 ;
20440 bool temp2
= false ;
20441 PyObject
* obj0
= 0 ;
20442 PyObject
* obj1
= 0 ;
20443 char * kwnames
[] = {
20444 (char *) "self",(char *) "message", NULL
20447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20449 if (!SWIG_IsOK(res1
)) {
20450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20452 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20454 arg2
= wxString_in_helper(obj1
);
20455 if (arg2
== NULL
) SWIG_fail
;
20459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20460 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20481 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20482 PyObject
*resultobj
= 0;
20483 wxDC
*arg1
= (wxDC
*) 0 ;
20486 PyObject
*swig_obj
[1] ;
20488 if (!args
) SWIG_fail
;
20489 swig_obj
[0] = args
;
20490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20491 if (!SWIG_IsOK(res1
)) {
20492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20494 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20498 wxPyEndAllowThreads(__tstate
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20501 resultobj
= SWIG_Py_Void();
20508 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20509 PyObject
*resultobj
= 0;
20510 wxDC
*arg1
= (wxDC
*) 0 ;
20513 PyObject
*swig_obj
[1] ;
20515 if (!args
) SWIG_fail
;
20516 swig_obj
[0] = args
;
20517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20518 if (!SWIG_IsOK(res1
)) {
20519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20521 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 (arg1
)->StartPage();
20525 wxPyEndAllowThreads(__tstate
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20528 resultobj
= SWIG_Py_Void();
20535 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20536 PyObject
*resultobj
= 0;
20537 wxDC
*arg1
= (wxDC
*) 0 ;
20540 PyObject
*swig_obj
[1] ;
20542 if (!args
) SWIG_fail
;
20543 swig_obj
[0] = args
;
20544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20545 if (!SWIG_IsOK(res1
)) {
20546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20548 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20552 wxPyEndAllowThreads(__tstate
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20555 resultobj
= SWIG_Py_Void();
20562 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20563 PyObject
*resultobj
= 0;
20564 wxDC
*arg1
= (wxDC
*) 0 ;
20570 PyObject
* obj0
= 0 ;
20571 PyObject
* obj1
= 0 ;
20572 char * kwnames
[] = {
20573 (char *) "self",(char *) "font", NULL
20576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20578 if (!SWIG_IsOK(res1
)) {
20579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20581 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20583 if (!SWIG_IsOK(res2
)) {
20584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20589 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20592 (arg1
)->SetFont((wxFont
const &)*arg2
);
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= SWIG_Py_Void();
20603 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20604 PyObject
*resultobj
= 0;
20605 wxDC
*arg1
= (wxDC
*) 0 ;
20611 PyObject
* obj0
= 0 ;
20612 PyObject
* obj1
= 0 ;
20613 char * kwnames
[] = {
20614 (char *) "self",(char *) "pen", NULL
20617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20619 if (!SWIG_IsOK(res1
)) {
20620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20622 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20623 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20624 if (!SWIG_IsOK(res2
)) {
20625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20630 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 (arg1
)->SetPen((wxPen
const &)*arg2
);
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20637 resultobj
= SWIG_Py_Void();
20644 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20645 PyObject
*resultobj
= 0;
20646 wxDC
*arg1
= (wxDC
*) 0 ;
20647 wxBrush
*arg2
= 0 ;
20652 PyObject
* obj0
= 0 ;
20653 PyObject
* obj1
= 0 ;
20654 char * kwnames
[] = {
20655 (char *) "self",(char *) "brush", NULL
20658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20660 if (!SWIG_IsOK(res1
)) {
20661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20663 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20664 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20665 if (!SWIG_IsOK(res2
)) {
20666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20671 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20674 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20675 wxPyEndAllowThreads(__tstate
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20678 resultobj
= SWIG_Py_Void();
20685 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20686 PyObject
*resultobj
= 0;
20687 wxDC
*arg1
= (wxDC
*) 0 ;
20688 wxBrush
*arg2
= 0 ;
20693 PyObject
* obj0
= 0 ;
20694 PyObject
* obj1
= 0 ;
20695 char * kwnames
[] = {
20696 (char *) "self",(char *) "brush", NULL
20699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20701 if (!SWIG_IsOK(res1
)) {
20702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20704 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20706 if (!SWIG_IsOK(res2
)) {
20707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20712 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20716 wxPyEndAllowThreads(__tstate
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20719 resultobj
= SWIG_Py_Void();
20726 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
= 0;
20728 wxDC
*arg1
= (wxDC
*) 0 ;
20734 PyObject
* obj0
= 0 ;
20735 PyObject
* obj1
= 0 ;
20736 char * kwnames
[] = {
20737 (char *) "self",(char *) "mode", NULL
20740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20742 if (!SWIG_IsOK(res1
)) {
20743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20745 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20747 if (!SWIG_IsOK(ecode2
)) {
20748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20750 arg2
= static_cast< int >(val2
);
20752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20753 (arg1
)->SetBackgroundMode(arg2
);
20754 wxPyEndAllowThreads(__tstate
);
20755 if (PyErr_Occurred()) SWIG_fail
;
20757 resultobj
= SWIG_Py_Void();
20764 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20765 PyObject
*resultobj
= 0;
20766 wxDC
*arg1
= (wxDC
*) 0 ;
20767 wxPalette
*arg2
= 0 ;
20772 PyObject
* obj0
= 0 ;
20773 PyObject
* obj1
= 0 ;
20774 char * kwnames
[] = {
20775 (char *) "self",(char *) "palette", NULL
20778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20780 if (!SWIG_IsOK(res1
)) {
20781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20783 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20785 if (!SWIG_IsOK(res2
)) {
20786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20791 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20794 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20798 resultobj
= SWIG_Py_Void();
20805 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20806 PyObject
*resultobj
= 0;
20807 wxDC
*arg1
= (wxDC
*) 0 ;
20810 PyObject
*swig_obj
[1] ;
20812 if (!args
) SWIG_fail
;
20813 swig_obj
[0] = args
;
20814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20815 if (!SWIG_IsOK(res1
)) {
20816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20818 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 (arg1
)->DestroyClippingRegion();
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 resultobj
= SWIG_Py_Void();
20832 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20833 PyObject
*resultobj
= 0;
20834 wxDC
*arg1
= (wxDC
*) 0 ;
20835 int *arg2
= (int *) 0 ;
20836 int *arg3
= (int *) 0 ;
20837 int *arg4
= (int *) 0 ;
20838 int *arg5
= (int *) 0 ;
20842 int res2
= SWIG_TMPOBJ
;
20844 int res3
= SWIG_TMPOBJ
;
20846 int res4
= SWIG_TMPOBJ
;
20848 int res5
= SWIG_TMPOBJ
;
20849 PyObject
*swig_obj
[1] ;
20855 if (!args
) SWIG_fail
;
20856 swig_obj
[0] = args
;
20857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20858 if (!SWIG_IsOK(res1
)) {
20859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20861 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 resultobj
= SWIG_Py_Void();
20869 if (SWIG_IsTmpObj(res2
)) {
20870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20872 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20875 if (SWIG_IsTmpObj(res3
)) {
20876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20878 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20881 if (SWIG_IsTmpObj(res4
)) {
20882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20884 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20887 if (SWIG_IsTmpObj(res5
)) {
20888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20890 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20899 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20900 PyObject
*resultobj
= 0;
20901 wxDC
*arg1
= (wxDC
*) 0 ;
20905 PyObject
*swig_obj
[1] ;
20907 if (!args
) SWIG_fail
;
20908 swig_obj
[0] = args
;
20909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20910 if (!SWIG_IsOK(res1
)) {
20911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20913 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= wxDC_GetClippingRect(arg1
);
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20920 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20927 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20928 PyObject
*resultobj
= 0;
20929 wxDC
*arg1
= (wxDC
*) 0 ;
20933 PyObject
*swig_obj
[1] ;
20935 if (!args
) SWIG_fail
;
20936 swig_obj
[0] = args
;
20937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20938 if (!SWIG_IsOK(res1
)) {
20939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20941 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= SWIG_From_int(static_cast< int >(result
));
20955 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20956 PyObject
*resultobj
= 0;
20957 wxDC
*arg1
= (wxDC
*) 0 ;
20961 PyObject
*swig_obj
[1] ;
20963 if (!args
) SWIG_fail
;
20964 swig_obj
[0] = args
;
20965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20966 if (!SWIG_IsOK(res1
)) {
20967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20969 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20976 resultobj
= SWIG_From_int(static_cast< int >(result
));
20983 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20984 PyObject
*resultobj
= 0;
20985 wxDC
*arg1
= (wxDC
*) 0 ;
20986 wxString
*arg2
= 0 ;
20987 int *arg3
= (int *) 0 ;
20988 int *arg4
= (int *) 0 ;
20991 bool temp2
= false ;
20993 int res3
= SWIG_TMPOBJ
;
20995 int res4
= SWIG_TMPOBJ
;
20996 PyObject
* obj0
= 0 ;
20997 PyObject
* obj1
= 0 ;
20998 char * kwnames
[] = {
20999 (char *) "self",(char *) "string", NULL
21004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21006 if (!SWIG_IsOK(res1
)) {
21007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21009 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21011 arg2
= wxString_in_helper(obj1
);
21012 if (arg2
== NULL
) SWIG_fail
;
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21021 resultobj
= SWIG_Py_Void();
21022 if (SWIG_IsTmpObj(res3
)) {
21023 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21025 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21026 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21028 if (SWIG_IsTmpObj(res4
)) {
21029 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21031 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21032 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21048 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
= 0;
21050 wxDC
*arg1
= (wxDC
*) 0 ;
21051 wxString
*arg2
= 0 ;
21052 int *arg3
= (int *) 0 ;
21053 int *arg4
= (int *) 0 ;
21054 int *arg5
= (int *) 0 ;
21055 int *arg6
= (int *) 0 ;
21056 wxFont
*arg7
= (wxFont
*) NULL
;
21059 bool temp2
= false ;
21061 int res3
= SWIG_TMPOBJ
;
21063 int res4
= SWIG_TMPOBJ
;
21065 int res5
= SWIG_TMPOBJ
;
21067 int res6
= SWIG_TMPOBJ
;
21070 PyObject
* obj0
= 0 ;
21071 PyObject
* obj1
= 0 ;
21072 PyObject
* obj2
= 0 ;
21073 char * kwnames
[] = {
21074 (char *) "self",(char *) "string",(char *) "font", NULL
21081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21083 if (!SWIG_IsOK(res1
)) {
21084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21086 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21088 arg2
= wxString_in_helper(obj1
);
21089 if (arg2
== NULL
) SWIG_fail
;
21093 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21094 if (!SWIG_IsOK(res7
)) {
21095 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21097 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21101 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 resultobj
= SWIG_Py_Void();
21106 if (SWIG_IsTmpObj(res3
)) {
21107 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21109 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21110 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21112 if (SWIG_IsTmpObj(res4
)) {
21113 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21115 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21118 if (SWIG_IsTmpObj(res5
)) {
21119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21121 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21124 if (SWIG_IsTmpObj(res6
)) {
21125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21127 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21144 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21145 PyObject
*resultobj
= 0;
21146 wxDC
*arg1
= (wxDC
*) 0 ;
21147 wxString
*arg2
= 0 ;
21148 int *arg3
= (int *) 0 ;
21149 int *arg4
= (int *) 0 ;
21150 int *arg5
= (int *) 0 ;
21151 wxFont
*arg6
= (wxFont
*) NULL
;
21154 bool temp2
= false ;
21156 int res3
= SWIG_TMPOBJ
;
21158 int res4
= SWIG_TMPOBJ
;
21160 int res5
= SWIG_TMPOBJ
;
21163 PyObject
* obj0
= 0 ;
21164 PyObject
* obj1
= 0 ;
21165 PyObject
* obj2
= 0 ;
21166 char * kwnames
[] = {
21167 (char *) "self",(char *) "text",(char *) "font", NULL
21173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21175 if (!SWIG_IsOK(res1
)) {
21176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21178 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21180 arg2
= wxString_in_helper(obj1
);
21181 if (arg2
== NULL
) SWIG_fail
;
21185 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21186 if (!SWIG_IsOK(res6
)) {
21187 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21189 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21197 resultobj
= SWIG_Py_Void();
21198 if (SWIG_IsTmpObj(res3
)) {
21199 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21201 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21202 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21204 if (SWIG_IsTmpObj(res4
)) {
21205 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21207 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21208 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21210 if (SWIG_IsTmpObj(res5
)) {
21211 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21213 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21214 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21230 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21231 PyObject
*resultobj
= 0;
21232 wxDC
*arg1
= (wxDC
*) 0 ;
21233 wxString
*arg2
= 0 ;
21237 bool temp2
= false ;
21238 PyObject
* obj0
= 0 ;
21239 PyObject
* obj1
= 0 ;
21240 char * kwnames
[] = {
21241 (char *) "self",(char *) "text", NULL
21244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21246 if (!SWIG_IsOK(res1
)) {
21247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21249 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21251 arg2
= wxString_in_helper(obj1
);
21252 if (arg2
== NULL
) SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21262 resultobj
= wxArrayInt2PyList_helper(result
);
21278 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21279 PyObject
*resultobj
= 0;
21280 wxDC
*arg1
= (wxDC
*) 0 ;
21284 PyObject
*swig_obj
[1] ;
21286 if (!args
) SWIG_fail
;
21287 swig_obj
[0] = args
;
21288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21289 if (!SWIG_IsOK(res1
)) {
21290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= (arg1
)->GetSize();
21296 wxPyEndAllowThreads(__tstate
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21299 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21306 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21307 PyObject
*resultobj
= 0;
21308 wxDC
*arg1
= (wxDC
*) 0 ;
21309 int *arg2
= (int *) 0 ;
21310 int *arg3
= (int *) 0 ;
21314 int res2
= SWIG_TMPOBJ
;
21316 int res3
= SWIG_TMPOBJ
;
21317 PyObject
*swig_obj
[1] ;
21321 if (!args
) SWIG_fail
;
21322 swig_obj
[0] = args
;
21323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21324 if (!SWIG_IsOK(res1
)) {
21325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21327 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21330 (arg1
)->GetSize(arg2
,arg3
);
21331 wxPyEndAllowThreads(__tstate
);
21332 if (PyErr_Occurred()) SWIG_fail
;
21334 resultobj
= SWIG_Py_Void();
21335 if (SWIG_IsTmpObj(res2
)) {
21336 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21338 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21339 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21341 if (SWIG_IsTmpObj(res3
)) {
21342 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21344 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21345 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21353 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21354 PyObject
*resultobj
= 0;
21355 wxDC
*arg1
= (wxDC
*) 0 ;
21359 PyObject
*swig_obj
[1] ;
21361 if (!args
) SWIG_fail
;
21362 swig_obj
[0] = args
;
21363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21364 if (!SWIG_IsOK(res1
)) {
21365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21367 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21381 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21382 PyObject
*resultobj
= 0;
21383 wxDC
*arg1
= (wxDC
*) 0 ;
21384 int *arg2
= (int *) 0 ;
21385 int *arg3
= (int *) 0 ;
21389 int res2
= SWIG_TMPOBJ
;
21391 int res3
= SWIG_TMPOBJ
;
21392 PyObject
*swig_obj
[1] ;
21396 if (!args
) SWIG_fail
;
21397 swig_obj
[0] = args
;
21398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21399 if (!SWIG_IsOK(res1
)) {
21400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21402 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21405 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= SWIG_Py_Void();
21410 if (SWIG_IsTmpObj(res2
)) {
21411 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21413 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21416 if (SWIG_IsTmpObj(res3
)) {
21417 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21419 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21420 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21428 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21429 PyObject
*resultobj
= 0;
21430 wxDC
*arg1
= (wxDC
*) 0 ;
21437 PyObject
* obj0
= 0 ;
21438 PyObject
* obj1
= 0 ;
21439 char * kwnames
[] = {
21440 (char *) "self",(char *) "x", NULL
21443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21445 if (!SWIG_IsOK(res1
)) {
21446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21448 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21450 if (!SWIG_IsOK(ecode2
)) {
21451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21453 arg2
= static_cast< int >(val2
);
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21460 resultobj
= SWIG_From_int(static_cast< int >(result
));
21467 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21468 PyObject
*resultobj
= 0;
21469 wxDC
*arg1
= (wxDC
*) 0 ;
21476 PyObject
* obj0
= 0 ;
21477 PyObject
* obj1
= 0 ;
21478 char * kwnames
[] = {
21479 (char *) "self",(char *) "y", NULL
21482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21484 if (!SWIG_IsOK(res1
)) {
21485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21489 if (!SWIG_IsOK(ecode2
)) {
21490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21492 arg2
= static_cast< int >(val2
);
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21499 resultobj
= SWIG_From_int(static_cast< int >(result
));
21506 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
= 0;
21508 wxDC
*arg1
= (wxDC
*) 0 ;
21515 PyObject
* obj0
= 0 ;
21516 PyObject
* obj1
= 0 ;
21517 char * kwnames
[] = {
21518 (char *) "self",(char *) "x", NULL
21521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21523 if (!SWIG_IsOK(res1
)) {
21524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21526 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21528 if (!SWIG_IsOK(ecode2
)) {
21529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21531 arg2
= static_cast< int >(val2
);
21533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21534 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21535 wxPyEndAllowThreads(__tstate
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21538 resultobj
= SWIG_From_int(static_cast< int >(result
));
21545 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21546 PyObject
*resultobj
= 0;
21547 wxDC
*arg1
= (wxDC
*) 0 ;
21554 PyObject
* obj0
= 0 ;
21555 PyObject
* obj1
= 0 ;
21556 char * kwnames
[] = {
21557 (char *) "self",(char *) "y", NULL
21560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21562 if (!SWIG_IsOK(res1
)) {
21563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21565 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21567 if (!SWIG_IsOK(ecode2
)) {
21568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21570 arg2
= static_cast< int >(val2
);
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21577 resultobj
= SWIG_From_int(static_cast< int >(result
));
21584 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
= 0;
21586 wxDC
*arg1
= (wxDC
*) 0 ;
21593 PyObject
* obj0
= 0 ;
21594 PyObject
* obj1
= 0 ;
21595 char * kwnames
[] = {
21596 (char *) "self",(char *) "x", NULL
21599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21601 if (!SWIG_IsOK(res1
)) {
21602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21606 if (!SWIG_IsOK(ecode2
)) {
21607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21609 arg2
= static_cast< int >(val2
);
21611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21612 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21616 resultobj
= SWIG_From_int(static_cast< int >(result
));
21623 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21624 PyObject
*resultobj
= 0;
21625 wxDC
*arg1
= (wxDC
*) 0 ;
21632 PyObject
* obj0
= 0 ;
21633 PyObject
* obj1
= 0 ;
21634 char * kwnames
[] = {
21635 (char *) "self",(char *) "y", NULL
21638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21640 if (!SWIG_IsOK(res1
)) {
21641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21645 if (!SWIG_IsOK(ecode2
)) {
21646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21648 arg2
= static_cast< int >(val2
);
21650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21651 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= SWIG_From_int(static_cast< int >(result
));
21662 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
= 0;
21664 wxDC
*arg1
= (wxDC
*) 0 ;
21671 PyObject
* obj0
= 0 ;
21672 PyObject
* obj1
= 0 ;
21673 char * kwnames
[] = {
21674 (char *) "self",(char *) "x", NULL
21677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21679 if (!SWIG_IsOK(res1
)) {
21680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21682 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21684 if (!SWIG_IsOK(ecode2
)) {
21685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21687 arg2
= static_cast< int >(val2
);
21689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21690 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21691 wxPyEndAllowThreads(__tstate
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21694 resultobj
= SWIG_From_int(static_cast< int >(result
));
21701 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
= 0;
21703 wxDC
*arg1
= (wxDC
*) 0 ;
21710 PyObject
* obj0
= 0 ;
21711 PyObject
* obj1
= 0 ;
21712 char * kwnames
[] = {
21713 (char *) "self",(char *) "y", NULL
21716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21718 if (!SWIG_IsOK(res1
)) {
21719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21721 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21723 if (!SWIG_IsOK(ecode2
)) {
21724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21726 arg2
= static_cast< int >(val2
);
21728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21733 resultobj
= SWIG_From_int(static_cast< int >(result
));
21740 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21741 PyObject
*resultobj
= 0;
21742 wxDC
*arg1
= (wxDC
*) 0 ;
21746 PyObject
*swig_obj
[1] ;
21748 if (!args
) SWIG_fail
;
21749 swig_obj
[0] = args
;
21750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21751 if (!SWIG_IsOK(res1
)) {
21752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21758 wxPyEndAllowThreads(__tstate
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21770 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21771 PyObject
*resultobj
= 0;
21772 wxDC
*arg1
= (wxDC
*) 0 ;
21776 PyObject
*swig_obj
[1] ;
21778 if (!args
) SWIG_fail
;
21779 swig_obj
[0] = args
;
21780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21781 if (!SWIG_IsOK(res1
)) {
21782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21784 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21788 wxPyEndAllowThreads(__tstate
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21800 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21801 PyObject
*resultobj
= 0;
21802 wxDC
*arg1
= (wxDC
*) 0 ;
21806 PyObject
*swig_obj
[1] ;
21808 if (!args
) SWIG_fail
;
21809 swig_obj
[0] = args
;
21810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21811 if (!SWIG_IsOK(res1
)) {
21812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21814 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= SWIG_From_int(static_cast< int >(result
));
21828 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21829 PyObject
*resultobj
= 0;
21830 wxDC
*arg1
= (wxDC
*) 0 ;
21834 PyObject
*swig_obj
[1] ;
21836 if (!args
) SWIG_fail
;
21837 swig_obj
[0] = args
;
21838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21839 if (!SWIG_IsOK(res1
)) {
21840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 result
= ((wxDC
const *)arg1
)->GetPPI();
21846 wxPyEndAllowThreads(__tstate
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21849 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21856 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21857 PyObject
*resultobj
= 0;
21858 wxDC
*arg1
= (wxDC
*) 0 ;
21862 PyObject
*swig_obj
[1] ;
21864 if (!args
) SWIG_fail
;
21865 swig_obj
[0] = args
;
21866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21867 if (!SWIG_IsOK(res1
)) {
21868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21870 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21874 wxPyEndAllowThreads(__tstate
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21886 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21887 PyObject
*resultobj
= 0;
21888 wxDC
*arg1
= (wxDC
*) 0 ;
21892 PyObject
*swig_obj
[1] ;
21894 if (!args
) SWIG_fail
;
21895 swig_obj
[0] = args
;
21896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21897 if (!SWIG_IsOK(res1
)) {
21898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21900 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21903 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21904 wxPyEndAllowThreads(__tstate
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21907 resultobj
= SWIG_From_int(static_cast< int >(result
));
21914 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21915 PyObject
*resultobj
= 0;
21916 wxDC
*arg1
= (wxDC
*) 0 ;
21917 wxBrush
*result
= 0 ;
21920 PyObject
*swig_obj
[1] ;
21922 if (!args
) SWIG_fail
;
21923 swig_obj
[0] = args
;
21924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21925 if (!SWIG_IsOK(res1
)) {
21926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21928 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21932 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21933 result
= (wxBrush
*) &_result_ref
;
21935 wxPyEndAllowThreads(__tstate
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21939 wxBrush
* resultptr
= new wxBrush(*result
);
21940 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21948 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21949 PyObject
*resultobj
= 0;
21950 wxDC
*arg1
= (wxDC
*) 0 ;
21951 wxBrush
*result
= 0 ;
21954 PyObject
*swig_obj
[1] ;
21956 if (!args
) SWIG_fail
;
21957 swig_obj
[0] = args
;
21958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21959 if (!SWIG_IsOK(res1
)) {
21960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21962 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21967 result
= (wxBrush
*) &_result_ref
;
21969 wxPyEndAllowThreads(__tstate
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21973 wxBrush
* resultptr
= new wxBrush(*result
);
21974 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21982 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21983 PyObject
*resultobj
= 0;
21984 wxDC
*arg1
= (wxDC
*) 0 ;
21985 wxFont
*result
= 0 ;
21988 PyObject
*swig_obj
[1] ;
21990 if (!args
) SWIG_fail
;
21991 swig_obj
[0] = args
;
21992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21993 if (!SWIG_IsOK(res1
)) {
21994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22001 result
= (wxFont
*) &_result_ref
;
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22007 wxFont
* resultptr
= new wxFont(*result
);
22008 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22016 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22017 PyObject
*resultobj
= 0;
22018 wxDC
*arg1
= (wxDC
*) 0 ;
22019 wxPen
*result
= 0 ;
22022 PyObject
*swig_obj
[1] ;
22024 if (!args
) SWIG_fail
;
22025 swig_obj
[0] = args
;
22026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22027 if (!SWIG_IsOK(res1
)) {
22028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22030 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22035 result
= (wxPen
*) &_result_ref
;
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22041 wxPen
* resultptr
= new wxPen(*result
);
22042 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22050 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22051 PyObject
*resultobj
= 0;
22052 wxDC
*arg1
= (wxDC
*) 0 ;
22053 wxColour
*result
= 0 ;
22056 PyObject
*swig_obj
[1] ;
22058 if (!args
) SWIG_fail
;
22059 swig_obj
[0] = args
;
22060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22061 if (!SWIG_IsOK(res1
)) {
22062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22064 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22068 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22069 result
= (wxColour
*) &_result_ref
;
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22081 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22082 PyObject
*resultobj
= 0;
22083 wxDC
*arg1
= (wxDC
*) 0 ;
22084 wxColour
*result
= 0 ;
22087 PyObject
*swig_obj
[1] ;
22089 if (!args
) SWIG_fail
;
22090 swig_obj
[0] = args
;
22091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22092 if (!SWIG_IsOK(res1
)) {
22093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22095 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22100 result
= (wxColour
*) &_result_ref
;
22102 wxPyEndAllowThreads(__tstate
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22112 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22113 PyObject
*resultobj
= 0;
22114 wxDC
*arg1
= (wxDC
*) 0 ;
22115 wxColour
*arg2
= 0 ;
22119 PyObject
* obj0
= 0 ;
22120 PyObject
* obj1
= 0 ;
22121 char * kwnames
[] = {
22122 (char *) "self",(char *) "colour", NULL
22125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22127 if (!SWIG_IsOK(res1
)) {
22128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22130 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22133 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22137 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22138 wxPyEndAllowThreads(__tstate
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22141 resultobj
= SWIG_Py_Void();
22148 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22149 PyObject
*resultobj
= 0;
22150 wxDC
*arg1
= (wxDC
*) 0 ;
22151 wxColour
*arg2
= 0 ;
22155 PyObject
* obj0
= 0 ;
22156 PyObject
* obj1
= 0 ;
22157 char * kwnames
[] = {
22158 (char *) "self",(char *) "colour", NULL
22161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22163 if (!SWIG_IsOK(res1
)) {
22164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22169 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= SWIG_Py_Void();
22184 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22185 PyObject
*resultobj
= 0;
22186 wxDC
*arg1
= (wxDC
*) 0 ;
22190 PyObject
*swig_obj
[1] ;
22192 if (!args
) SWIG_fail
;
22193 swig_obj
[0] = args
;
22194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22195 if (!SWIG_IsOK(res1
)) {
22196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22202 wxPyEndAllowThreads(__tstate
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22205 resultobj
= SWIG_From_int(static_cast< int >(result
));
22212 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22213 PyObject
*resultobj
= 0;
22214 wxDC
*arg1
= (wxDC
*) 0 ;
22220 PyObject
* obj0
= 0 ;
22221 PyObject
* obj1
= 0 ;
22222 char * kwnames
[] = {
22223 (char *) "self",(char *) "mode", NULL
22226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22228 if (!SWIG_IsOK(res1
)) {
22229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22233 if (!SWIG_IsOK(ecode2
)) {
22234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22236 arg2
= static_cast< int >(val2
);
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 (arg1
)->SetMapMode(arg2
);
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22243 resultobj
= SWIG_Py_Void();
22250 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22251 PyObject
*resultobj
= 0;
22252 wxDC
*arg1
= (wxDC
*) 0 ;
22253 double *arg2
= (double *) 0 ;
22254 double *arg3
= (double *) 0 ;
22258 int res2
= SWIG_TMPOBJ
;
22260 int res3
= SWIG_TMPOBJ
;
22261 PyObject
*swig_obj
[1] ;
22265 if (!args
) SWIG_fail
;
22266 swig_obj
[0] = args
;
22267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22268 if (!SWIG_IsOK(res1
)) {
22269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22271 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22278 resultobj
= SWIG_Py_Void();
22279 if (SWIG_IsTmpObj(res2
)) {
22280 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22282 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22283 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22285 if (SWIG_IsTmpObj(res3
)) {
22286 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22288 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22289 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22297 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
= 0;
22299 wxDC
*arg1
= (wxDC
*) 0 ;
22308 PyObject
* obj0
= 0 ;
22309 PyObject
* obj1
= 0 ;
22310 PyObject
* obj2
= 0 ;
22311 char * kwnames
[] = {
22312 (char *) "self",(char *) "x",(char *) "y", NULL
22315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22317 if (!SWIG_IsOK(res1
)) {
22318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22320 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22321 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22322 if (!SWIG_IsOK(ecode2
)) {
22323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22325 arg2
= static_cast< double >(val2
);
22326 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22327 if (!SWIG_IsOK(ecode3
)) {
22328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22330 arg3
= static_cast< double >(val3
);
22332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 (arg1
)->SetUserScale(arg2
,arg3
);
22334 wxPyEndAllowThreads(__tstate
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22337 resultobj
= SWIG_Py_Void();
22344 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22345 PyObject
*resultobj
= 0;
22346 wxDC
*arg1
= (wxDC
*) 0 ;
22347 double *arg2
= (double *) 0 ;
22348 double *arg3
= (double *) 0 ;
22352 int res2
= SWIG_TMPOBJ
;
22354 int res3
= SWIG_TMPOBJ
;
22355 PyObject
*swig_obj
[1] ;
22359 if (!args
) SWIG_fail
;
22360 swig_obj
[0] = args
;
22361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22362 if (!SWIG_IsOK(res1
)) {
22363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22365 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 (arg1
)->GetLogicalScale(arg2
,arg3
);
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 resultobj
= SWIG_Py_Void();
22373 if (SWIG_IsTmpObj(res2
)) {
22374 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22376 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22377 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22379 if (SWIG_IsTmpObj(res3
)) {
22380 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22382 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22391 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22392 PyObject
*resultobj
= 0;
22393 wxDC
*arg1
= (wxDC
*) 0 ;
22402 PyObject
* obj0
= 0 ;
22403 PyObject
* obj1
= 0 ;
22404 PyObject
* obj2
= 0 ;
22405 char * kwnames
[] = {
22406 (char *) "self",(char *) "x",(char *) "y", NULL
22409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22411 if (!SWIG_IsOK(res1
)) {
22412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22415 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22416 if (!SWIG_IsOK(ecode2
)) {
22417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22419 arg2
= static_cast< double >(val2
);
22420 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22421 if (!SWIG_IsOK(ecode3
)) {
22422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22424 arg3
= static_cast< double >(val3
);
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 (arg1
)->SetLogicalScale(arg2
,arg3
);
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22431 resultobj
= SWIG_Py_Void();
22438 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22439 PyObject
*resultobj
= 0;
22440 wxDC
*arg1
= (wxDC
*) 0 ;
22444 PyObject
*swig_obj
[1] ;
22446 if (!args
) SWIG_fail
;
22447 swig_obj
[0] = args
;
22448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22449 if (!SWIG_IsOK(res1
)) {
22450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22452 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22455 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22459 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22466 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22467 PyObject
*resultobj
= 0;
22468 wxDC
*arg1
= (wxDC
*) 0 ;
22469 int *arg2
= (int *) 0 ;
22470 int *arg3
= (int *) 0 ;
22474 int res2
= SWIG_TMPOBJ
;
22476 int res3
= SWIG_TMPOBJ
;
22477 PyObject
*swig_obj
[1] ;
22481 if (!args
) SWIG_fail
;
22482 swig_obj
[0] = args
;
22483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22484 if (!SWIG_IsOK(res1
)) {
22485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22490 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22491 wxPyEndAllowThreads(__tstate
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22494 resultobj
= SWIG_Py_Void();
22495 if (SWIG_IsTmpObj(res2
)) {
22496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22498 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22501 if (SWIG_IsTmpObj(res3
)) {
22502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22504 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22513 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22514 PyObject
*resultobj
= 0;
22515 wxDC
*arg1
= (wxDC
*) 0 ;
22524 PyObject
* obj0
= 0 ;
22525 PyObject
* obj1
= 0 ;
22526 PyObject
* obj2
= 0 ;
22527 char * kwnames
[] = {
22528 (char *) "self",(char *) "x",(char *) "y", NULL
22531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22533 if (!SWIG_IsOK(res1
)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22536 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22538 if (!SWIG_IsOK(ecode2
)) {
22539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22541 arg2
= static_cast< int >(val2
);
22542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22543 if (!SWIG_IsOK(ecode3
)) {
22544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22546 arg3
= static_cast< int >(val3
);
22548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22549 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22553 resultobj
= SWIG_Py_Void();
22560 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22561 PyObject
*resultobj
= 0;
22562 wxDC
*arg1
= (wxDC
*) 0 ;
22563 wxPoint
*arg2
= 0 ;
22567 PyObject
* obj0
= 0 ;
22568 PyObject
* obj1
= 0 ;
22569 char * kwnames
[] = {
22570 (char *) "self",(char *) "point", NULL
22573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22575 if (!SWIG_IsOK(res1
)) {
22576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22581 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 resultobj
= SWIG_Py_Void();
22596 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22597 PyObject
*resultobj
= 0;
22598 wxDC
*arg1
= (wxDC
*) 0 ;
22602 PyObject
*swig_obj
[1] ;
22604 if (!args
) SWIG_fail
;
22605 swig_obj
[0] = args
;
22606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22607 if (!SWIG_IsOK(res1
)) {
22608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22610 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22613 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22614 wxPyEndAllowThreads(__tstate
);
22615 if (PyErr_Occurred()) SWIG_fail
;
22617 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22624 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22625 PyObject
*resultobj
= 0;
22626 wxDC
*arg1
= (wxDC
*) 0 ;
22627 int *arg2
= (int *) 0 ;
22628 int *arg3
= (int *) 0 ;
22632 int res2
= SWIG_TMPOBJ
;
22634 int res3
= SWIG_TMPOBJ
;
22635 PyObject
*swig_obj
[1] ;
22639 if (!args
) SWIG_fail
;
22640 swig_obj
[0] = args
;
22641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22642 if (!SWIG_IsOK(res1
)) {
22643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22645 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22652 resultobj
= SWIG_Py_Void();
22653 if (SWIG_IsTmpObj(res2
)) {
22654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22656 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22659 if (SWIG_IsTmpObj(res3
)) {
22660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22662 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22671 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22672 PyObject
*resultobj
= 0;
22673 wxDC
*arg1
= (wxDC
*) 0 ;
22682 PyObject
* obj0
= 0 ;
22683 PyObject
* obj1
= 0 ;
22684 PyObject
* obj2
= 0 ;
22685 char * kwnames
[] = {
22686 (char *) "self",(char *) "x",(char *) "y", NULL
22689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22691 if (!SWIG_IsOK(res1
)) {
22692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22696 if (!SWIG_IsOK(ecode2
)) {
22697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22699 arg2
= static_cast< int >(val2
);
22700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22701 if (!SWIG_IsOK(ecode3
)) {
22702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22704 arg3
= static_cast< int >(val3
);
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22708 wxPyEndAllowThreads(__tstate
);
22709 if (PyErr_Occurred()) SWIG_fail
;
22711 resultobj
= SWIG_Py_Void();
22718 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22719 PyObject
*resultobj
= 0;
22720 wxDC
*arg1
= (wxDC
*) 0 ;
22721 wxPoint
*arg2
= 0 ;
22725 PyObject
* obj0
= 0 ;
22726 PyObject
* obj1
= 0 ;
22727 char * kwnames
[] = {
22728 (char *) "self",(char *) "point", NULL
22731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22733 if (!SWIG_IsOK(res1
)) {
22734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22736 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22739 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22743 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22744 wxPyEndAllowThreads(__tstate
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22747 resultobj
= SWIG_Py_Void();
22754 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22755 PyObject
*resultobj
= 0;
22756 wxDC
*arg1
= (wxDC
*) 0 ;
22765 PyObject
* obj0
= 0 ;
22766 PyObject
* obj1
= 0 ;
22767 PyObject
* obj2
= 0 ;
22768 char * kwnames
[] = {
22769 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22774 if (!SWIG_IsOK(res1
)) {
22775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22777 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22778 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22779 if (!SWIG_IsOK(ecode2
)) {
22780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22782 arg2
= static_cast< bool >(val2
);
22783 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22784 if (!SWIG_IsOK(ecode3
)) {
22785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22787 arg3
= static_cast< bool >(val3
);
22789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22790 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22791 wxPyEndAllowThreads(__tstate
);
22792 if (PyErr_Occurred()) SWIG_fail
;
22794 resultobj
= SWIG_Py_Void();
22801 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22802 PyObject
*resultobj
= 0;
22803 wxDC
*arg1
= (wxDC
*) 0 ;
22807 PyObject
*swig_obj
[1] ;
22809 if (!args
) SWIG_fail
;
22810 swig_obj
[0] = args
;
22811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22812 if (!SWIG_IsOK(res1
)) {
22813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 resultobj
= SWIG_From_int(static_cast< int >(result
));
22829 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
= 0;
22831 wxDC
*arg1
= (wxDC
*) 0 ;
22837 PyObject
* obj0
= 0 ;
22838 PyObject
* obj1
= 0 ;
22839 char * kwnames
[] = {
22840 (char *) "self",(char *) "function", NULL
22843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22845 if (!SWIG_IsOK(res1
)) {
22846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22848 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22850 if (!SWIG_IsOK(ecode2
)) {
22851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22853 arg2
= static_cast< int >(val2
);
22855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22856 (arg1
)->SetLogicalFunction(arg2
);
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22860 resultobj
= SWIG_Py_Void();
22867 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22868 PyObject
*resultobj
= 0;
22869 wxDC
*arg1
= (wxDC
*) 0 ;
22872 PyObject
*swig_obj
[1] ;
22874 if (!args
) SWIG_fail
;
22875 swig_obj
[0] = args
;
22876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22877 if (!SWIG_IsOK(res1
)) {
22878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22880 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 (arg1
)->ComputeScaleAndOrigin();
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 resultobj
= SWIG_Py_Void();
22894 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
= 0;
22896 wxDC
*arg1
= (wxDC
*) 0 ;
22905 PyObject
* obj0
= 0 ;
22906 PyObject
* obj1
= 0 ;
22907 PyObject
* obj2
= 0 ;
22908 char * kwnames
[] = {
22909 (char *) "self",(char *) "x",(char *) "y", NULL
22912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22914 if (!SWIG_IsOK(res1
)) {
22915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22917 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22919 if (!SWIG_IsOK(ecode2
)) {
22920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22922 arg2
= static_cast< int >(val2
);
22923 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22924 if (!SWIG_IsOK(ecode3
)) {
22925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22927 arg3
= static_cast< int >(val3
);
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= SWIG_Py_Void();
22941 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22942 PyObject
*resultobj
= 0;
22943 wxDC
*arg1
= (wxDC
*) 0 ;
22944 wxPoint
*arg2
= 0 ;
22948 PyObject
* obj0
= 0 ;
22949 PyObject
* obj1
= 0 ;
22950 char * kwnames
[] = {
22951 (char *) "self",(char *) "point", NULL
22954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22956 if (!SWIG_IsOK(res1
)) {
22957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22962 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 resultobj
= SWIG_Py_Void();
22977 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22978 PyObject
*resultobj
= 0;
22979 wxDC
*arg1
= (wxDC
*) 0 ;
22982 PyObject
*swig_obj
[1] ;
22984 if (!args
) SWIG_fail
;
22985 swig_obj
[0] = args
;
22986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22987 if (!SWIG_IsOK(res1
)) {
22988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 (arg1
)->ResetBoundingBox();
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= SWIG_Py_Void();
23004 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23005 PyObject
*resultobj
= 0;
23006 wxDC
*arg1
= (wxDC
*) 0 ;
23010 PyObject
*swig_obj
[1] ;
23012 if (!args
) SWIG_fail
;
23013 swig_obj
[0] = args
;
23014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23015 if (!SWIG_IsOK(res1
)) {
23016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 result
= (int)((wxDC
const *)arg1
)->MinX();
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 resultobj
= SWIG_From_int(static_cast< int >(result
));
23032 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23033 PyObject
*resultobj
= 0;
23034 wxDC
*arg1
= (wxDC
*) 0 ;
23038 PyObject
*swig_obj
[1] ;
23040 if (!args
) SWIG_fail
;
23041 swig_obj
[0] = args
;
23042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23043 if (!SWIG_IsOK(res1
)) {
23044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23049 result
= (int)((wxDC
const *)arg1
)->MaxX();
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 resultobj
= SWIG_From_int(static_cast< int >(result
));
23060 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23061 PyObject
*resultobj
= 0;
23062 wxDC
*arg1
= (wxDC
*) 0 ;
23066 PyObject
*swig_obj
[1] ;
23068 if (!args
) SWIG_fail
;
23069 swig_obj
[0] = args
;
23070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23071 if (!SWIG_IsOK(res1
)) {
23072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23074 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 result
= (int)((wxDC
const *)arg1
)->MinY();
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 resultobj
= SWIG_From_int(static_cast< int >(result
));
23088 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23089 PyObject
*resultobj
= 0;
23090 wxDC
*arg1
= (wxDC
*) 0 ;
23094 PyObject
*swig_obj
[1] ;
23096 if (!args
) SWIG_fail
;
23097 swig_obj
[0] = args
;
23098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23099 if (!SWIG_IsOK(res1
)) {
23100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23102 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 result
= (int)((wxDC
const *)arg1
)->MaxY();
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23109 resultobj
= SWIG_From_int(static_cast< int >(result
));
23116 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23117 PyObject
*resultobj
= 0;
23118 wxDC
*arg1
= (wxDC
*) 0 ;
23119 int *arg2
= (int *) 0 ;
23120 int *arg3
= (int *) 0 ;
23121 int *arg4
= (int *) 0 ;
23122 int *arg5
= (int *) 0 ;
23126 int res2
= SWIG_TMPOBJ
;
23128 int res3
= SWIG_TMPOBJ
;
23130 int res4
= SWIG_TMPOBJ
;
23132 int res5
= SWIG_TMPOBJ
;
23133 PyObject
*swig_obj
[1] ;
23139 if (!args
) SWIG_fail
;
23140 swig_obj
[0] = args
;
23141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23142 if (!SWIG_IsOK(res1
)) {
23143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23145 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23148 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23149 wxPyEndAllowThreads(__tstate
);
23150 if (PyErr_Occurred()) SWIG_fail
;
23152 resultobj
= SWIG_Py_Void();
23153 if (SWIG_IsTmpObj(res2
)) {
23154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23156 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23159 if (SWIG_IsTmpObj(res3
)) {
23160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23162 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23163 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23165 if (SWIG_IsTmpObj(res4
)) {
23166 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23168 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23171 if (SWIG_IsTmpObj(res5
)) {
23172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23174 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23183 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23184 PyObject
*resultobj
= 0;
23185 wxDC
*arg1
= (wxDC
*) 0 ;
23186 wxLayoutDirection result
;
23189 PyObject
*swig_obj
[1] ;
23191 if (!args
) SWIG_fail
;
23192 swig_obj
[0] = args
;
23193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23194 if (!SWIG_IsOK(res1
)) {
23195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23197 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23201 wxPyEndAllowThreads(__tstate
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 resultobj
= SWIG_From_int(static_cast< int >(result
));
23211 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23212 PyObject
*resultobj
= 0;
23213 wxDC
*arg1
= (wxDC
*) 0 ;
23214 wxLayoutDirection arg2
;
23219 PyObject
* obj0
= 0 ;
23220 PyObject
* obj1
= 0 ;
23221 char * kwnames
[] = {
23222 (char *) "self",(char *) "dir", NULL
23225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23227 if (!SWIG_IsOK(res1
)) {
23228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23230 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23232 if (!SWIG_IsOK(ecode2
)) {
23233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23235 arg2
= static_cast< wxLayoutDirection
>(val2
);
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 (arg1
)->SetLayoutDirection(arg2
);
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23242 resultobj
= SWIG_Py_Void();
23249 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23250 PyObject
*resultobj
= 0;
23251 wxDC
*arg1
= (wxDC
*) 0 ;
23252 PyObject
*arg2
= (PyObject
*) 0 ;
23253 PyObject
*arg3
= (PyObject
*) 0 ;
23254 PyObject
*arg4
= (PyObject
*) 0 ;
23255 PyObject
*result
= 0 ;
23258 PyObject
* obj0
= 0 ;
23259 PyObject
* obj1
= 0 ;
23260 PyObject
* obj2
= 0 ;
23261 PyObject
* obj3
= 0 ;
23262 char * kwnames
[] = {
23263 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23268 if (!SWIG_IsOK(res1
)) {
23269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23271 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23277 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= result
;
23288 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23289 PyObject
*resultobj
= 0;
23290 wxDC
*arg1
= (wxDC
*) 0 ;
23291 PyObject
*arg2
= (PyObject
*) 0 ;
23292 PyObject
*arg3
= (PyObject
*) 0 ;
23293 PyObject
*arg4
= (PyObject
*) 0 ;
23294 PyObject
*result
= 0 ;
23297 PyObject
* obj0
= 0 ;
23298 PyObject
* obj1
= 0 ;
23299 PyObject
* obj2
= 0 ;
23300 PyObject
* obj3
= 0 ;
23301 char * kwnames
[] = {
23302 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23307 if (!SWIG_IsOK(res1
)) {
23308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23310 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23320 resultobj
= result
;
23327 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23328 PyObject
*resultobj
= 0;
23329 wxDC
*arg1
= (wxDC
*) 0 ;
23330 PyObject
*arg2
= (PyObject
*) 0 ;
23331 PyObject
*arg3
= (PyObject
*) 0 ;
23332 PyObject
*arg4
= (PyObject
*) 0 ;
23333 PyObject
*result
= 0 ;
23336 PyObject
* obj0
= 0 ;
23337 PyObject
* obj1
= 0 ;
23338 PyObject
* obj2
= 0 ;
23339 PyObject
* obj3
= 0 ;
23340 char * kwnames
[] = {
23341 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23346 if (!SWIG_IsOK(res1
)) {
23347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23349 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23355 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23359 resultobj
= result
;
23366 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23367 PyObject
*resultobj
= 0;
23368 wxDC
*arg1
= (wxDC
*) 0 ;
23369 PyObject
*arg2
= (PyObject
*) 0 ;
23370 PyObject
*arg3
= (PyObject
*) 0 ;
23371 PyObject
*arg4
= (PyObject
*) 0 ;
23372 PyObject
*result
= 0 ;
23375 PyObject
* obj0
= 0 ;
23376 PyObject
* obj1
= 0 ;
23377 PyObject
* obj2
= 0 ;
23378 PyObject
* obj3
= 0 ;
23379 char * kwnames
[] = {
23380 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23385 if (!SWIG_IsOK(res1
)) {
23386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23388 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23394 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23398 resultobj
= result
;
23405 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23406 PyObject
*resultobj
= 0;
23407 wxDC
*arg1
= (wxDC
*) 0 ;
23408 PyObject
*arg2
= (PyObject
*) 0 ;
23409 PyObject
*arg3
= (PyObject
*) 0 ;
23410 PyObject
*arg4
= (PyObject
*) 0 ;
23411 PyObject
*result
= 0 ;
23414 PyObject
* obj0
= 0 ;
23415 PyObject
* obj1
= 0 ;
23416 PyObject
* obj2
= 0 ;
23417 PyObject
* obj3
= 0 ;
23418 char * kwnames
[] = {
23419 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23424 if (!SWIG_IsOK(res1
)) {
23425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23427 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23437 resultobj
= result
;
23444 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23445 PyObject
*resultobj
= 0;
23446 wxDC
*arg1
= (wxDC
*) 0 ;
23447 PyObject
*arg2
= (PyObject
*) 0 ;
23448 PyObject
*arg3
= (PyObject
*) 0 ;
23449 PyObject
*arg4
= (PyObject
*) 0 ;
23450 PyObject
*arg5
= (PyObject
*) 0 ;
23451 PyObject
*result
= 0 ;
23454 PyObject
* obj0
= 0 ;
23455 PyObject
* obj1
= 0 ;
23456 PyObject
* obj2
= 0 ;
23457 PyObject
* obj3
= 0 ;
23458 PyObject
* obj4
= 0 ;
23459 char * kwnames
[] = {
23460 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23465 if (!SWIG_IsOK(res1
)) {
23466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23468 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23476 wxPyEndAllowThreads(__tstate
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23479 resultobj
= result
;
23486 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23489 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23490 return SWIG_Py_Void();
23493 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
= 0;
23496 wxColour
*arg2
= 0 ;
23497 wxDCTextColourChanger
*result
= 0 ;
23501 PyObject
* obj0
= 0 ;
23502 PyObject
* obj1
= 0 ;
23503 char * kwnames
[] = {
23504 (char *) "dc",(char *) "col", NULL
23507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23508 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23509 if (!SWIG_IsOK(res1
)) {
23510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23515 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23518 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23523 wxPyEndAllowThreads(__tstate
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23533 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23534 PyObject
*resultobj
= 0;
23535 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23538 PyObject
*swig_obj
[1] ;
23540 if (!args
) SWIG_fail
;
23541 swig_obj
[0] = args
;
23542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23543 if (!SWIG_IsOK(res1
)) {
23544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23546 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23554 resultobj
= SWIG_Py_Void();
23561 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23563 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23564 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23565 return SWIG_Py_Void();
23568 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23569 return SWIG_Python_InitShadowInstance(args
);
23572 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23573 PyObject
*resultobj
= 0;
23576 wxDCPenChanger
*result
= 0 ;
23581 PyObject
* obj0
= 0 ;
23582 PyObject
* obj1
= 0 ;
23583 char * kwnames
[] = {
23584 (char *) "dc",(char *) "pen", NULL
23587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23588 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23589 if (!SWIG_IsOK(res1
)) {
23590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23595 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23596 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23597 if (!SWIG_IsOK(res2
)) {
23598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23603 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23617 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23618 PyObject
*resultobj
= 0;
23619 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23622 PyObject
*swig_obj
[1] ;
23624 if (!args
) SWIG_fail
;
23625 swig_obj
[0] = args
;
23626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23627 if (!SWIG_IsOK(res1
)) {
23628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23630 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23638 resultobj
= SWIG_Py_Void();
23645 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23647 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23648 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23649 return SWIG_Py_Void();
23652 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23653 return SWIG_Python_InitShadowInstance(args
);
23656 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23657 PyObject
*resultobj
= 0;
23659 wxBrush
*arg2
= 0 ;
23660 wxDCBrushChanger
*result
= 0 ;
23665 PyObject
* obj0
= 0 ;
23666 PyObject
* obj1
= 0 ;
23667 char * kwnames
[] = {
23668 (char *) "dc",(char *) "brush", NULL
23671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23672 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23673 if (!SWIG_IsOK(res1
)) {
23674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23679 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23680 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23681 if (!SWIG_IsOK(res2
)) {
23682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23685 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23687 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
23701 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23702 PyObject
*resultobj
= 0;
23703 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
23706 PyObject
*swig_obj
[1] ;
23708 if (!args
) SWIG_fail
;
23709 swig_obj
[0] = args
;
23710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
23711 if (!SWIG_IsOK(res1
)) {
23712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
23714 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
23716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23722 resultobj
= SWIG_Py_Void();
23729 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23732 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
23733 return SWIG_Py_Void();
23736 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23737 return SWIG_Python_InitShadowInstance(args
);
23740 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23741 PyObject
*resultobj
= 0;
23743 wxRegion
*arg2
= 0 ;
23744 wxDCClipper
*result
= 0 ;
23750 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23752 if (!SWIG_IsOK(res1
)) {
23753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23756 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23758 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23759 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
23760 if (!SWIG_IsOK(res2
)) {
23761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
23766 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
23770 wxPyEndAllowThreads(__tstate
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23780 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23781 PyObject
*resultobj
= 0;
23784 wxDCClipper
*result
= 0 ;
23789 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
23790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23791 if (!SWIG_IsOK(res1
)) {
23792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23797 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23800 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
23805 wxPyEndAllowThreads(__tstate
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23815 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23816 PyObject
*resultobj
= 0;
23822 wxDCClipper
*result
= 0 ;
23834 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
23835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
23836 if (!SWIG_IsOK(res1
)) {
23837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23840 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
23842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23843 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
23844 if (!SWIG_IsOK(ecode2
)) {
23845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
23847 arg2
= static_cast< int >(val2
);
23848 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23849 if (!SWIG_IsOK(ecode3
)) {
23850 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
23852 arg3
= static_cast< int >(val3
);
23853 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23854 if (!SWIG_IsOK(ecode4
)) {
23855 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
23857 arg4
= static_cast< int >(val4
);
23858 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
23859 if (!SWIG_IsOK(ecode5
)) {
23860 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
23862 arg5
= static_cast< int >(val5
);
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23865 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
23876 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
23880 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
23885 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
23886 _v
= SWIG_CheckState(res
);
23888 if (!_v
) goto check_1
;
23889 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
23894 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
23897 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
23901 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
23906 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23907 PyObject
*resultobj
= 0;
23908 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
23911 PyObject
*swig_obj
[1] ;
23913 if (!args
) SWIG_fail
;
23914 swig_obj
[0] = args
;
23915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
23916 if (!SWIG_IsOK(res1
)) {
23917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
23919 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= SWIG_Py_Void();
23934 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23937 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
23938 return SWIG_Py_Void();
23941 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23942 return SWIG_Python_InitShadowInstance(args
);
23945 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23946 PyObject
*resultobj
= 0;
23947 wxScreenDC
*result
= 0 ;
23949 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23951 if (!wxPyCheckForApp()) SWIG_fail
;
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= (wxScreenDC
*)new wxScreenDC();
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23964 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
= 0;
23966 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23967 wxWindow
*arg2
= (wxWindow
*) 0 ;
23973 PyObject
* obj0
= 0 ;
23974 PyObject
* obj1
= 0 ;
23975 char * kwnames
[] = {
23976 (char *) "self",(char *) "window", NULL
23979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23981 if (!SWIG_IsOK(res1
)) {
23982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23984 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23985 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23986 if (!SWIG_IsOK(res2
)) {
23987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23989 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23992 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24005 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24006 PyObject
*resultobj
= 0;
24007 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24008 wxRect
*arg2
= (wxRect
*) NULL
;
24014 PyObject
* obj0
= 0 ;
24015 PyObject
* obj1
= 0 ;
24016 char * kwnames
[] = {
24017 (char *) "self",(char *) "rect", NULL
24020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24022 if (!SWIG_IsOK(res1
)) {
24023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24025 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24027 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24028 if (!SWIG_IsOK(res2
)) {
24029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24031 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24035 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24048 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24049 PyObject
*resultobj
= 0;
24050 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24054 PyObject
*swig_obj
[1] ;
24056 if (!args
) SWIG_fail
;
24057 swig_obj
[0] = args
;
24058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24059 if (!SWIG_IsOK(res1
)) {
24060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24062 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24065 result
= (bool)(arg1
)->EndDrawingOnTop();
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24078 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24080 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24081 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24082 return SWIG_Py_Void();
24085 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24086 return SWIG_Python_InitShadowInstance(args
);
24089 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
= 0;
24091 wxWindow
*arg1
= (wxWindow
*) 0 ;
24092 wxWindowDC
*result
= 0 ;
24095 PyObject
* obj0
= 0 ;
24096 char * kwnames
[] = {
24097 (char *) "win", NULL
24100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24102 if (!SWIG_IsOK(res1
)) {
24103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24105 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24107 if (!wxPyCheckForApp()) SWIG_fail
;
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24120 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24122 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24123 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24124 return SWIG_Py_Void();
24127 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24128 return SWIG_Python_InitShadowInstance(args
);
24131 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24132 PyObject
*resultobj
= 0;
24133 wxWindow
*arg1
= (wxWindow
*) 0 ;
24134 wxClientDC
*result
= 0 ;
24137 PyObject
* obj0
= 0 ;
24138 char * kwnames
[] = {
24139 (char *) "win", NULL
24142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24144 if (!SWIG_IsOK(res1
)) {
24145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24147 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24149 if (!wxPyCheckForApp()) SWIG_fail
;
24150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24151 result
= (wxClientDC
*)new wxClientDC(arg1
);
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24162 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24165 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24166 return SWIG_Py_Void();
24169 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24170 return SWIG_Python_InitShadowInstance(args
);
24173 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24174 PyObject
*resultobj
= 0;
24175 wxWindow
*arg1
= (wxWindow
*) 0 ;
24176 wxPaintDC
*result
= 0 ;
24179 PyObject
* obj0
= 0 ;
24180 char * kwnames
[] = {
24181 (char *) "win", NULL
24184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24186 if (!SWIG_IsOK(res1
)) {
24187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24189 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24191 if (!wxPyCheckForApp()) SWIG_fail
;
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24204 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24206 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24207 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24208 return SWIG_Py_Void();
24211 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24212 return SWIG_Python_InitShadowInstance(args
);
24215 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
= 0;
24217 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24218 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24219 wxMemoryDC
*result
= 0 ;
24222 PyObject
* obj0
= 0 ;
24223 char * kwnames
[] = {
24224 (char *) "bitmap", NULL
24227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24229 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24230 if (!SWIG_IsOK(res1
)) {
24231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24236 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24239 if (!wxPyCheckForApp()) SWIG_fail
;
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24252 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
= 0;
24254 wxDC
*arg1
= (wxDC
*) 0 ;
24255 wxMemoryDC
*result
= 0 ;
24258 PyObject
* obj0
= 0 ;
24259 char * kwnames
[] = {
24260 (char *) "oldDC", NULL
24263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24265 if (!SWIG_IsOK(res1
)) {
24266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24268 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24270 if (!wxPyCheckForApp()) SWIG_fail
;
24271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24272 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24283 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
= 0;
24285 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24286 wxBitmap
*arg2
= 0 ;
24291 PyObject
* obj0
= 0 ;
24292 PyObject
* obj1
= 0 ;
24293 char * kwnames
[] = {
24294 (char *) "self",(char *) "bitmap", NULL
24297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24299 if (!SWIG_IsOK(res1
)) {
24300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24302 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24303 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24304 if (!SWIG_IsOK(res2
)) {
24305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24310 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 (arg1
)->SelectObject(*arg2
);
24314 wxPyEndAllowThreads(__tstate
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24317 resultobj
= SWIG_Py_Void();
24324 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
= 0;
24326 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24327 wxBitmap
*arg2
= 0 ;
24332 PyObject
* obj0
= 0 ;
24333 PyObject
* obj1
= 0 ;
24334 char * kwnames
[] = {
24335 (char *) "self",(char *) "bmp", NULL
24338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24340 if (!SWIG_IsOK(res1
)) {
24341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24343 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24344 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24345 if (!SWIG_IsOK(res2
)) {
24346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24351 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24358 resultobj
= SWIG_Py_Void();
24365 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24368 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24369 return SWIG_Py_Void();
24372 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24373 return SWIG_Python_InitShadowInstance(args
);
24376 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24377 PyObject
*resultobj
= 0;
24378 wxDC
*arg1
= (wxDC
*) 0 ;
24379 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24380 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24381 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24382 wxBufferedDC
*result
= 0 ;
24390 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24392 if (!SWIG_IsOK(res1
)) {
24393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24395 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24397 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24398 if (!SWIG_IsOK(res2
)) {
24399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24404 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24407 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24408 if (!SWIG_IsOK(ecode3
)) {
24409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24411 arg3
= static_cast< int >(val3
);
24414 if (!wxPyCheckForApp()) SWIG_fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24427 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24428 PyObject
*resultobj
= 0;
24429 wxDC
*arg1
= (wxDC
*) 0 ;
24431 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24432 wxBufferedDC
*result
= 0 ;
24439 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24441 if (!SWIG_IsOK(res1
)) {
24442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24447 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24450 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24451 if (!SWIG_IsOK(ecode3
)) {
24452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24454 arg3
= static_cast< int >(val3
);
24457 if (!wxPyCheckForApp()) SWIG_fail
;
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24470 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24474 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24476 if ((argc
>= 1) && (argc
<= 3)) {
24481 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24482 _v
= SWIG_CheckState(res
);
24484 if (!_v
) goto check_1
;
24486 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24490 if ((argc
>= 2) && (argc
<= 3)) {
24491 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24495 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24500 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24501 PyObject
*resultobj
= 0;
24502 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24505 PyObject
*swig_obj
[1] ;
24507 if (!args
) SWIG_fail
;
24508 swig_obj
[0] = args
;
24509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24510 if (!SWIG_IsOK(res1
)) {
24511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24513 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 wxPyEndAllowThreads(__tstate
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24521 resultobj
= SWIG_Py_Void();
24528 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24529 PyObject
*resultobj
= 0;
24530 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24533 PyObject
*swig_obj
[1] ;
24535 if (!args
) SWIG_fail
;
24536 swig_obj
[0] = args
;
24537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24538 if (!SWIG_IsOK(res1
)) {
24539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24541 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24548 resultobj
= SWIG_Py_Void();
24555 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24556 PyObject
*resultobj
= 0;
24557 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24563 PyObject
* obj0
= 0 ;
24564 PyObject
* obj1
= 0 ;
24565 char * kwnames
[] = {
24566 (char *) "self",(char *) "style", NULL
24569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24571 if (!SWIG_IsOK(res1
)) {
24572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24574 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24576 if (!SWIG_IsOK(ecode2
)) {
24577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24579 arg2
= static_cast< int >(val2
);
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 (arg1
)->SetStyle(arg2
);
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 resultobj
= SWIG_Py_Void();
24593 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24594 PyObject
*resultobj
= 0;
24595 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24599 PyObject
*swig_obj
[1] ;
24601 if (!args
) SWIG_fail
;
24602 swig_obj
[0] = args
;
24603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24604 if (!SWIG_IsOK(res1
)) {
24605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24607 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24610 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24611 wxPyEndAllowThreads(__tstate
);
24612 if (PyErr_Occurred()) SWIG_fail
;
24614 resultobj
= SWIG_From_int(static_cast< int >(result
));
24621 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24623 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24624 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24625 return SWIG_Py_Void();
24628 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24629 return SWIG_Python_InitShadowInstance(args
);
24632 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24633 PyObject
*resultobj
= 0;
24634 wxWindow
*arg1
= (wxWindow
*) 0 ;
24635 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24636 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24637 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24638 wxBufferedPaintDC
*result
= 0 ;
24645 PyObject
* obj0
= 0 ;
24646 PyObject
* obj1
= 0 ;
24647 PyObject
* obj2
= 0 ;
24648 char * kwnames
[] = {
24649 (char *) "window",(char *) "buffer",(char *) "style", NULL
24652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24654 if (!SWIG_IsOK(res1
)) {
24655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24657 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24660 if (!SWIG_IsOK(res2
)) {
24661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24666 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24670 if (!SWIG_IsOK(ecode3
)) {
24671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24673 arg3
= static_cast< int >(val3
);
24676 if (!wxPyCheckForApp()) SWIG_fail
;
24677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24678 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24679 wxPyEndAllowThreads(__tstate
);
24680 if (PyErr_Occurred()) SWIG_fail
;
24682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24689 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24691 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24692 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
24693 return SWIG_Py_Void();
24696 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24697 return SWIG_Python_InitShadowInstance(args
);
24700 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24701 PyObject
*resultobj
= 0;
24702 wxWindow
*arg1
= (wxWindow
*) 0 ;
24703 wxAutoBufferedPaintDC
*result
= 0 ;
24706 PyObject
* obj0
= 0 ;
24707 char * kwnames
[] = {
24708 (char *) "win", NULL
24711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
24712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24713 if (!SWIG_IsOK(res1
)) {
24714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24716 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24719 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
24730 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24733 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
24734 return SWIG_Py_Void();
24737 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24738 return SWIG_Python_InitShadowInstance(args
);
24741 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24742 PyObject
*resultobj
= 0;
24743 wxWindow
*arg1
= (wxWindow
*) 0 ;
24747 PyObject
* obj0
= 0 ;
24748 char * kwnames
[] = {
24749 (char *) "window", NULL
24752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
24753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24754 if (!SWIG_IsOK(res1
)) {
24755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
24757 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24765 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
24773 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
= 0;
24777 wxMirrorDC
*result
= 0 ;
24782 PyObject
* obj0
= 0 ;
24783 PyObject
* obj1
= 0 ;
24784 char * kwnames
[] = {
24785 (char *) "dc",(char *) "mirror", NULL
24788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24789 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24790 if (!SWIG_IsOK(res1
)) {
24791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24796 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24797 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24798 if (!SWIG_IsOK(ecode2
)) {
24799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24801 arg2
= static_cast< bool >(val2
);
24803 if (!wxPyCheckForApp()) SWIG_fail
;
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24806 wxPyEndAllowThreads(__tstate
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24816 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24819 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24820 return SWIG_Py_Void();
24823 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24824 return SWIG_Python_InitShadowInstance(args
);
24827 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24828 PyObject
*resultobj
= 0;
24829 wxPrintData
*arg1
= 0 ;
24830 wxPostScriptDC
*result
= 0 ;
24833 PyObject
* obj0
= 0 ;
24834 char * kwnames
[] = {
24835 (char *) "printData", NULL
24838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24839 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24840 if (!SWIG_IsOK(res1
)) {
24841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24846 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24848 if (!wxPyCheckForApp()) SWIG_fail
;
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24861 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24862 PyObject
*resultobj
= 0;
24863 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24864 wxPrintData
*result
= 0 ;
24867 PyObject
*swig_obj
[1] ;
24869 if (!args
) SWIG_fail
;
24870 swig_obj
[0] = args
;
24871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24872 if (!SWIG_IsOK(res1
)) {
24873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24875 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24880 result
= (wxPrintData
*) &_result_ref
;
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24892 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24893 PyObject
*resultobj
= 0;
24894 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24895 wxPrintData
*arg2
= 0 ;
24900 PyObject
* obj0
= 0 ;
24901 PyObject
* obj1
= 0 ;
24902 char * kwnames
[] = {
24903 (char *) "self",(char *) "data", NULL
24906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24908 if (!SWIG_IsOK(res1
)) {
24909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24911 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24913 if (!SWIG_IsOK(res2
)) {
24914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24919 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24922 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24923 wxPyEndAllowThreads(__tstate
);
24924 if (PyErr_Occurred()) SWIG_fail
;
24926 resultobj
= SWIG_Py_Void();
24933 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24934 PyObject
*resultobj
= 0;
24938 PyObject
* obj0
= 0 ;
24939 char * kwnames
[] = {
24940 (char *) "ppi", NULL
24943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24944 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24945 if (!SWIG_IsOK(ecode1
)) {
24946 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24948 arg1
= static_cast< int >(val1
);
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 wxPostScriptDC::SetResolution(arg1
);
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24955 resultobj
= SWIG_Py_Void();
24962 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24963 PyObject
*resultobj
= 0;
24966 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24969 result
= (int)wxPostScriptDC::GetResolution();
24970 wxPyEndAllowThreads(__tstate
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24973 resultobj
= SWIG_From_int(static_cast< int >(result
));
24980 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24983 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24984 return SWIG_Py_Void();
24987 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24988 return SWIG_Python_InitShadowInstance(args
);
24991 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24992 PyObject
*resultobj
= 0;
24993 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24994 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24995 wxMetaFile
*result
= 0 ;
24996 bool temp1
= false ;
24997 PyObject
* obj0
= 0 ;
24998 char * kwnames
[] = {
24999 (char *) "filename", NULL
25002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25005 arg1
= wxString_in_helper(obj0
);
25006 if (arg1
== NULL
) SWIG_fail
;
25011 if (!wxPyCheckForApp()) SWIG_fail
;
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25032 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25033 PyObject
*resultobj
= 0;
25034 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25037 PyObject
*swig_obj
[1] ;
25039 if (!args
) SWIG_fail
;
25040 swig_obj
[0] = args
;
25041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25042 if (!SWIG_IsOK(res1
)) {
25043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25045 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25050 wxPyEndAllowThreads(__tstate
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25053 resultobj
= SWIG_Py_Void();
25060 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25061 PyObject
*resultobj
= 0;
25062 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25066 PyObject
*swig_obj
[1] ;
25068 if (!args
) SWIG_fail
;
25069 swig_obj
[0] = args
;
25070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25071 if (!SWIG_IsOK(res1
)) {
25072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25074 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 result
= (bool)(arg1
)->IsOk();
25078 wxPyEndAllowThreads(__tstate
);
25079 if (PyErr_Occurred()) SWIG_fail
;
25082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25090 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25091 PyObject
*resultobj
= 0;
25092 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25093 int arg2
= (int) 0 ;
25094 int arg3
= (int) 0 ;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 PyObject
* obj2
= 0 ;
25105 char * kwnames
[] = {
25106 (char *) "self",(char *) "width",(char *) "height", NULL
25109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25111 if (!SWIG_IsOK(res1
)) {
25112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25114 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25117 if (!SWIG_IsOK(ecode2
)) {
25118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25120 arg2
= static_cast< int >(val2
);
25123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25124 if (!SWIG_IsOK(ecode3
)) {
25125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25127 arg3
= static_cast< int >(val3
);
25130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25131 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25144 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25145 PyObject
*resultobj
= 0;
25146 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25150 PyObject
*swig_obj
[1] ;
25152 if (!args
) SWIG_fail
;
25153 swig_obj
[0] = args
;
25154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25155 if (!SWIG_IsOK(res1
)) {
25156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25158 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25161 result
= (arg1
)->GetSize();
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25165 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25172 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25173 PyObject
*resultobj
= 0;
25174 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25178 PyObject
*swig_obj
[1] ;
25180 if (!args
) SWIG_fail
;
25181 swig_obj
[0] = args
;
25182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25183 if (!SWIG_IsOK(res1
)) {
25184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25186 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25189 result
= (int)(arg1
)->GetWidth();
25190 wxPyEndAllowThreads(__tstate
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25193 resultobj
= SWIG_From_int(static_cast< int >(result
));
25200 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25201 PyObject
*resultobj
= 0;
25202 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25206 PyObject
*swig_obj
[1] ;
25208 if (!args
) SWIG_fail
;
25209 swig_obj
[0] = args
;
25210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25211 if (!SWIG_IsOK(res1
)) {
25212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25214 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 result
= (int)(arg1
)->GetHeight();
25218 wxPyEndAllowThreads(__tstate
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25221 resultobj
= SWIG_From_int(static_cast< int >(result
));
25228 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25231 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25232 return SWIG_Py_Void();
25235 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25236 return SWIG_Python_InitShadowInstance(args
);
25239 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
= 0;
25241 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25242 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25243 int arg2
= (int) 0 ;
25244 int arg3
= (int) 0 ;
25245 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25246 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25247 wxMetaFileDC
*result
= 0 ;
25248 bool temp1
= false ;
25253 bool temp4
= false ;
25254 PyObject
* obj0
= 0 ;
25255 PyObject
* obj1
= 0 ;
25256 PyObject
* obj2
= 0 ;
25257 PyObject
* obj3
= 0 ;
25258 char * kwnames
[] = {
25259 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25265 arg1
= wxString_in_helper(obj0
);
25266 if (arg1
== NULL
) SWIG_fail
;
25271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25272 if (!SWIG_IsOK(ecode2
)) {
25273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25275 arg2
= static_cast< int >(val2
);
25278 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25279 if (!SWIG_IsOK(ecode3
)) {
25280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25282 arg3
= static_cast< int >(val3
);
25286 arg4
= wxString_in_helper(obj3
);
25287 if (arg4
== NULL
) SWIG_fail
;
25292 if (!wxPyCheckForApp()) SWIG_fail
;
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25295 wxPyEndAllowThreads(__tstate
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25321 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25322 PyObject
*resultobj
= 0;
25323 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25324 wxMetaFile
*result
= 0 ;
25327 PyObject
*swig_obj
[1] ;
25329 if (!args
) SWIG_fail
;
25330 swig_obj
[0] = args
;
25331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25332 if (!SWIG_IsOK(res1
)) {
25333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25335 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25338 result
= (wxMetaFile
*)(arg1
)->Close();
25339 wxPyEndAllowThreads(__tstate
);
25340 if (PyErr_Occurred()) SWIG_fail
;
25342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25349 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25351 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25352 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25353 return SWIG_Py_Void();
25356 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25357 return SWIG_Python_InitShadowInstance(args
);
25360 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25361 PyObject
*resultobj
= 0;
25362 wxPrintData
*arg1
= 0 ;
25363 wxPrinterDC
*result
= 0 ;
25366 PyObject
* obj0
= 0 ;
25367 char * kwnames
[] = {
25368 (char *) "printData", NULL
25371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25372 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25373 if (!SWIG_IsOK(res1
)) {
25374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25379 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25381 if (!wxPyCheckForApp()) SWIG_fail
;
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25394 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25397 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25398 return SWIG_Py_Void();
25401 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25402 return SWIG_Python_InitShadowInstance(args
);
25405 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25406 PyObject
*resultobj
= 0;
25407 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25408 wxGraphicsObject
*result
= 0 ;
25411 PyObject
* obj0
= 0 ;
25412 char * kwnames
[] = {
25413 (char *) "renderer", NULL
25416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25419 if (!SWIG_IsOK(res1
)) {
25420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25422 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25425 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25426 if (PyErr_Occurred()) SWIG_fail
;
25428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25435 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25436 PyObject
*resultobj
= 0;
25437 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25440 PyObject
*swig_obj
[1] ;
25442 if (!args
) SWIG_fail
;
25443 swig_obj
[0] = args
;
25444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25445 if (!SWIG_IsOK(res1
)) {
25446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25448 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25452 if (PyErr_Occurred()) SWIG_fail
;
25454 resultobj
= SWIG_Py_Void();
25461 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25462 PyObject
*resultobj
= 0;
25463 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25467 PyObject
*swig_obj
[1] ;
25469 if (!args
) SWIG_fail
;
25470 swig_obj
[0] = args
;
25471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25472 if (!SWIG_IsOK(res1
)) {
25473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25475 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25477 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25478 if (PyErr_Occurred()) SWIG_fail
;
25481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25489 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25490 PyObject
*resultobj
= 0;
25491 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25492 wxGraphicsRenderer
*result
= 0 ;
25495 PyObject
*swig_obj
[1] ;
25497 if (!args
) SWIG_fail
;
25498 swig_obj
[0] = args
;
25499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25500 if (!SWIG_IsOK(res1
)) {
25501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25503 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25505 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25515 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25517 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25518 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25519 return SWIG_Py_Void();
25522 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25523 return SWIG_Python_InitShadowInstance(args
);
25526 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25527 PyObject
*resultobj
= 0;
25528 wxGraphicsPen
*result
= 0 ;
25530 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25532 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25533 if (PyErr_Occurred()) SWIG_fail
;
25535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25542 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25543 PyObject
*resultobj
= 0;
25544 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25547 PyObject
*swig_obj
[1] ;
25549 if (!args
) SWIG_fail
;
25550 swig_obj
[0] = args
;
25551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25552 if (!SWIG_IsOK(res1
)) {
25553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25555 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25559 if (PyErr_Occurred()) SWIG_fail
;
25561 resultobj
= SWIG_Py_Void();
25568 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25570 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25571 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25572 return SWIG_Py_Void();
25575 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25576 return SWIG_Python_InitShadowInstance(args
);
25579 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25580 PyObject
*resultobj
= 0;
25581 wxGraphicsBrush
*result
= 0 ;
25583 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25585 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25595 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25596 PyObject
*resultobj
= 0;
25597 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25600 PyObject
*swig_obj
[1] ;
25602 if (!args
) SWIG_fail
;
25603 swig_obj
[0] = args
;
25604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25605 if (!SWIG_IsOK(res1
)) {
25606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25608 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25614 resultobj
= SWIG_Py_Void();
25621 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25623 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25624 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25625 return SWIG_Py_Void();
25628 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25629 return SWIG_Python_InitShadowInstance(args
);
25632 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25633 PyObject
*resultobj
= 0;
25634 wxGraphicsFont
*result
= 0 ;
25636 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25638 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25639 if (PyErr_Occurred()) SWIG_fail
;
25641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25648 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25649 PyObject
*resultobj
= 0;
25650 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25653 PyObject
*swig_obj
[1] ;
25655 if (!args
) SWIG_fail
;
25656 swig_obj
[0] = args
;
25657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25658 if (!SWIG_IsOK(res1
)) {
25659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25661 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25665 if (PyErr_Occurred()) SWIG_fail
;
25667 resultobj
= SWIG_Py_Void();
25674 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25676 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25677 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25678 return SWIG_Py_Void();
25681 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25682 return SWIG_Python_InitShadowInstance(args
);
25685 SWIGINTERN PyObject
*_wrap_new_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25686 PyObject
*resultobj
= 0;
25687 wxGraphicsMatrix
*result
= 0 ;
25689 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsMatrix",0,0,0)) SWIG_fail
;
25691 result
= (wxGraphicsMatrix
*)new wxGraphicsMatrix();
25692 if (PyErr_Occurred()) SWIG_fail
;
25694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_NEW
| 0 );
25701 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25702 PyObject
*resultobj
= 0;
25703 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25706 PyObject
*swig_obj
[1] ;
25708 if (!args
) SWIG_fail
;
25709 swig_obj
[0] = args
;
25710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
25711 if (!SWIG_IsOK(res1
)) {
25712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25714 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25720 resultobj
= SWIG_Py_Void();
25727 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
= 0;
25729 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25730 wxGraphicsMatrix
*arg2
= 0 ;
25735 PyObject
* obj0
= 0 ;
25736 PyObject
* obj1
= 0 ;
25737 char * kwnames
[] = {
25738 (char *) "self",(char *) "t", NULL
25741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25743 if (!SWIG_IsOK(res1
)) {
25744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25746 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25747 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25748 if (!SWIG_IsOK(res2
)) {
25749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25752 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25754 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25756 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
25757 if (PyErr_Occurred()) SWIG_fail
;
25759 resultobj
= SWIG_Py_Void();
25766 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25767 PyObject
*resultobj
= 0;
25768 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25769 wxDouble arg2
= (wxDouble
) 1.0 ;
25770 wxDouble arg3
= (wxDouble
) 0.0 ;
25771 wxDouble arg4
= (wxDouble
) 0.0 ;
25772 wxDouble arg5
= (wxDouble
) 1.0 ;
25773 wxDouble arg6
= (wxDouble
) 0.0 ;
25774 wxDouble arg7
= (wxDouble
) 0.0 ;
25789 PyObject
* obj0
= 0 ;
25790 PyObject
* obj1
= 0 ;
25791 PyObject
* obj2
= 0 ;
25792 PyObject
* obj3
= 0 ;
25793 PyObject
* obj4
= 0 ;
25794 PyObject
* obj5
= 0 ;
25795 PyObject
* obj6
= 0 ;
25796 char * kwnames
[] = {
25797 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
25800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25802 if (!SWIG_IsOK(res1
)) {
25803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25805 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25807 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25808 if (!SWIG_IsOK(ecode2
)) {
25809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
25811 arg2
= static_cast< wxDouble
>(val2
);
25814 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25815 if (!SWIG_IsOK(ecode3
)) {
25816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
25818 arg3
= static_cast< wxDouble
>(val3
);
25821 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25822 if (!SWIG_IsOK(ecode4
)) {
25823 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
25825 arg4
= static_cast< wxDouble
>(val4
);
25828 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25829 if (!SWIG_IsOK(ecode5
)) {
25830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
25832 arg5
= static_cast< wxDouble
>(val5
);
25835 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25836 if (!SWIG_IsOK(ecode6
)) {
25837 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
25839 arg6
= static_cast< wxDouble
>(val6
);
25842 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
25843 if (!SWIG_IsOK(ecode7
)) {
25844 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
25846 arg7
= static_cast< wxDouble
>(val7
);
25849 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25850 if (PyErr_Occurred()) SWIG_fail
;
25852 resultobj
= SWIG_Py_Void();
25859 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25860 PyObject
*resultobj
= 0;
25861 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25862 wxDouble
*arg2
= (wxDouble
*) 0 ;
25863 wxDouble
*arg3
= (wxDouble
*) 0 ;
25864 wxDouble
*arg4
= (wxDouble
*) 0 ;
25865 wxDouble
*arg5
= (wxDouble
*) 0 ;
25866 wxDouble
*arg6
= (wxDouble
*) 0 ;
25867 wxDouble
*arg7
= (wxDouble
*) 0 ;
25871 int res2
= SWIG_TMPOBJ
;
25873 int res3
= SWIG_TMPOBJ
;
25875 int res4
= SWIG_TMPOBJ
;
25877 int res5
= SWIG_TMPOBJ
;
25879 int res6
= SWIG_TMPOBJ
;
25881 int res7
= SWIG_TMPOBJ
;
25882 PyObject
*swig_obj
[1] ;
25890 if (!args
) SWIG_fail
;
25891 swig_obj
[0] = args
;
25892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25893 if (!SWIG_IsOK(res1
)) {
25894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25896 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25898 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
25899 if (PyErr_Occurred()) SWIG_fail
;
25901 resultobj
= SWIG_Py_Void();
25902 if (SWIG_IsTmpObj(res2
)) {
25903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
25905 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
25908 if (SWIG_IsTmpObj(res3
)) {
25909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25911 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25914 if (SWIG_IsTmpObj(res4
)) {
25915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25917 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25918 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25920 if (SWIG_IsTmpObj(res5
)) {
25921 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25923 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25924 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25926 if (SWIG_IsTmpObj(res6
)) {
25927 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25929 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25930 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25932 if (SWIG_IsTmpObj(res7
)) {
25933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
25935 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25936 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
25944 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25945 PyObject
*resultobj
= 0;
25946 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25949 PyObject
*swig_obj
[1] ;
25951 if (!args
) SWIG_fail
;
25952 swig_obj
[0] = args
;
25953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25954 if (!SWIG_IsOK(res1
)) {
25955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
25957 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25962 resultobj
= SWIG_Py_Void();
25969 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25970 PyObject
*resultobj
= 0;
25971 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
25972 wxGraphicsMatrix
*arg2
= 0 ;
25978 PyObject
* obj0
= 0 ;
25979 PyObject
* obj1
= 0 ;
25980 char * kwnames
[] = {
25981 (char *) "self",(char *) "t", NULL
25984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
25986 if (!SWIG_IsOK(res1
)) {
25987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
25989 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
25990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
25991 if (!SWIG_IsOK(res2
)) {
25992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
25997 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
25999 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26000 if (PyErr_Occurred()) SWIG_fail
;
26003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26011 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26012 PyObject
*resultobj
= 0;
26013 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 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_wxGraphicsMatrix
, 0 | 0 );
26022 if (!SWIG_IsOK(res1
)) {
26023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26025 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26027 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26028 if (PyErr_Occurred()) SWIG_fail
;
26031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26039 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26040 PyObject
*resultobj
= 0;
26041 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26050 PyObject
* obj0
= 0 ;
26051 PyObject
* obj1
= 0 ;
26052 PyObject
* obj2
= 0 ;
26053 char * kwnames
[] = {
26054 (char *) "self",(char *) "dx",(char *) "dy", NULL
26057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26059 if (!SWIG_IsOK(res1
)) {
26060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26062 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26063 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26064 if (!SWIG_IsOK(ecode2
)) {
26065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26067 arg2
= static_cast< wxDouble
>(val2
);
26068 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26069 if (!SWIG_IsOK(ecode3
)) {
26070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26072 arg3
= static_cast< wxDouble
>(val3
);
26074 (arg1
)->Translate(arg2
,arg3
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26077 resultobj
= SWIG_Py_Void();
26084 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26085 PyObject
*resultobj
= 0;
26086 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26095 PyObject
* obj0
= 0 ;
26096 PyObject
* obj1
= 0 ;
26097 PyObject
* obj2
= 0 ;
26098 char * kwnames
[] = {
26099 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26104 if (!SWIG_IsOK(res1
)) {
26105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26107 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26108 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26109 if (!SWIG_IsOK(ecode2
)) {
26110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26112 arg2
= static_cast< wxDouble
>(val2
);
26113 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26114 if (!SWIG_IsOK(ecode3
)) {
26115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26117 arg3
= static_cast< wxDouble
>(val3
);
26119 (arg1
)->Scale(arg2
,arg3
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 resultobj
= SWIG_Py_Void();
26129 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26130 PyObject
*resultobj
= 0;
26131 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26137 PyObject
* obj0
= 0 ;
26138 PyObject
* obj1
= 0 ;
26139 char * kwnames
[] = {
26140 (char *) "self",(char *) "angle", NULL
26143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26145 if (!SWIG_IsOK(res1
)) {
26146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26148 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26149 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26150 if (!SWIG_IsOK(ecode2
)) {
26151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26153 arg2
= static_cast< wxDouble
>(val2
);
26155 (arg1
)->Rotate(arg2
);
26156 if (PyErr_Occurred()) SWIG_fail
;
26158 resultobj
= SWIG_Py_Void();
26165 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26166 PyObject
*resultobj
= 0;
26167 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26168 wxDouble
*arg2
= (wxDouble
*) 0 ;
26169 wxDouble
*arg3
= (wxDouble
*) 0 ;
26176 PyObject
* obj0
= 0 ;
26177 PyObject
* obj1
= 0 ;
26178 PyObject
* obj2
= 0 ;
26179 char * kwnames
[] = {
26180 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26185 if (!SWIG_IsOK(res1
)) {
26186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26188 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26189 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26191 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26192 if (!SWIG_IsOK(ecode
)) {
26193 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26195 temp2
= static_cast< wxDouble
>(val
);
26197 res2
= SWIG_AddTmpMask(ecode
);
26199 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26201 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26202 if (!SWIG_IsOK(ecode
)) {
26203 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26205 temp3
= static_cast< wxDouble
>(val
);
26207 res3
= SWIG_AddTmpMask(ecode
);
26210 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26211 if (PyErr_Occurred()) SWIG_fail
;
26213 resultobj
= SWIG_Py_Void();
26214 if (SWIG_IsTmpObj(res2
)) {
26215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26217 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26220 if (SWIG_IsTmpObj(res3
)) {
26221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26223 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26232 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26233 PyObject
*resultobj
= 0;
26234 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26235 wxDouble
*arg2
= (wxDouble
*) 0 ;
26236 wxDouble
*arg3
= (wxDouble
*) 0 ;
26243 PyObject
* obj0
= 0 ;
26244 PyObject
* obj1
= 0 ;
26245 PyObject
* obj2
= 0 ;
26246 char * kwnames
[] = {
26247 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26252 if (!SWIG_IsOK(res1
)) {
26253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26255 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26256 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26258 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26259 if (!SWIG_IsOK(ecode
)) {
26260 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26262 temp2
= static_cast< wxDouble
>(val
);
26264 res2
= SWIG_AddTmpMask(ecode
);
26266 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26268 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26269 if (!SWIG_IsOK(ecode
)) {
26270 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26272 temp3
= static_cast< wxDouble
>(val
);
26274 res3
= SWIG_AddTmpMask(ecode
);
26277 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26280 resultobj
= SWIG_Py_Void();
26281 if (SWIG_IsTmpObj(res2
)) {
26282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26284 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26287 if (SWIG_IsTmpObj(res3
)) {
26288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26290 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26291 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26299 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26300 PyObject
*resultobj
= 0;
26301 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26305 PyObject
*swig_obj
[1] ;
26307 if (!args
) SWIG_fail
;
26308 swig_obj
[0] = args
;
26309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26310 if (!SWIG_IsOK(res1
)) {
26311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26313 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26315 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26316 if (PyErr_Occurred()) SWIG_fail
;
26318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26325 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26328 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26329 return SWIG_Py_Void();
26332 SWIGINTERN PyObject
*GraphicsMatrix_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26333 return SWIG_Python_InitShadowInstance(args
);
26336 SWIGINTERN PyObject
*_wrap_new_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26337 PyObject
*resultobj
= 0;
26338 wxGraphicsPath
*result
= 0 ;
26340 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPath",0,0,0)) SWIG_fail
;
26342 if (!wxPyCheckForApp()) SWIG_fail
;
26343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26344 result
= (wxGraphicsPath
*)new wxGraphicsPath();
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_NEW
| 0 );
26355 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26356 PyObject
*resultobj
= 0;
26357 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26360 PyObject
*swig_obj
[1] ;
26362 if (!args
) SWIG_fail
;
26363 swig_obj
[0] = args
;
26364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26365 if (!SWIG_IsOK(res1
)) {
26366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26368 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 resultobj
= SWIG_Py_Void();
26381 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26382 PyObject
*resultobj
= 0;
26383 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26393 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26395 if (!SWIG_IsOK(res1
)) {
26396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26398 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26399 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26400 if (!SWIG_IsOK(ecode2
)) {
26401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26403 arg2
= static_cast< wxDouble
>(val2
);
26404 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26405 if (!SWIG_IsOK(ecode3
)) {
26406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26408 arg3
= static_cast< wxDouble
>(val3
);
26410 (arg1
)->MoveToPoint(arg2
,arg3
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26413 resultobj
= SWIG_Py_Void();
26420 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26421 PyObject
*resultobj
= 0;
26422 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26423 wxPoint2D
*arg2
= 0 ;
26428 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26430 if (!SWIG_IsOK(res1
)) {
26431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26433 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26436 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26439 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 resultobj
= SWIG_Py_Void();
26449 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26453 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26456 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26459 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26463 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26468 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26469 PyObject
*resultobj
= 0;
26470 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26480 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26482 if (!SWIG_IsOK(res1
)) {
26483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26485 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26486 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26487 if (!SWIG_IsOK(ecode2
)) {
26488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26490 arg2
= static_cast< wxDouble
>(val2
);
26491 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26492 if (!SWIG_IsOK(ecode3
)) {
26493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26495 arg3
= static_cast< wxDouble
>(val3
);
26497 (arg1
)->AddLineToPoint(arg2
,arg3
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26500 resultobj
= SWIG_Py_Void();
26507 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26508 PyObject
*resultobj
= 0;
26509 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26510 wxPoint2D
*arg2
= 0 ;
26515 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26517 if (!SWIG_IsOK(res1
)) {
26518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26520 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26523 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26526 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26527 if (PyErr_Occurred()) SWIG_fail
;
26529 resultobj
= SWIG_Py_Void();
26536 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26540 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26543 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26546 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26550 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26555 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26556 PyObject
*resultobj
= 0;
26557 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26579 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26581 if (!SWIG_IsOK(res1
)) {
26582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26584 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26585 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26586 if (!SWIG_IsOK(ecode2
)) {
26587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26589 arg2
= static_cast< wxDouble
>(val2
);
26590 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26591 if (!SWIG_IsOK(ecode3
)) {
26592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26594 arg3
= static_cast< wxDouble
>(val3
);
26595 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26596 if (!SWIG_IsOK(ecode4
)) {
26597 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26599 arg4
= static_cast< wxDouble
>(val4
);
26600 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26601 if (!SWIG_IsOK(ecode5
)) {
26602 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26604 arg5
= static_cast< wxDouble
>(val5
);
26605 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26606 if (!SWIG_IsOK(ecode6
)) {
26607 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26609 arg6
= static_cast< wxDouble
>(val6
);
26610 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26611 if (!SWIG_IsOK(ecode7
)) {
26612 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26614 arg7
= static_cast< wxDouble
>(val7
);
26616 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 resultobj
= SWIG_Py_Void();
26626 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26627 PyObject
*resultobj
= 0;
26628 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26629 wxPoint2D
*arg2
= 0 ;
26630 wxPoint2D
*arg3
= 0 ;
26631 wxPoint2D
*arg4
= 0 ;
26638 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26640 if (!SWIG_IsOK(res1
)) {
26641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26643 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26646 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26650 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26654 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26657 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26660 resultobj
= SWIG_Py_Void();
26667 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26671 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26674 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26677 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26681 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26686 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26687 PyObject
*resultobj
= 0;
26688 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26689 wxGraphicsPath
*arg2
= 0 ;
26694 PyObject
* obj0
= 0 ;
26695 PyObject
* obj1
= 0 ;
26696 char * kwnames
[] = {
26697 (char *) "self",(char *) "path", NULL
26700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26702 if (!SWIG_IsOK(res1
)) {
26703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26705 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26706 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26707 if (!SWIG_IsOK(res2
)) {
26708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26713 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26715 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26718 resultobj
= SWIG_Py_Void();
26725 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26726 PyObject
*resultobj
= 0;
26727 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26730 PyObject
*swig_obj
[1] ;
26732 if (!args
) SWIG_fail
;
26733 swig_obj
[0] = args
;
26734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26735 if (!SWIG_IsOK(res1
)) {
26736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26738 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26740 (arg1
)->CloseSubpath();
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 resultobj
= SWIG_Py_Void();
26750 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26751 PyObject
*resultobj
= 0;
26752 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26756 PyObject
*swig_obj
[1] ;
26758 if (!args
) SWIG_fail
;
26759 swig_obj
[0] = args
;
26760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26761 if (!SWIG_IsOK(res1
)) {
26762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
26764 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26766 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
26767 if (PyErr_Occurred()) SWIG_fail
;
26769 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
26776 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26777 PyObject
*resultobj
= 0;
26778 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26800 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26802 if (!SWIG_IsOK(res1
)) {
26803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26805 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26806 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26807 if (!SWIG_IsOK(ecode2
)) {
26808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
26810 arg2
= static_cast< wxDouble
>(val2
);
26811 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26812 if (!SWIG_IsOK(ecode3
)) {
26813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26815 arg3
= static_cast< wxDouble
>(val3
);
26816 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26817 if (!SWIG_IsOK(ecode4
)) {
26818 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26820 arg4
= static_cast< wxDouble
>(val4
);
26821 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26822 if (!SWIG_IsOK(ecode5
)) {
26823 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26825 arg5
= static_cast< wxDouble
>(val5
);
26826 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26827 if (!SWIG_IsOK(ecode6
)) {
26828 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
26830 arg6
= static_cast< wxDouble
>(val6
);
26831 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
26832 if (!SWIG_IsOK(ecode7
)) {
26833 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
26835 arg7
= static_cast< bool >(val7
);
26837 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26840 resultobj
= SWIG_Py_Void();
26847 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26848 PyObject
*resultobj
= 0;
26849 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26850 wxPoint2D
*arg2
= 0 ;
26867 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26869 if (!SWIG_IsOK(res1
)) {
26870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26872 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26875 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26877 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26878 if (!SWIG_IsOK(ecode3
)) {
26879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
26881 arg3
= static_cast< wxDouble
>(val3
);
26882 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26883 if (!SWIG_IsOK(ecode4
)) {
26884 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
26886 arg4
= static_cast< wxDouble
>(val4
);
26887 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26888 if (!SWIG_IsOK(ecode5
)) {
26889 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
26891 arg5
= static_cast< wxDouble
>(val5
);
26892 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
26893 if (!SWIG_IsOK(ecode6
)) {
26894 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
26896 arg6
= static_cast< bool >(val6
);
26898 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26899 if (PyErr_Occurred()) SWIG_fail
;
26901 resultobj
= SWIG_Py_Void();
26908 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
26912 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
26915 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
26918 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
26922 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
26927 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26928 PyObject
*resultobj
= 0;
26929 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26944 PyObject
* obj0
= 0 ;
26945 PyObject
* obj1
= 0 ;
26946 PyObject
* obj2
= 0 ;
26947 PyObject
* obj3
= 0 ;
26948 PyObject
* obj4
= 0 ;
26949 char * kwnames
[] = {
26950 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
26953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26955 if (!SWIG_IsOK(res1
)) {
26956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26958 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26959 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26960 if (!SWIG_IsOK(ecode2
)) {
26961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26963 arg2
= static_cast< wxDouble
>(val2
);
26964 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26965 if (!SWIG_IsOK(ecode3
)) {
26966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26968 arg3
= static_cast< wxDouble
>(val3
);
26969 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26970 if (!SWIG_IsOK(ecode4
)) {
26971 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26973 arg4
= static_cast< wxDouble
>(val4
);
26974 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26975 if (!SWIG_IsOK(ecode5
)) {
26976 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26978 arg5
= static_cast< wxDouble
>(val5
);
26980 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26983 resultobj
= SWIG_Py_Void();
26990 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26991 PyObject
*resultobj
= 0;
26992 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27007 PyObject
* obj0
= 0 ;
27008 PyObject
* obj1
= 0 ;
27009 PyObject
* obj2
= 0 ;
27010 PyObject
* obj3
= 0 ;
27011 PyObject
* obj4
= 0 ;
27012 char * kwnames
[] = {
27013 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27018 if (!SWIG_IsOK(res1
)) {
27019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27021 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27022 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27023 if (!SWIG_IsOK(ecode2
)) {
27024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27026 arg2
= static_cast< wxDouble
>(val2
);
27027 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27028 if (!SWIG_IsOK(ecode3
)) {
27029 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27031 arg3
= static_cast< wxDouble
>(val3
);
27032 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27033 if (!SWIG_IsOK(ecode4
)) {
27034 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27036 arg4
= static_cast< wxDouble
>(val4
);
27037 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27038 if (!SWIG_IsOK(ecode5
)) {
27039 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27041 arg5
= static_cast< wxDouble
>(val5
);
27043 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27044 if (PyErr_Occurred()) SWIG_fail
;
27046 resultobj
= SWIG_Py_Void();
27053 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
= 0;
27055 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27067 PyObject
* obj0
= 0 ;
27068 PyObject
* obj1
= 0 ;
27069 PyObject
* obj2
= 0 ;
27070 PyObject
* obj3
= 0 ;
27071 char * kwnames
[] = {
27072 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27077 if (!SWIG_IsOK(res1
)) {
27078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27080 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27081 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27082 if (!SWIG_IsOK(ecode2
)) {
27083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27085 arg2
= static_cast< wxDouble
>(val2
);
27086 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27087 if (!SWIG_IsOK(ecode3
)) {
27088 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27090 arg3
= static_cast< wxDouble
>(val3
);
27091 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27092 if (!SWIG_IsOK(ecode4
)) {
27093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27095 arg4
= static_cast< wxDouble
>(val4
);
27097 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27100 resultobj
= SWIG_Py_Void();
27107 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27108 PyObject
*resultobj
= 0;
27109 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27127 PyObject
* obj0
= 0 ;
27128 PyObject
* obj1
= 0 ;
27129 PyObject
* obj2
= 0 ;
27130 PyObject
* obj3
= 0 ;
27131 PyObject
* obj4
= 0 ;
27132 PyObject
* obj5
= 0 ;
27133 char * kwnames
[] = {
27134 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27139 if (!SWIG_IsOK(res1
)) {
27140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27142 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27143 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27144 if (!SWIG_IsOK(ecode2
)) {
27145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27147 arg2
= static_cast< wxDouble
>(val2
);
27148 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27149 if (!SWIG_IsOK(ecode3
)) {
27150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27152 arg3
= static_cast< wxDouble
>(val3
);
27153 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27154 if (!SWIG_IsOK(ecode4
)) {
27155 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27157 arg4
= static_cast< wxDouble
>(val4
);
27158 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27159 if (!SWIG_IsOK(ecode5
)) {
27160 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27162 arg5
= static_cast< wxDouble
>(val5
);
27163 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27164 if (!SWIG_IsOK(ecode6
)) {
27165 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27167 arg6
= static_cast< wxDouble
>(val6
);
27169 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= SWIG_Py_Void();
27179 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27180 PyObject
*resultobj
= 0;
27181 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27196 PyObject
* obj0
= 0 ;
27197 PyObject
* obj1
= 0 ;
27198 PyObject
* obj2
= 0 ;
27199 PyObject
* obj3
= 0 ;
27200 PyObject
* obj4
= 0 ;
27201 char * kwnames
[] = {
27202 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27207 if (!SWIG_IsOK(res1
)) {
27208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27210 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27211 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27212 if (!SWIG_IsOK(ecode2
)) {
27213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27215 arg2
= static_cast< wxDouble
>(val2
);
27216 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27217 if (!SWIG_IsOK(ecode3
)) {
27218 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27220 arg3
= static_cast< wxDouble
>(val3
);
27221 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27222 if (!SWIG_IsOK(ecode4
)) {
27223 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27225 arg4
= static_cast< wxDouble
>(val4
);
27226 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27227 if (!SWIG_IsOK(ecode5
)) {
27228 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27230 arg5
= static_cast< wxDouble
>(val5
);
27232 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27235 resultobj
= SWIG_Py_Void();
27242 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27243 PyObject
*resultobj
= 0;
27244 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27262 PyObject
* obj0
= 0 ;
27263 PyObject
* obj1
= 0 ;
27264 PyObject
* obj2
= 0 ;
27265 PyObject
* obj3
= 0 ;
27266 PyObject
* obj4
= 0 ;
27267 PyObject
* obj5
= 0 ;
27268 char * kwnames
[] = {
27269 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27274 if (!SWIG_IsOK(res1
)) {
27275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27277 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27278 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27279 if (!SWIG_IsOK(ecode2
)) {
27280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27282 arg2
= static_cast< wxDouble
>(val2
);
27283 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27284 if (!SWIG_IsOK(ecode3
)) {
27285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27287 arg3
= static_cast< wxDouble
>(val3
);
27288 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27289 if (!SWIG_IsOK(ecode4
)) {
27290 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27292 arg4
= static_cast< wxDouble
>(val4
);
27293 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27294 if (!SWIG_IsOK(ecode5
)) {
27295 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27297 arg5
= static_cast< wxDouble
>(val5
);
27298 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27299 if (!SWIG_IsOK(ecode6
)) {
27300 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27302 arg6
= static_cast< wxDouble
>(val6
);
27304 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27307 resultobj
= SWIG_Py_Void();
27314 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27315 PyObject
*resultobj
= 0;
27316 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27320 PyObject
*swig_obj
[1] ;
27322 if (!args
) SWIG_fail
;
27323 swig_obj
[0] = args
;
27324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27325 if (!SWIG_IsOK(res1
)) {
27326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27328 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27330 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27331 if (PyErr_Occurred()) SWIG_fail
;
27333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27340 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27341 PyObject
*resultobj
= 0;
27342 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27343 void *arg2
= (void *) 0 ;
27347 PyObject
* obj0
= 0 ;
27348 PyObject
* obj1
= 0 ;
27349 char * kwnames
[] = {
27350 (char *) "self",(char *) "p", NULL
27353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27355 if (!SWIG_IsOK(res1
)) {
27356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27358 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27359 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27360 if (!SWIG_IsOK(res2
)) {
27361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27364 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27365 if (PyErr_Occurred()) SWIG_fail
;
27367 resultobj
= SWIG_Py_Void();
27374 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27375 PyObject
*resultobj
= 0;
27376 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27377 wxGraphicsMatrix
*arg2
= 0 ;
27382 PyObject
* obj0
= 0 ;
27383 PyObject
* obj1
= 0 ;
27384 char * kwnames
[] = {
27385 (char *) "self",(char *) "matrix", NULL
27388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27390 if (!SWIG_IsOK(res1
)) {
27391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27393 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27395 if (!SWIG_IsOK(res2
)) {
27396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27401 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27403 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27406 resultobj
= SWIG_Py_Void();
27413 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27414 PyObject
*resultobj
= 0;
27415 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27416 wxRect2DDouble result
;
27419 PyObject
*swig_obj
[1] ;
27421 if (!args
) SWIG_fail
;
27422 swig_obj
[0] = args
;
27423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27424 if (!SWIG_IsOK(res1
)) {
27425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27427 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27429 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27430 if (PyErr_Occurred()) SWIG_fail
;
27432 resultobj
= SWIG_NewPointerObj((new wxRect2DDouble(static_cast< const wxRect2DDouble
& >(result
))), SWIGTYPE_p_wxRect2DDouble
, SWIG_POINTER_OWN
| 0 );
27439 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27440 PyObject
*resultobj
= 0;
27441 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27444 int arg4
= (int) wxODDEVEN_RULE
;
27455 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27457 if (!SWIG_IsOK(res1
)) {
27458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27460 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27461 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27462 if (!SWIG_IsOK(ecode2
)) {
27463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27465 arg2
= static_cast< wxDouble
>(val2
);
27466 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27467 if (!SWIG_IsOK(ecode3
)) {
27468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27470 arg3
= static_cast< wxDouble
>(val3
);
27472 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27473 if (!SWIG_IsOK(ecode4
)) {
27474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27476 arg4
= static_cast< int >(val4
);
27479 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27491 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27492 PyObject
*resultobj
= 0;
27493 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27494 wxPoint2DDouble
*arg2
= 0 ;
27495 int arg3
= (int) wxODDEVEN_RULE
;
27504 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27506 if (!SWIG_IsOK(res1
)) {
27507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27509 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27510 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPoint2DDouble
, 0 | 0);
27511 if (!SWIG_IsOK(res2
)) {
27512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxPoint2DDouble const &""'");
27517 arg2
= reinterpret_cast< wxPoint2DDouble
* >(argp2
);
27519 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27520 if (!SWIG_IsOK(ecode3
)) {
27521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27523 arg3
= static_cast< int >(val3
);
27526 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2DDouble
const &)*arg2
,arg3
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27538 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27542 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27544 if ((argc
>= 2) && (argc
<= 3)) {
27547 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxPoint2DDouble
, 0);
27548 _v
= SWIG_CheckState(res
);
27550 if (!_v
) goto check_1
;
27554 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27555 _v
= SWIG_CheckState(res
);
27558 if (!_v
) goto check_1
;
27560 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27564 if ((argc
>= 3) && (argc
<= 4)) {
27565 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27569 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27574 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27577 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27578 return SWIG_Py_Void();
27581 SWIGINTERN PyObject
*GraphicsPath_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27582 return SWIG_Python_InitShadowInstance(args
);
27585 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27586 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27591 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27592 PyObject
*pyobj
= 0;
27594 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27599 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27600 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27605 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27606 PyObject
*pyobj
= 0;
27608 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27613 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27614 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27619 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27620 PyObject
*pyobj
= 0;
27622 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27627 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27628 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27633 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27634 PyObject
*pyobj
= 0;
27636 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27641 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27642 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27647 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27648 PyObject
*pyobj
= 0;
27650 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27655 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27656 PyObject
*resultobj
= 0;
27657 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27660 PyObject
*swig_obj
[1] ;
27662 if (!args
) SWIG_fail
;
27663 swig_obj
[0] = args
;
27664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27665 if (!SWIG_IsOK(res1
)) {
27666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27668 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27674 resultobj
= SWIG_Py_Void();
27681 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27682 PyObject
*resultobj
= 0;
27683 wxWindowDC
*arg1
= 0 ;
27684 wxGraphicsContext
*result
= 0 ;
27688 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27690 if (!SWIG_IsOK(res1
)) {
27691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27696 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27698 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27699 if (PyErr_Occurred()) SWIG_fail
;
27701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27708 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27709 PyObject
*resultobj
= 0;
27710 wxWindow
*arg1
= (wxWindow
*) 0 ;
27711 wxGraphicsContext
*result
= 0 ;
27715 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27717 if (!SWIG_IsOK(res1
)) {
27718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
27720 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27722 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
27723 if (PyErr_Occurred()) SWIG_fail
;
27725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27732 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
27736 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
27741 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
27742 _v
= SWIG_CheckState(res
);
27744 if (!_v
) goto check_1
;
27745 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
27750 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
27754 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
27759 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27760 PyObject
*resultobj
= 0;
27761 wxGraphicsContext
*result
= 0 ;
27763 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
27765 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
27766 if (PyErr_Occurred()) SWIG_fail
;
27768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27775 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27776 PyObject
*resultobj
= 0;
27777 void *arg1
= (void *) 0 ;
27778 wxGraphicsContext
*result
= 0 ;
27780 PyObject
* obj0
= 0 ;
27781 char * kwnames
[] = {
27782 (char *) "context", NULL
27785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
27786 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27787 if (!SWIG_IsOK(res1
)) {
27788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
27791 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27801 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27802 PyObject
*resultobj
= 0;
27803 void *arg1
= (void *) 0 ;
27804 wxGraphicsContext
*result
= 0 ;
27806 PyObject
* obj0
= 0 ;
27807 char * kwnames
[] = {
27808 (char *) "window", NULL
27811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
27812 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
27813 if (!SWIG_IsOK(res1
)) {
27814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
27817 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27827 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27828 PyObject
*resultobj
= 0;
27829 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27830 wxGraphicsPath result
;
27833 PyObject
*swig_obj
[1] ;
27835 if (!args
) SWIG_fail
;
27836 swig_obj
[0] = args
;
27837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27838 if (!SWIG_IsOK(res1
)) {
27839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27841 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27843 result
= (arg1
)->CreatePath();
27844 if (PyErr_Occurred()) SWIG_fail
;
27846 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
27853 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27854 PyObject
*resultobj
= 0;
27855 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27857 wxGraphicsPen result
;
27862 PyObject
* obj0
= 0 ;
27863 PyObject
* obj1
= 0 ;
27864 char * kwnames
[] = {
27865 (char *) "self",(char *) "pen", NULL
27868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27870 if (!SWIG_IsOK(res1
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27873 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27874 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
27875 if (!SWIG_IsOK(res2
)) {
27876 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
27881 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27883 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27886 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
27893 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27894 PyObject
*resultobj
= 0;
27895 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27896 wxBrush
*arg2
= 0 ;
27897 wxGraphicsBrush result
;
27902 PyObject
* obj0
= 0 ;
27903 PyObject
* obj1
= 0 ;
27904 char * kwnames
[] = {
27905 (char *) "self",(char *) "brush", NULL
27908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27910 if (!SWIG_IsOK(res1
)) {
27911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27913 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27914 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
27915 if (!SWIG_IsOK(res2
)) {
27916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
27921 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27923 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27926 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
27933 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27934 PyObject
*resultobj
= 0;
27935 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27940 wxColour
*arg6
= 0 ;
27941 wxColour
*arg7
= 0 ;
27942 wxGraphicsBrush result
;
27955 PyObject
* obj0
= 0 ;
27956 PyObject
* obj1
= 0 ;
27957 PyObject
* obj2
= 0 ;
27958 PyObject
* obj3
= 0 ;
27959 PyObject
* obj4
= 0 ;
27960 PyObject
* obj5
= 0 ;
27961 PyObject
* obj6
= 0 ;
27962 char * kwnames
[] = {
27963 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
27966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
27968 if (!SWIG_IsOK(res1
)) {
27969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27971 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27972 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27973 if (!SWIG_IsOK(ecode2
)) {
27974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
27976 arg2
= static_cast< wxDouble
>(val2
);
27977 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27978 if (!SWIG_IsOK(ecode3
)) {
27979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
27981 arg3
= static_cast< wxDouble
>(val3
);
27982 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27983 if (!SWIG_IsOK(ecode4
)) {
27984 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
27986 arg4
= static_cast< wxDouble
>(val4
);
27987 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27988 if (!SWIG_IsOK(ecode5
)) {
27989 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
27991 arg5
= static_cast< wxDouble
>(val5
);
27994 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27998 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28001 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28002 if (PyErr_Occurred()) SWIG_fail
;
28004 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28011 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28012 PyObject
*resultobj
= 0;
28013 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28019 wxColour
*arg7
= 0 ;
28020 wxColour
*arg8
= 0 ;
28021 wxGraphicsBrush result
;
28036 PyObject
* obj0
= 0 ;
28037 PyObject
* obj1
= 0 ;
28038 PyObject
* obj2
= 0 ;
28039 PyObject
* obj3
= 0 ;
28040 PyObject
* obj4
= 0 ;
28041 PyObject
* obj5
= 0 ;
28042 PyObject
* obj6
= 0 ;
28043 PyObject
* obj7
= 0 ;
28044 char * kwnames
[] = {
28045 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28050 if (!SWIG_IsOK(res1
)) {
28051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28053 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28054 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28055 if (!SWIG_IsOK(ecode2
)) {
28056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28058 arg2
= static_cast< wxDouble
>(val2
);
28059 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28060 if (!SWIG_IsOK(ecode3
)) {
28061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28063 arg3
= static_cast< wxDouble
>(val3
);
28064 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28065 if (!SWIG_IsOK(ecode4
)) {
28066 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28068 arg4
= static_cast< wxDouble
>(val4
);
28069 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28070 if (!SWIG_IsOK(ecode5
)) {
28071 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28073 arg5
= static_cast< wxDouble
>(val5
);
28074 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28075 if (!SWIG_IsOK(ecode6
)) {
28076 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28078 arg6
= static_cast< wxDouble
>(val6
);
28081 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28085 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28088 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28091 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28098 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28099 PyObject
*resultobj
= 0;
28100 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28102 wxColour
const &arg3_defvalue
= *wxBLACK
;
28103 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28104 wxGraphicsFont result
;
28110 PyObject
* obj0
= 0 ;
28111 PyObject
* obj1
= 0 ;
28112 PyObject
* obj2
= 0 ;
28113 char * kwnames
[] = {
28114 (char *) "self",(char *) "font",(char *) "col", NULL
28117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28119 if (!SWIG_IsOK(res1
)) {
28120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28122 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28123 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28124 if (!SWIG_IsOK(res2
)) {
28125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28130 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28134 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28138 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28139 if (PyErr_Occurred()) SWIG_fail
;
28141 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28148 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28149 PyObject
*resultobj
= 0;
28150 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28151 wxDouble arg2
= (wxDouble
) 1.0 ;
28152 wxDouble arg3
= (wxDouble
) 0.0 ;
28153 wxDouble arg4
= (wxDouble
) 0.0 ;
28154 wxDouble arg5
= (wxDouble
) 1.0 ;
28155 wxDouble arg6
= (wxDouble
) 0.0 ;
28156 wxDouble arg7
= (wxDouble
) 0.0 ;
28157 wxGraphicsMatrix result
;
28172 PyObject
* obj0
= 0 ;
28173 PyObject
* obj1
= 0 ;
28174 PyObject
* obj2
= 0 ;
28175 PyObject
* obj3
= 0 ;
28176 PyObject
* obj4
= 0 ;
28177 PyObject
* obj5
= 0 ;
28178 PyObject
* obj6
= 0 ;
28179 char * kwnames
[] = {
28180 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28185 if (!SWIG_IsOK(res1
)) {
28186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28188 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28190 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28191 if (!SWIG_IsOK(ecode2
)) {
28192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28194 arg2
= static_cast< wxDouble
>(val2
);
28197 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28198 if (!SWIG_IsOK(ecode3
)) {
28199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28201 arg3
= static_cast< wxDouble
>(val3
);
28204 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28205 if (!SWIG_IsOK(ecode4
)) {
28206 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28208 arg4
= static_cast< wxDouble
>(val4
);
28211 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28212 if (!SWIG_IsOK(ecode5
)) {
28213 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28215 arg5
= static_cast< wxDouble
>(val5
);
28218 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28219 if (!SWIG_IsOK(ecode6
)) {
28220 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28222 arg6
= static_cast< wxDouble
>(val6
);
28225 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28226 if (!SWIG_IsOK(ecode7
)) {
28227 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28229 arg7
= static_cast< wxDouble
>(val7
);
28232 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28235 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28242 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28243 PyObject
*resultobj
= 0;
28244 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28247 PyObject
*swig_obj
[1] ;
28249 if (!args
) SWIG_fail
;
28250 swig_obj
[0] = args
;
28251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28252 if (!SWIG_IsOK(res1
)) {
28253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28255 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28257 (arg1
)->PushState();
28258 if (PyErr_Occurred()) SWIG_fail
;
28260 resultobj
= SWIG_Py_Void();
28267 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28268 PyObject
*resultobj
= 0;
28269 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28272 PyObject
*swig_obj
[1] ;
28274 if (!args
) SWIG_fail
;
28275 swig_obj
[0] = args
;
28276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28277 if (!SWIG_IsOK(res1
)) {
28278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28280 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28282 (arg1
)->PopState();
28283 if (PyErr_Occurred()) SWIG_fail
;
28285 resultobj
= SWIG_Py_Void();
28292 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28293 PyObject
*resultobj
= 0;
28294 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28295 wxRegion
*arg2
= 0 ;
28300 PyObject
* obj0
= 0 ;
28301 PyObject
* obj1
= 0 ;
28302 char * kwnames
[] = {
28303 (char *) "self",(char *) "region", NULL
28306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28308 if (!SWIG_IsOK(res1
)) {
28309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28311 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28312 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28313 if (!SWIG_IsOK(res2
)) {
28314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28319 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28321 (arg1
)->Clip((wxRegion
const &)*arg2
);
28322 if (PyErr_Occurred()) SWIG_fail
;
28324 resultobj
= SWIG_Py_Void();
28331 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28332 PyObject
*resultobj
= 0;
28333 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28348 PyObject
* obj0
= 0 ;
28349 PyObject
* obj1
= 0 ;
28350 PyObject
* obj2
= 0 ;
28351 PyObject
* obj3
= 0 ;
28352 PyObject
* obj4
= 0 ;
28353 char * kwnames
[] = {
28354 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28359 if (!SWIG_IsOK(res1
)) {
28360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28362 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28363 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28364 if (!SWIG_IsOK(ecode2
)) {
28365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28367 arg2
= static_cast< wxDouble
>(val2
);
28368 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28369 if (!SWIG_IsOK(ecode3
)) {
28370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28372 arg3
= static_cast< wxDouble
>(val3
);
28373 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28374 if (!SWIG_IsOK(ecode4
)) {
28375 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28377 arg4
= static_cast< wxDouble
>(val4
);
28378 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28379 if (!SWIG_IsOK(ecode5
)) {
28380 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28382 arg5
= static_cast< wxDouble
>(val5
);
28384 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28387 resultobj
= SWIG_Py_Void();
28394 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28395 PyObject
*resultobj
= 0;
28396 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28399 PyObject
*swig_obj
[1] ;
28401 if (!args
) SWIG_fail
;
28402 swig_obj
[0] = args
;
28403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28404 if (!SWIG_IsOK(res1
)) {
28405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28407 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28409 (arg1
)->ResetClip();
28410 if (PyErr_Occurred()) SWIG_fail
;
28412 resultobj
= SWIG_Py_Void();
28419 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28420 PyObject
*resultobj
= 0;
28421 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28425 PyObject
*swig_obj
[1] ;
28427 if (!args
) SWIG_fail
;
28428 swig_obj
[0] = args
;
28429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28430 if (!SWIG_IsOK(res1
)) {
28431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28433 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28435 result
= (void *)(arg1
)->GetNativeContext();
28436 if (PyErr_Occurred()) SWIG_fail
;
28438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28445 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28446 PyObject
*resultobj
= 0;
28447 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28451 PyObject
*swig_obj
[1] ;
28453 if (!args
) SWIG_fail
;
28454 swig_obj
[0] = args
;
28455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28456 if (!SWIG_IsOK(res1
)) {
28457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28459 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28461 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
28462 if (PyErr_Occurred()) SWIG_fail
;
28464 resultobj
= SWIG_From_int(static_cast< int >(result
));
28471 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28472 PyObject
*resultobj
= 0;
28473 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28480 PyObject
* obj0
= 0 ;
28481 PyObject
* obj1
= 0 ;
28482 char * kwnames
[] = {
28483 (char *) "self",(char *) "function", NULL
28486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28488 if (!SWIG_IsOK(res1
)) {
28489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28491 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28492 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28493 if (!SWIG_IsOK(ecode2
)) {
28494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28496 arg2
= static_cast< int >(val2
);
28498 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28510 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28511 PyObject
*resultobj
= 0;
28512 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28521 PyObject
* obj0
= 0 ;
28522 PyObject
* obj1
= 0 ;
28523 PyObject
* obj2
= 0 ;
28524 char * kwnames
[] = {
28525 (char *) "self",(char *) "dx",(char *) "dy", NULL
28528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28530 if (!SWIG_IsOK(res1
)) {
28531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28533 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28534 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28535 if (!SWIG_IsOK(ecode2
)) {
28536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28538 arg2
= static_cast< wxDouble
>(val2
);
28539 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28540 if (!SWIG_IsOK(ecode3
)) {
28541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28543 arg3
= static_cast< wxDouble
>(val3
);
28545 (arg1
)->Translate(arg2
,arg3
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28548 resultobj
= SWIG_Py_Void();
28555 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28556 PyObject
*resultobj
= 0;
28557 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28566 PyObject
* obj0
= 0 ;
28567 PyObject
* obj1
= 0 ;
28568 PyObject
* obj2
= 0 ;
28569 char * kwnames
[] = {
28570 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28575 if (!SWIG_IsOK(res1
)) {
28576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28578 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28579 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28580 if (!SWIG_IsOK(ecode2
)) {
28581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28583 arg2
= static_cast< wxDouble
>(val2
);
28584 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28585 if (!SWIG_IsOK(ecode3
)) {
28586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28588 arg3
= static_cast< wxDouble
>(val3
);
28590 (arg1
)->Scale(arg2
,arg3
);
28591 if (PyErr_Occurred()) SWIG_fail
;
28593 resultobj
= SWIG_Py_Void();
28600 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28601 PyObject
*resultobj
= 0;
28602 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28608 PyObject
* obj0
= 0 ;
28609 PyObject
* obj1
= 0 ;
28610 char * kwnames
[] = {
28611 (char *) "self",(char *) "angle", NULL
28614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28616 if (!SWIG_IsOK(res1
)) {
28617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28619 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28620 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28621 if (!SWIG_IsOK(ecode2
)) {
28622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28624 arg2
= static_cast< wxDouble
>(val2
);
28626 (arg1
)->Rotate(arg2
);
28627 if (PyErr_Occurred()) SWIG_fail
;
28629 resultobj
= SWIG_Py_Void();
28636 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28637 PyObject
*resultobj
= 0;
28638 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28639 wxGraphicsMatrix
*arg2
= 0 ;
28644 PyObject
* obj0
= 0 ;
28645 PyObject
* obj1
= 0 ;
28646 char * kwnames
[] = {
28647 (char *) "self",(char *) "matrix", NULL
28650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28652 if (!SWIG_IsOK(res1
)) {
28653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28655 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28657 if (!SWIG_IsOK(res2
)) {
28658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28663 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28665 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28666 if (PyErr_Occurred()) SWIG_fail
;
28668 resultobj
= SWIG_Py_Void();
28675 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28676 PyObject
*resultobj
= 0;
28677 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28678 wxGraphicsMatrix
*arg2
= 0 ;
28683 PyObject
* obj0
= 0 ;
28684 PyObject
* obj1
= 0 ;
28685 char * kwnames
[] = {
28686 (char *) "self",(char *) "matrix", NULL
28689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28691 if (!SWIG_IsOK(res1
)) {
28692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28694 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28695 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28696 if (!SWIG_IsOK(res2
)) {
28697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28702 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28704 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28705 if (PyErr_Occurred()) SWIG_fail
;
28707 resultobj
= SWIG_Py_Void();
28714 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28715 PyObject
*resultobj
= 0;
28716 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28717 wxGraphicsMatrix result
;
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_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28728 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28730 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
28731 if (PyErr_Occurred()) SWIG_fail
;
28733 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28740 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28741 PyObject
*resultobj
= 0;
28742 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28743 wxGraphicsPen
*arg2
= 0 ;
28749 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
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_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28754 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28755 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
28756 if (!SWIG_IsOK(res2
)) {
28757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
28762 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
28764 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
28765 if (PyErr_Occurred()) SWIG_fail
;
28767 resultobj
= SWIG_Py_Void();
28774 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28775 PyObject
*resultobj
= 0;
28776 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28783 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28785 if (!SWIG_IsOK(res1
)) {
28786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28788 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28789 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28790 if (!SWIG_IsOK(res2
)) {
28791 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
28796 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28798 (arg1
)->SetPen((wxPen
const &)*arg2
);
28799 if (PyErr_Occurred()) SWIG_fail
;
28801 resultobj
= SWIG_Py_Void();
28808 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
28812 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
28817 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
28818 _v
= SWIG_CheckState(res
);
28820 if (!_v
) goto check_1
;
28821 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
28826 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
28830 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
28835 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28836 PyObject
*resultobj
= 0;
28837 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28838 wxGraphicsBrush
*arg2
= 0 ;
28844 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28846 if (!SWIG_IsOK(res1
)) {
28847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28849 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28850 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
28851 if (!SWIG_IsOK(res2
)) {
28852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
28857 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
28859 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
28860 if (PyErr_Occurred()) SWIG_fail
;
28862 resultobj
= SWIG_Py_Void();
28869 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28870 PyObject
*resultobj
= 0;
28871 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28872 wxBrush
*arg2
= 0 ;
28878 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28880 if (!SWIG_IsOK(res1
)) {
28881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28883 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28884 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28885 if (!SWIG_IsOK(res2
)) {
28886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28891 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28893 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
28894 if (PyErr_Occurred()) SWIG_fail
;
28896 resultobj
= SWIG_Py_Void();
28903 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
28907 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
28912 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
28913 _v
= SWIG_CheckState(res
);
28915 if (!_v
) goto check_1
;
28916 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
28921 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
28925 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
28930 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28931 PyObject
*resultobj
= 0;
28932 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28933 wxGraphicsFont
*arg2
= 0 ;
28939 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
28940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28941 if (!SWIG_IsOK(res1
)) {
28942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28944 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28945 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
28946 if (!SWIG_IsOK(res2
)) {
28947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
28952 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
28954 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
28955 if (PyErr_Occurred()) SWIG_fail
;
28957 resultobj
= SWIG_Py_Void();
28964 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28965 PyObject
*resultobj
= 0;
28966 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28968 wxColour
const &arg3_defvalue
= *wxBLACK
;
28969 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28976 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28978 if (!SWIG_IsOK(res1
)) {
28979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28981 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28982 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28983 if (!SWIG_IsOK(res2
)) {
28984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28989 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28993 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
28997 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28998 if (PyErr_Occurred()) SWIG_fail
;
29000 resultobj
= SWIG_Py_Void();
29007 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29011 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29016 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29017 _v
= SWIG_CheckState(res
);
29019 if (!_v
) goto check_1
;
29020 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29024 if ((argc
>= 2) && (argc
<= 3)) {
29025 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29029 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29034 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
= 0;
29036 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29037 wxGraphicsPath
*arg2
= 0 ;
29042 PyObject
* obj0
= 0 ;
29043 PyObject
* obj1
= 0 ;
29044 char * kwnames
[] = {
29045 (char *) "self",(char *) "path", NULL
29048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29050 if (!SWIG_IsOK(res1
)) {
29051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29053 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29055 if (!SWIG_IsOK(res2
)) {
29056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29061 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29063 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29064 if (PyErr_Occurred()) SWIG_fail
;
29066 resultobj
= SWIG_Py_Void();
29073 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29074 PyObject
*resultobj
= 0;
29075 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29076 wxGraphicsPath
*arg2
= 0 ;
29077 int arg3
= (int) wxODDEVEN_RULE
;
29084 PyObject
* obj0
= 0 ;
29085 PyObject
* obj1
= 0 ;
29086 PyObject
* obj2
= 0 ;
29087 char * kwnames
[] = {
29088 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29093 if (!SWIG_IsOK(res1
)) {
29094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29096 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29097 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29098 if (!SWIG_IsOK(res2
)) {
29099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29104 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29107 if (!SWIG_IsOK(ecode3
)) {
29108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29110 arg3
= static_cast< int >(val3
);
29113 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29116 resultobj
= SWIG_Py_Void();
29123 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29124 PyObject
*resultobj
= 0;
29125 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29126 wxGraphicsPath
*arg2
= 0 ;
29127 int arg3
= (int) wxODDEVEN_RULE
;
29134 PyObject
* obj0
= 0 ;
29135 PyObject
* obj1
= 0 ;
29136 PyObject
* obj2
= 0 ;
29137 char * kwnames
[] = {
29138 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29143 if (!SWIG_IsOK(res1
)) {
29144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29146 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29147 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29148 if (!SWIG_IsOK(res2
)) {
29149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29154 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29157 if (!SWIG_IsOK(ecode3
)) {
29158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29160 arg3
= static_cast< int >(val3
);
29163 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29164 if (PyErr_Occurred()) SWIG_fail
;
29166 resultobj
= SWIG_Py_Void();
29173 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29174 PyObject
*resultobj
= 0;
29175 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29176 wxString
*arg2
= 0 ;
29179 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29180 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29183 bool temp2
= false ;
29190 PyObject
* obj0
= 0 ;
29191 PyObject
* obj1
= 0 ;
29192 PyObject
* obj2
= 0 ;
29193 PyObject
* obj3
= 0 ;
29194 PyObject
* obj4
= 0 ;
29195 char * kwnames
[] = {
29196 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29201 if (!SWIG_IsOK(res1
)) {
29202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29204 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29206 arg2
= wxString_in_helper(obj1
);
29207 if (arg2
== NULL
) SWIG_fail
;
29210 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29211 if (!SWIG_IsOK(ecode3
)) {
29212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29214 arg3
= static_cast< wxDouble
>(val3
);
29215 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29216 if (!SWIG_IsOK(ecode4
)) {
29217 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29219 arg4
= static_cast< wxDouble
>(val4
);
29221 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29222 if (!SWIG_IsOK(res5
)) {
29223 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29228 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29231 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29234 resultobj
= SWIG_Py_Void();
29249 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29250 PyObject
*resultobj
= 0;
29251 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29252 wxString
*arg2
= 0 ;
29256 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29257 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29260 bool temp2
= false ;
29269 PyObject
* obj0
= 0 ;
29270 PyObject
* obj1
= 0 ;
29271 PyObject
* obj2
= 0 ;
29272 PyObject
* obj3
= 0 ;
29273 PyObject
* obj4
= 0 ;
29274 PyObject
* obj5
= 0 ;
29275 char * kwnames
[] = {
29276 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29281 if (!SWIG_IsOK(res1
)) {
29282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29284 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29286 arg2
= wxString_in_helper(obj1
);
29287 if (arg2
== NULL
) SWIG_fail
;
29290 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29291 if (!SWIG_IsOK(ecode3
)) {
29292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29294 arg3
= static_cast< wxDouble
>(val3
);
29295 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29296 if (!SWIG_IsOK(ecode4
)) {
29297 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29299 arg4
= static_cast< wxDouble
>(val4
);
29300 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29301 if (!SWIG_IsOK(ecode5
)) {
29302 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29304 arg5
= static_cast< wxDouble
>(val5
);
29306 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29307 if (!SWIG_IsOK(res6
)) {
29308 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29313 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29316 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29317 if (PyErr_Occurred()) SWIG_fail
;
29319 resultobj
= SWIG_Py_Void();
29334 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29335 PyObject
*resultobj
= 0;
29336 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29337 wxString
*arg2
= 0 ;
29338 wxDouble
*arg3
= (wxDouble
*) 0 ;
29339 wxDouble
*arg4
= (wxDouble
*) 0 ;
29340 wxDouble
*arg5
= (wxDouble
*) 0 ;
29341 wxDouble
*arg6
= (wxDouble
*) 0 ;
29344 bool temp2
= false ;
29346 int res3
= SWIG_TMPOBJ
;
29348 int res4
= SWIG_TMPOBJ
;
29350 int res5
= SWIG_TMPOBJ
;
29352 int res6
= SWIG_TMPOBJ
;
29353 PyObject
* obj0
= 0 ;
29354 PyObject
* obj1
= 0 ;
29355 char * kwnames
[] = {
29356 (char *) "self",(char *) "text", NULL
29363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29365 if (!SWIG_IsOK(res1
)) {
29366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29368 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29370 arg2
= wxString_in_helper(obj1
);
29371 if (arg2
== NULL
) SWIG_fail
;
29375 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29376 if (PyErr_Occurred()) SWIG_fail
;
29378 resultobj
= SWIG_Py_Void();
29379 if (SWIG_IsTmpObj(res3
)) {
29380 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29382 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29385 if (SWIG_IsTmpObj(res4
)) {
29386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29388 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29391 if (SWIG_IsTmpObj(res5
)) {
29392 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29394 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29395 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29397 if (SWIG_IsTmpObj(res6
)) {
29398 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29400 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29401 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29417 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29418 PyObject
*resultobj
= 0;
29419 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29420 wxString
*arg2
= 0 ;
29421 PyObject
*result
= 0 ;
29424 bool temp2
= false ;
29425 PyObject
* obj0
= 0 ;
29426 PyObject
* obj1
= 0 ;
29427 char * kwnames
[] = {
29428 (char *) "self",(char *) "text", NULL
29431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29433 if (!SWIG_IsOK(res1
)) {
29434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29436 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29438 arg2
= wxString_in_helper(obj1
);
29439 if (arg2
== NULL
) SWIG_fail
;
29443 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= result
;
29461 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29462 PyObject
*resultobj
= 0;
29463 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29464 wxString
*arg2
= 0 ;
29465 wxArrayDouble result
;
29468 bool temp2
= false ;
29469 PyObject
* obj0
= 0 ;
29470 PyObject
* obj1
= 0 ;
29471 char * kwnames
[] = {
29472 (char *) "self",(char *) "text", NULL
29475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29477 if (!SWIG_IsOK(res1
)) {
29478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29480 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29482 arg2
= wxString_in_helper(obj1
);
29483 if (arg2
== NULL
) SWIG_fail
;
29487 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29488 if (PyErr_Occurred()) SWIG_fail
;
29491 resultobj
= wxArrayDouble2PyList_helper(result
);
29507 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29508 PyObject
*resultobj
= 0;
29509 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29510 wxBitmap
*arg2
= 0 ;
29527 PyObject
* obj0
= 0 ;
29528 PyObject
* obj1
= 0 ;
29529 PyObject
* obj2
= 0 ;
29530 PyObject
* obj3
= 0 ;
29531 PyObject
* obj4
= 0 ;
29532 PyObject
* obj5
= 0 ;
29533 char * kwnames
[] = {
29534 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29539 if (!SWIG_IsOK(res1
)) {
29540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29542 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29544 if (!SWIG_IsOK(res2
)) {
29545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29550 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29551 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29552 if (!SWIG_IsOK(ecode3
)) {
29553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29555 arg3
= static_cast< wxDouble
>(val3
);
29556 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29557 if (!SWIG_IsOK(ecode4
)) {
29558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29560 arg4
= static_cast< wxDouble
>(val4
);
29561 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29562 if (!SWIG_IsOK(ecode5
)) {
29563 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29565 arg5
= static_cast< wxDouble
>(val5
);
29566 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29567 if (!SWIG_IsOK(ecode6
)) {
29568 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29570 arg6
= static_cast< wxDouble
>(val6
);
29572 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29573 if (PyErr_Occurred()) SWIG_fail
;
29575 resultobj
= SWIG_Py_Void();
29582 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29583 PyObject
*resultobj
= 0;
29584 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29602 PyObject
* obj0
= 0 ;
29603 PyObject
* obj1
= 0 ;
29604 PyObject
* obj2
= 0 ;
29605 PyObject
* obj3
= 0 ;
29606 PyObject
* obj4
= 0 ;
29607 PyObject
* obj5
= 0 ;
29608 char * kwnames
[] = {
29609 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29614 if (!SWIG_IsOK(res1
)) {
29615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29617 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29619 if (!SWIG_IsOK(res2
)) {
29620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29625 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29626 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29627 if (!SWIG_IsOK(ecode3
)) {
29628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29630 arg3
= static_cast< wxDouble
>(val3
);
29631 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29632 if (!SWIG_IsOK(ecode4
)) {
29633 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29635 arg4
= static_cast< wxDouble
>(val4
);
29636 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29637 if (!SWIG_IsOK(ecode5
)) {
29638 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29640 arg5
= static_cast< wxDouble
>(val5
);
29641 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29642 if (!SWIG_IsOK(ecode6
)) {
29643 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29645 arg6
= static_cast< wxDouble
>(val6
);
29647 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29648 if (PyErr_Occurred()) SWIG_fail
;
29650 resultobj
= SWIG_Py_Void();
29657 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29658 PyObject
*resultobj
= 0;
29659 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29674 PyObject
* obj0
= 0 ;
29675 PyObject
* obj1
= 0 ;
29676 PyObject
* obj2
= 0 ;
29677 PyObject
* obj3
= 0 ;
29678 PyObject
* obj4
= 0 ;
29679 char * kwnames
[] = {
29680 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29685 if (!SWIG_IsOK(res1
)) {
29686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29688 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29689 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29690 if (!SWIG_IsOK(ecode2
)) {
29691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29693 arg2
= static_cast< wxDouble
>(val2
);
29694 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29695 if (!SWIG_IsOK(ecode3
)) {
29696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29698 arg3
= static_cast< wxDouble
>(val3
);
29699 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29700 if (!SWIG_IsOK(ecode4
)) {
29701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29703 arg4
= static_cast< wxDouble
>(val4
);
29704 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29705 if (!SWIG_IsOK(ecode5
)) {
29706 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29708 arg5
= static_cast< wxDouble
>(val5
);
29710 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29711 if (PyErr_Occurred()) SWIG_fail
;
29713 resultobj
= SWIG_Py_Void();
29720 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29721 PyObject
*resultobj
= 0;
29722 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29724 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29727 PyObject
* obj0
= 0 ;
29728 PyObject
* obj1
= 0 ;
29729 char * kwnames
[] = {
29730 (char *) "self",(char *) "points", NULL
29733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29735 if (!SWIG_IsOK(res1
)) {
29736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29738 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29740 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29741 if (arg3
== NULL
) SWIG_fail
;
29744 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
29745 if (PyErr_Occurred()) SWIG_fail
;
29747 resultobj
= SWIG_Py_Void();
29749 if (arg3
) delete [] arg3
;
29754 if (arg3
) delete [] arg3
;
29760 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29761 PyObject
*resultobj
= 0;
29762 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29763 PyObject
*arg2
= (PyObject
*) 0 ;
29764 PyObject
*arg3
= (PyObject
*) 0 ;
29767 PyObject
* obj0
= 0 ;
29768 PyObject
* obj1
= 0 ;
29769 PyObject
* obj2
= 0 ;
29770 char * kwnames
[] = {
29771 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
29774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29776 if (!SWIG_IsOK(res1
)) {
29777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29779 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29783 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
29784 if (PyErr_Occurred()) SWIG_fail
;
29786 resultobj
= SWIG_Py_Void();
29793 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29794 PyObject
*resultobj
= 0;
29795 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29797 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
29798 int arg4
= (int) wxODDEVEN_RULE
;
29803 PyObject
* obj0
= 0 ;
29804 PyObject
* obj1
= 0 ;
29805 PyObject
* obj2
= 0 ;
29806 char * kwnames
[] = {
29807 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
29810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29812 if (!SWIG_IsOK(res1
)) {
29813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29815 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29817 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
29818 if (arg3
== NULL
) SWIG_fail
;
29821 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
29822 if (!SWIG_IsOK(ecode4
)) {
29823 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
29825 arg4
= static_cast< int >(val4
);
29828 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
29829 if (PyErr_Occurred()) SWIG_fail
;
29831 resultobj
= SWIG_Py_Void();
29833 if (arg3
) delete [] arg3
;
29838 if (arg3
) delete [] arg3
;
29844 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29845 PyObject
*resultobj
= 0;
29846 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29861 PyObject
* obj0
= 0 ;
29862 PyObject
* obj1
= 0 ;
29863 PyObject
* obj2
= 0 ;
29864 PyObject
* obj3
= 0 ;
29865 PyObject
* obj4
= 0 ;
29866 char * kwnames
[] = {
29867 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29872 if (!SWIG_IsOK(res1
)) {
29873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29875 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29876 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29877 if (!SWIG_IsOK(ecode2
)) {
29878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
29880 arg2
= static_cast< wxDouble
>(val2
);
29881 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29882 if (!SWIG_IsOK(ecode3
)) {
29883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
29885 arg3
= static_cast< wxDouble
>(val3
);
29886 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29887 if (!SWIG_IsOK(ecode4
)) {
29888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
29890 arg4
= static_cast< wxDouble
>(val4
);
29891 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29892 if (!SWIG_IsOK(ecode5
)) {
29893 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
29895 arg5
= static_cast< wxDouble
>(val5
);
29897 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29898 if (PyErr_Occurred()) SWIG_fail
;
29900 resultobj
= SWIG_Py_Void();
29907 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29908 PyObject
*resultobj
= 0;
29909 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29924 PyObject
* obj0
= 0 ;
29925 PyObject
* obj1
= 0 ;
29926 PyObject
* obj2
= 0 ;
29927 PyObject
* obj3
= 0 ;
29928 PyObject
* obj4
= 0 ;
29929 char * kwnames
[] = {
29930 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29935 if (!SWIG_IsOK(res1
)) {
29936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29938 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29939 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29940 if (!SWIG_IsOK(ecode2
)) {
29941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
29943 arg2
= static_cast< wxDouble
>(val2
);
29944 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29945 if (!SWIG_IsOK(ecode3
)) {
29946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
29948 arg3
= static_cast< wxDouble
>(val3
);
29949 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29950 if (!SWIG_IsOK(ecode4
)) {
29951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
29953 arg4
= static_cast< wxDouble
>(val4
);
29954 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29955 if (!SWIG_IsOK(ecode5
)) {
29956 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
29958 arg5
= static_cast< wxDouble
>(val5
);
29960 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
29961 if (PyErr_Occurred()) SWIG_fail
;
29963 resultobj
= SWIG_Py_Void();
29970 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29971 PyObject
*resultobj
= 0;
29972 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29990 PyObject
* obj0
= 0 ;
29991 PyObject
* obj1
= 0 ;
29992 PyObject
* obj2
= 0 ;
29993 PyObject
* obj3
= 0 ;
29994 PyObject
* obj4
= 0 ;
29995 PyObject
* obj5
= 0 ;
29996 char * kwnames
[] = {
29997 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30002 if (!SWIG_IsOK(res1
)) {
30003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30005 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30006 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30007 if (!SWIG_IsOK(ecode2
)) {
30008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30010 arg2
= static_cast< wxDouble
>(val2
);
30011 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30012 if (!SWIG_IsOK(ecode3
)) {
30013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30015 arg3
= static_cast< wxDouble
>(val3
);
30016 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30017 if (!SWIG_IsOK(ecode4
)) {
30018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30020 arg4
= static_cast< wxDouble
>(val4
);
30021 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30022 if (!SWIG_IsOK(ecode5
)) {
30023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30025 arg5
= static_cast< wxDouble
>(val5
);
30026 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30027 if (!SWIG_IsOK(ecode6
)) {
30028 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30030 arg6
= static_cast< wxDouble
>(val6
);
30032 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30033 if (PyErr_Occurred()) SWIG_fail
;
30035 resultobj
= SWIG_Py_Void();
30042 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30043 PyObject
*resultobj
= 0;
30044 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30048 PyObject
*swig_obj
[1] ;
30050 if (!args
) SWIG_fail
;
30051 swig_obj
[0] = args
;
30052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30053 if (!SWIG_IsOK(res1
)) {
30054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30056 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30058 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30059 if (PyErr_Occurred()) SWIG_fail
;
30062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30070 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30072 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30073 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30074 return SWIG_Py_Void();
30077 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30078 PyObject
*resultobj
= 0;
30079 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30082 PyObject
*swig_obj
[1] ;
30084 if (!args
) SWIG_fail
;
30085 swig_obj
[0] = args
;
30086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30087 if (!SWIG_IsOK(res1
)) {
30088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30090 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30094 if (PyErr_Occurred()) SWIG_fail
;
30096 resultobj
= SWIG_Py_Void();
30103 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30104 PyObject
*resultobj
= 0;
30105 wxGraphicsRenderer
*result
= 0 ;
30107 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30109 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30119 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30120 PyObject
*resultobj
= 0;
30121 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30122 wxWindowDC
*arg2
= 0 ;
30123 wxGraphicsContext
*result
= 0 ;
30129 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30131 if (!SWIG_IsOK(res1
)) {
30132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30134 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30135 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30136 if (!SWIG_IsOK(res2
)) {
30137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30142 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30144 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30154 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30155 PyObject
*resultobj
= 0;
30156 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30157 wxWindow
*arg2
= (wxWindow
*) 0 ;
30158 wxGraphicsContext
*result
= 0 ;
30164 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30166 if (!SWIG_IsOK(res1
)) {
30167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30169 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30170 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30171 if (!SWIG_IsOK(res2
)) {
30172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30174 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30176 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30177 if (PyErr_Occurred()) SWIG_fail
;
30179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30186 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30190 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30195 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30196 _v
= SWIG_CheckState(res
);
30198 if (!_v
) goto check_1
;
30199 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30204 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30208 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30213 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30214 PyObject
*resultobj
= 0;
30215 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30216 wxGraphicsContext
*result
= 0 ;
30219 PyObject
*swig_obj
[1] ;
30221 if (!args
) SWIG_fail
;
30222 swig_obj
[0] = args
;
30223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30224 if (!SWIG_IsOK(res1
)) {
30225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30227 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30229 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30230 if (PyErr_Occurred()) SWIG_fail
;
30232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30239 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30240 PyObject
*resultobj
= 0;
30241 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30242 void *arg2
= (void *) 0 ;
30243 wxGraphicsContext
*result
= 0 ;
30247 PyObject
* obj0
= 0 ;
30248 PyObject
* obj1
= 0 ;
30249 char * kwnames
[] = {
30250 (char *) "self",(char *) "context", NULL
30253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30255 if (!SWIG_IsOK(res1
)) {
30256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30258 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30259 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30260 if (!SWIG_IsOK(res2
)) {
30261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30264 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30265 if (PyErr_Occurred()) SWIG_fail
;
30267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30274 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30275 PyObject
*resultobj
= 0;
30276 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30277 void *arg2
= (void *) 0 ;
30278 wxGraphicsContext
*result
= 0 ;
30282 PyObject
* obj0
= 0 ;
30283 PyObject
* obj1
= 0 ;
30284 char * kwnames
[] = {
30285 (char *) "self",(char *) "window", NULL
30288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30290 if (!SWIG_IsOK(res1
)) {
30291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30293 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30294 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30295 if (!SWIG_IsOK(res2
)) {
30296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30299 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30300 if (PyErr_Occurred()) SWIG_fail
;
30302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30309 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30310 PyObject
*resultobj
= 0;
30311 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30312 wxGraphicsPath result
;
30315 PyObject
*swig_obj
[1] ;
30317 if (!args
) SWIG_fail
;
30318 swig_obj
[0] = args
;
30319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30320 if (!SWIG_IsOK(res1
)) {
30321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30323 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30325 result
= (arg1
)->CreatePath();
30326 if (PyErr_Occurred()) SWIG_fail
;
30328 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30335 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30336 PyObject
*resultobj
= 0;
30337 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30338 wxDouble arg2
= (wxDouble
) 1.0 ;
30339 wxDouble arg3
= (wxDouble
) 0.0 ;
30340 wxDouble arg4
= (wxDouble
) 0.0 ;
30341 wxDouble arg5
= (wxDouble
) 1.0 ;
30342 wxDouble arg6
= (wxDouble
) 0.0 ;
30343 wxDouble arg7
= (wxDouble
) 0.0 ;
30344 wxGraphicsMatrix result
;
30359 PyObject
* obj0
= 0 ;
30360 PyObject
* obj1
= 0 ;
30361 PyObject
* obj2
= 0 ;
30362 PyObject
* obj3
= 0 ;
30363 PyObject
* obj4
= 0 ;
30364 PyObject
* obj5
= 0 ;
30365 PyObject
* obj6
= 0 ;
30366 char * kwnames
[] = {
30367 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30372 if (!SWIG_IsOK(res1
)) {
30373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30375 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30377 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30378 if (!SWIG_IsOK(ecode2
)) {
30379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30381 arg2
= static_cast< wxDouble
>(val2
);
30384 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30385 if (!SWIG_IsOK(ecode3
)) {
30386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30388 arg3
= static_cast< wxDouble
>(val3
);
30391 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30392 if (!SWIG_IsOK(ecode4
)) {
30393 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30395 arg4
= static_cast< wxDouble
>(val4
);
30398 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30399 if (!SWIG_IsOK(ecode5
)) {
30400 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30402 arg5
= static_cast< wxDouble
>(val5
);
30405 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30406 if (!SWIG_IsOK(ecode6
)) {
30407 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30409 arg6
= static_cast< wxDouble
>(val6
);
30412 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30413 if (!SWIG_IsOK(ecode7
)) {
30414 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30416 arg7
= static_cast< wxDouble
>(val7
);
30419 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30420 if (PyErr_Occurred()) SWIG_fail
;
30422 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30429 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30430 PyObject
*resultobj
= 0;
30431 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30433 wxGraphicsPen result
;
30438 PyObject
* obj0
= 0 ;
30439 PyObject
* obj1
= 0 ;
30440 char * kwnames
[] = {
30441 (char *) "self",(char *) "pen", NULL
30444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30446 if (!SWIG_IsOK(res1
)) {
30447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30449 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30450 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30451 if (!SWIG_IsOK(res2
)) {
30452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30457 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30459 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30462 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30469 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30470 PyObject
*resultobj
= 0;
30471 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30472 wxBrush
*arg2
= 0 ;
30473 wxGraphicsBrush result
;
30478 PyObject
* obj0
= 0 ;
30479 PyObject
* obj1
= 0 ;
30480 char * kwnames
[] = {
30481 (char *) "self",(char *) "brush", NULL
30484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30486 if (!SWIG_IsOK(res1
)) {
30487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30489 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30490 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30491 if (!SWIG_IsOK(res2
)) {
30492 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30495 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30497 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30499 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30500 if (PyErr_Occurred()) SWIG_fail
;
30502 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30509 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30510 PyObject
*resultobj
= 0;
30511 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30516 wxColour
*arg6
= 0 ;
30517 wxColour
*arg7
= 0 ;
30518 wxGraphicsBrush result
;
30531 PyObject
* obj0
= 0 ;
30532 PyObject
* obj1
= 0 ;
30533 PyObject
* obj2
= 0 ;
30534 PyObject
* obj3
= 0 ;
30535 PyObject
* obj4
= 0 ;
30536 PyObject
* obj5
= 0 ;
30537 PyObject
* obj6
= 0 ;
30538 char * kwnames
[] = {
30539 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30544 if (!SWIG_IsOK(res1
)) {
30545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30547 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30548 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30549 if (!SWIG_IsOK(ecode2
)) {
30550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30552 arg2
= static_cast< wxDouble
>(val2
);
30553 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30554 if (!SWIG_IsOK(ecode3
)) {
30555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30557 arg3
= static_cast< wxDouble
>(val3
);
30558 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30559 if (!SWIG_IsOK(ecode4
)) {
30560 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30562 arg4
= static_cast< wxDouble
>(val4
);
30563 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30564 if (!SWIG_IsOK(ecode5
)) {
30565 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30567 arg5
= static_cast< wxDouble
>(val5
);
30570 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30574 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30577 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30578 if (PyErr_Occurred()) SWIG_fail
;
30580 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30587 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30588 PyObject
*resultobj
= 0;
30589 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30595 wxColour
*arg7
= 0 ;
30596 wxColour
*arg8
= 0 ;
30597 wxGraphicsBrush result
;
30612 PyObject
* obj0
= 0 ;
30613 PyObject
* obj1
= 0 ;
30614 PyObject
* obj2
= 0 ;
30615 PyObject
* obj3
= 0 ;
30616 PyObject
* obj4
= 0 ;
30617 PyObject
* obj5
= 0 ;
30618 PyObject
* obj6
= 0 ;
30619 PyObject
* obj7
= 0 ;
30620 char * kwnames
[] = {
30621 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30626 if (!SWIG_IsOK(res1
)) {
30627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30629 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30630 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30631 if (!SWIG_IsOK(ecode2
)) {
30632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30634 arg2
= static_cast< wxDouble
>(val2
);
30635 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30636 if (!SWIG_IsOK(ecode3
)) {
30637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30639 arg3
= static_cast< wxDouble
>(val3
);
30640 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30641 if (!SWIG_IsOK(ecode4
)) {
30642 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30644 arg4
= static_cast< wxDouble
>(val4
);
30645 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30646 if (!SWIG_IsOK(ecode5
)) {
30647 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30649 arg5
= static_cast< wxDouble
>(val5
);
30650 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30651 if (!SWIG_IsOK(ecode6
)) {
30652 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30654 arg6
= static_cast< wxDouble
>(val6
);
30657 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30661 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30664 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
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_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30675 PyObject
*resultobj
= 0;
30676 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30678 wxColour
const &arg3_defvalue
= *wxBLACK
;
30679 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30680 wxGraphicsFont result
;
30686 PyObject
* obj0
= 0 ;
30687 PyObject
* obj1
= 0 ;
30688 PyObject
* obj2
= 0 ;
30689 char * kwnames
[] = {
30690 (char *) "self",(char *) "font",(char *) "col", NULL
30693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30695 if (!SWIG_IsOK(res1
)) {
30696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30698 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30699 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30700 if (!SWIG_IsOK(res2
)) {
30701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30706 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30710 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
30714 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
30715 if (PyErr_Occurred()) SWIG_fail
;
30717 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
30724 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30727 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
30728 return SWIG_Py_Void();
30731 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30732 PyObject
*resultobj
= 0;
30733 wxWindowDC
*arg1
= 0 ;
30734 wxGCDC
*result
= 0 ;
30738 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30740 if (!SWIG_IsOK(res1
)) {
30741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
30746 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
30748 if (!wxPyCheckForApp()) SWIG_fail
;
30749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30750 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
30751 wxPyEndAllowThreads(__tstate
);
30752 if (PyErr_Occurred()) SWIG_fail
;
30754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30761 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30762 PyObject
*resultobj
= 0;
30763 wxWindow
*arg1
= (wxWindow
*) 0 ;
30764 wxGCDC
*result
= 0 ;
30768 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
30769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30770 if (!SWIG_IsOK(res1
)) {
30771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
30773 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30775 if (!wxPyCheckForApp()) SWIG_fail
;
30776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30777 result
= (wxGCDC
*)new wxGCDC(arg1
);
30778 wxPyEndAllowThreads(__tstate
);
30779 if (PyErr_Occurred()) SWIG_fail
;
30781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
30788 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
30792 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
30797 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
30798 _v
= SWIG_CheckState(res
);
30800 if (!_v
) goto check_1
;
30801 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
30806 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
30810 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
30815 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30816 PyObject
*resultobj
= 0;
30817 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30820 PyObject
*swig_obj
[1] ;
30822 if (!args
) SWIG_fail
;
30823 swig_obj
[0] = args
;
30824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
30825 if (!SWIG_IsOK(res1
)) {
30826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
30828 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30834 resultobj
= SWIG_Py_Void();
30841 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30842 PyObject
*resultobj
= 0;
30843 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30844 wxGraphicsContext
*result
= 0 ;
30847 PyObject
*swig_obj
[1] ;
30849 if (!args
) SWIG_fail
;
30850 swig_obj
[0] = args
;
30851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30852 if (!SWIG_IsOK(res1
)) {
30853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30855 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30857 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
30858 if (PyErr_Occurred()) SWIG_fail
;
30860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30867 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30868 PyObject
*resultobj
= 0;
30869 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
30870 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
30875 PyObject
* obj0
= 0 ;
30876 PyObject
* obj1
= 0 ;
30877 char * kwnames
[] = {
30878 (char *) "self",(char *) "ctx", NULL
30881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
30883 if (!SWIG_IsOK(res1
)) {
30884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
30886 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
30887 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30888 if (!SWIG_IsOK(res2
)) {
30889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
30891 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
30893 (arg1
)->SetGraphicsContext(arg2
);
30894 if (PyErr_Occurred()) SWIG_fail
;
30896 resultobj
= SWIG_Py_Void();
30903 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30905 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30906 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
30907 return SWIG_Py_Void();
30910 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30911 return SWIG_Python_InitShadowInstance(args
);
30914 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30915 PyObject
*resultobj
= 0;
30916 wxOverlay
*result
= 0 ;
30918 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
30920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30921 result
= (wxOverlay
*)new wxOverlay();
30922 wxPyEndAllowThreads(__tstate
);
30923 if (PyErr_Occurred()) SWIG_fail
;
30925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
30932 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30933 PyObject
*resultobj
= 0;
30934 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30937 PyObject
*swig_obj
[1] ;
30939 if (!args
) SWIG_fail
;
30940 swig_obj
[0] = args
;
30941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
30942 if (!SWIG_IsOK(res1
)) {
30943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
30945 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 wxPyEndAllowThreads(__tstate
);
30951 if (PyErr_Occurred()) SWIG_fail
;
30953 resultobj
= SWIG_Py_Void();
30960 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30961 PyObject
*resultobj
= 0;
30962 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
30965 PyObject
*swig_obj
[1] ;
30967 if (!args
) SWIG_fail
;
30968 swig_obj
[0] = args
;
30969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
30970 if (!SWIG_IsOK(res1
)) {
30971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
30973 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
30975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30977 wxPyEndAllowThreads(__tstate
);
30978 if (PyErr_Occurred()) SWIG_fail
;
30980 resultobj
= SWIG_Py_Void();
30987 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30989 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30990 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
30991 return SWIG_Py_Void();
30994 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30995 return SWIG_Python_InitShadowInstance(args
);
30998 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30999 PyObject
*resultobj
= 0;
31000 wxOverlay
*arg1
= 0 ;
31001 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31006 wxDCOverlay
*result
= 0 ;
31020 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31022 if (!SWIG_IsOK(res1
)) {
31023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31028 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31029 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31030 if (!SWIG_IsOK(res2
)) {
31031 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31033 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31034 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31035 if (!SWIG_IsOK(ecode3
)) {
31036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31038 arg3
= static_cast< int >(val3
);
31039 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31040 if (!SWIG_IsOK(ecode4
)) {
31041 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31043 arg4
= static_cast< int >(val4
);
31044 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31045 if (!SWIG_IsOK(ecode5
)) {
31046 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31048 arg5
= static_cast< int >(val5
);
31049 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31050 if (!SWIG_IsOK(ecode6
)) {
31051 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31053 arg6
= static_cast< int >(val6
);
31055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31056 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31057 wxPyEndAllowThreads(__tstate
);
31058 if (PyErr_Occurred()) SWIG_fail
;
31060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31067 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31068 PyObject
*resultobj
= 0;
31069 wxOverlay
*arg1
= 0 ;
31070 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31071 wxDCOverlay
*result
= 0 ;
31077 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31079 if (!SWIG_IsOK(res1
)) {
31080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31085 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31086 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31087 if (!SWIG_IsOK(res2
)) {
31088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31090 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31093 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
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(PyObject
*self
, PyObject
*args
) {
31108 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31111 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31114 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31118 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31123 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31124 PyObject
*resultobj
= 0;
31125 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31128 PyObject
*swig_obj
[1] ;
31130 if (!args
) SWIG_fail
;
31131 swig_obj
[0] = args
;
31132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31133 if (!SWIG_IsOK(res1
)) {
31134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31136 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31141 wxPyEndAllowThreads(__tstate
);
31142 if (PyErr_Occurred()) SWIG_fail
;
31144 resultobj
= SWIG_Py_Void();
31151 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31152 PyObject
*resultobj
= 0;
31153 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31156 PyObject
*swig_obj
[1] ;
31158 if (!args
) SWIG_fail
;
31159 swig_obj
[0] = args
;
31160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31161 if (!SWIG_IsOK(res1
)) {
31162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31164 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31168 wxPyEndAllowThreads(__tstate
);
31169 if (PyErr_Occurred()) SWIG_fail
;
31171 resultobj
= SWIG_Py_Void();
31178 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31181 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31182 return SWIG_Py_Void();
31185 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31186 return SWIG_Python_InitShadowInstance(args
);
31189 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31190 PyObject
*resultobj
= 0;
31193 int arg3
= (int) true ;
31194 int arg4
= (int) 1 ;
31195 wxImageList
*result
= 0 ;
31204 PyObject
* obj0
= 0 ;
31205 PyObject
* obj1
= 0 ;
31206 PyObject
* obj2
= 0 ;
31207 PyObject
* obj3
= 0 ;
31208 char * kwnames
[] = {
31209 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31213 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31214 if (!SWIG_IsOK(ecode1
)) {
31215 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31217 arg1
= static_cast< int >(val1
);
31218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31219 if (!SWIG_IsOK(ecode2
)) {
31220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31222 arg2
= static_cast< int >(val2
);
31224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31225 if (!SWIG_IsOK(ecode3
)) {
31226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31228 arg3
= static_cast< int >(val3
);
31231 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31232 if (!SWIG_IsOK(ecode4
)) {
31233 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31235 arg4
= static_cast< int >(val4
);
31238 if (!wxPyCheckForApp()) SWIG_fail
;
31239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31240 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31241 wxPyEndAllowThreads(__tstate
);
31242 if (PyErr_Occurred()) SWIG_fail
;
31244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31251 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31252 PyObject
*resultobj
= 0;
31253 wxImageList
*arg1
= (wxImageList
*) 0 ;
31256 PyObject
*swig_obj
[1] ;
31258 if (!args
) SWIG_fail
;
31259 swig_obj
[0] = args
;
31260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31261 if (!SWIG_IsOK(res1
)) {
31262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31264 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31269 wxPyEndAllowThreads(__tstate
);
31270 if (PyErr_Occurred()) SWIG_fail
;
31272 resultobj
= SWIG_Py_Void();
31279 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31280 PyObject
*resultobj
= 0;
31281 wxImageList
*arg1
= (wxImageList
*) 0 ;
31282 wxBitmap
*arg2
= 0 ;
31283 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31284 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31292 PyObject
* obj0
= 0 ;
31293 PyObject
* obj1
= 0 ;
31294 PyObject
* obj2
= 0 ;
31295 char * kwnames
[] = {
31296 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31301 if (!SWIG_IsOK(res1
)) {
31302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31304 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31305 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31306 if (!SWIG_IsOK(res2
)) {
31307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31312 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31314 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31315 if (!SWIG_IsOK(res3
)) {
31316 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31321 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31325 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31326 wxPyEndAllowThreads(__tstate
);
31327 if (PyErr_Occurred()) SWIG_fail
;
31329 resultobj
= SWIG_From_int(static_cast< int >(result
));
31336 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31337 PyObject
*resultobj
= 0;
31338 wxImageList
*arg1
= (wxImageList
*) 0 ;
31339 wxBitmap
*arg2
= 0 ;
31340 wxColour
*arg3
= 0 ;
31347 PyObject
* obj0
= 0 ;
31348 PyObject
* obj1
= 0 ;
31349 PyObject
* obj2
= 0 ;
31350 char * kwnames
[] = {
31351 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31356 if (!SWIG_IsOK(res1
)) {
31357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31359 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31361 if (!SWIG_IsOK(res2
)) {
31362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31367 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31370 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31374 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31375 wxPyEndAllowThreads(__tstate
);
31376 if (PyErr_Occurred()) SWIG_fail
;
31378 resultobj
= SWIG_From_int(static_cast< int >(result
));
31385 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31386 PyObject
*resultobj
= 0;
31387 wxImageList
*arg1
= (wxImageList
*) 0 ;
31394 PyObject
* obj0
= 0 ;
31395 PyObject
* obj1
= 0 ;
31396 char * kwnames
[] = {
31397 (char *) "self",(char *) "icon", NULL
31400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31402 if (!SWIG_IsOK(res1
)) {
31403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31405 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31406 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31407 if (!SWIG_IsOK(res2
)) {
31408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31413 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31416 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31417 wxPyEndAllowThreads(__tstate
);
31418 if (PyErr_Occurred()) SWIG_fail
;
31420 resultobj
= SWIG_From_int(static_cast< int >(result
));
31427 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31428 PyObject
*resultobj
= 0;
31429 wxImageList
*arg1
= (wxImageList
*) 0 ;
31431 SwigValueWrapper
<wxBitmap
> result
;
31436 PyObject
* obj0
= 0 ;
31437 PyObject
* obj1
= 0 ;
31438 char * kwnames
[] = {
31439 (char *) "self",(char *) "index", NULL
31442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31444 if (!SWIG_IsOK(res1
)) {
31445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31447 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31449 if (!SWIG_IsOK(ecode2
)) {
31450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31452 arg2
= static_cast< int >(val2
);
31454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31455 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31456 wxPyEndAllowThreads(__tstate
);
31457 if (PyErr_Occurred()) SWIG_fail
;
31459 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31466 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31467 PyObject
*resultobj
= 0;
31468 wxImageList
*arg1
= (wxImageList
*) 0 ;
31475 PyObject
* obj0
= 0 ;
31476 PyObject
* obj1
= 0 ;
31477 char * kwnames
[] = {
31478 (char *) "self",(char *) "index", NULL
31481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31483 if (!SWIG_IsOK(res1
)) {
31484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31486 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31488 if (!SWIG_IsOK(ecode2
)) {
31489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31491 arg2
= static_cast< int >(val2
);
31493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31494 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31495 wxPyEndAllowThreads(__tstate
);
31496 if (PyErr_Occurred()) SWIG_fail
;
31498 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31505 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31506 PyObject
*resultobj
= 0;
31507 wxImageList
*arg1
= (wxImageList
*) 0 ;
31509 wxBitmap
*arg3
= 0 ;
31510 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31511 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31521 PyObject
* obj0
= 0 ;
31522 PyObject
* obj1
= 0 ;
31523 PyObject
* obj2
= 0 ;
31524 PyObject
* obj3
= 0 ;
31525 char * kwnames
[] = {
31526 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31531 if (!SWIG_IsOK(res1
)) {
31532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31534 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31536 if (!SWIG_IsOK(ecode2
)) {
31537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31539 arg2
= static_cast< int >(val2
);
31540 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31541 if (!SWIG_IsOK(res3
)) {
31542 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31547 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31549 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31550 if (!SWIG_IsOK(res4
)) {
31551 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31556 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31560 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31561 wxPyEndAllowThreads(__tstate
);
31562 if (PyErr_Occurred()) SWIG_fail
;
31565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31573 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31574 PyObject
*resultobj
= 0;
31575 wxImageList
*arg1
= (wxImageList
*) 0 ;
31580 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31581 bool arg7
= (bool) (bool)false ;
31597 PyObject
* obj0
= 0 ;
31598 PyObject
* obj1
= 0 ;
31599 PyObject
* obj2
= 0 ;
31600 PyObject
* obj3
= 0 ;
31601 PyObject
* obj4
= 0 ;
31602 PyObject
* obj5
= 0 ;
31603 PyObject
* obj6
= 0 ;
31604 char * kwnames
[] = {
31605 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31610 if (!SWIG_IsOK(res1
)) {
31611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31613 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31615 if (!SWIG_IsOK(ecode2
)) {
31616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31618 arg2
= static_cast< int >(val2
);
31619 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31620 if (!SWIG_IsOK(res3
)) {
31621 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31626 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31627 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31628 if (!SWIG_IsOK(ecode4
)) {
31629 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31631 arg4
= static_cast< int >(val4
);
31632 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31633 if (!SWIG_IsOK(ecode5
)) {
31634 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31636 arg5
= static_cast< int >(val5
);
31638 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31639 if (!SWIG_IsOK(ecode6
)) {
31640 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31642 arg6
= static_cast< int >(val6
);
31645 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31646 if (!SWIG_IsOK(ecode7
)) {
31647 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31649 arg7
= static_cast< bool >(val7
);
31652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31653 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31654 wxPyEndAllowThreads(__tstate
);
31655 if (PyErr_Occurred()) SWIG_fail
;
31658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31666 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31667 PyObject
*resultobj
= 0;
31668 wxImageList
*arg1
= (wxImageList
*) 0 ;
31672 PyObject
*swig_obj
[1] ;
31674 if (!args
) SWIG_fail
;
31675 swig_obj
[0] = args
;
31676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31677 if (!SWIG_IsOK(res1
)) {
31678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31680 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31683 result
= (int)(arg1
)->GetImageCount();
31684 wxPyEndAllowThreads(__tstate
);
31685 if (PyErr_Occurred()) SWIG_fail
;
31687 resultobj
= SWIG_From_int(static_cast< int >(result
));
31694 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31695 PyObject
*resultobj
= 0;
31696 wxImageList
*arg1
= (wxImageList
*) 0 ;
31703 PyObject
* obj0
= 0 ;
31704 PyObject
* obj1
= 0 ;
31705 char * kwnames
[] = {
31706 (char *) "self",(char *) "index", NULL
31709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31711 if (!SWIG_IsOK(res1
)) {
31712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
31714 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31716 if (!SWIG_IsOK(ecode2
)) {
31717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
31719 arg2
= static_cast< int >(val2
);
31721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31722 result
= (bool)(arg1
)->Remove(arg2
);
31723 wxPyEndAllowThreads(__tstate
);
31724 if (PyErr_Occurred()) SWIG_fail
;
31727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31735 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31736 PyObject
*resultobj
= 0;
31737 wxImageList
*arg1
= (wxImageList
*) 0 ;
31741 PyObject
*swig_obj
[1] ;
31743 if (!args
) SWIG_fail
;
31744 swig_obj
[0] = args
;
31745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31746 if (!SWIG_IsOK(res1
)) {
31747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
31749 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31752 result
= (bool)(arg1
)->RemoveAll();
31753 wxPyEndAllowThreads(__tstate
);
31754 if (PyErr_Occurred()) SWIG_fail
;
31757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31765 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31766 PyObject
*resultobj
= 0;
31767 wxImageList
*arg1
= (wxImageList
*) 0 ;
31776 int res3
= SWIG_TMPOBJ
;
31778 int res4
= SWIG_TMPOBJ
;
31779 PyObject
* obj0
= 0 ;
31780 PyObject
* obj1
= 0 ;
31781 char * kwnames
[] = {
31782 (char *) "self",(char *) "index", NULL
31787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31789 if (!SWIG_IsOK(res1
)) {
31790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
31792 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31794 if (!SWIG_IsOK(ecode2
)) {
31795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
31797 arg2
= static_cast< int >(val2
);
31799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31800 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
31801 wxPyEndAllowThreads(__tstate
);
31802 if (PyErr_Occurred()) SWIG_fail
;
31804 resultobj
= SWIG_Py_Void();
31805 if (SWIG_IsTmpObj(res3
)) {
31806 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31808 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31809 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31811 if (SWIG_IsTmpObj(res4
)) {
31812 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
31814 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31815 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
31823 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31826 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
31827 return SWIG_Py_Void();
31830 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31831 return SWIG_Python_InitShadowInstance(args
);
31834 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31835 PyObject
*resultobj
= 0;
31836 wxStockGDI
*result
= 0 ;
31838 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
31840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31841 result
= (wxStockGDI
*)new wxStockGDI();
31842 wxPyEndAllowThreads(__tstate
);
31843 if (PyErr_Occurred()) SWIG_fail
;
31845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
31852 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31853 PyObject
*resultobj
= 0;
31854 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
31857 PyObject
*swig_obj
[1] ;
31859 if (!args
) SWIG_fail
;
31860 swig_obj
[0] = args
;
31861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
31862 if (!SWIG_IsOK(res1
)) {
31863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
31865 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
31867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31870 wxPyEndAllowThreads(__tstate
);
31871 if (PyErr_Occurred()) SWIG_fail
;
31873 resultobj
= SWIG_Py_Void();
31880 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31881 PyObject
*resultobj
= 0;
31883 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
31885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31886 wxStockGDI::DeleteAll();
31887 wxPyEndAllowThreads(__tstate
);
31888 if (PyErr_Occurred()) SWIG_fail
;
31890 resultobj
= SWIG_Py_Void();
31897 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31898 PyObject
*resultobj
= 0;
31899 wxStockGDI
*result
= 0 ;
31901 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
31903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31905 wxStockGDI
&_result_ref
= wxStockGDI::instance();
31906 result
= (wxStockGDI
*) &_result_ref
;
31908 wxPyEndAllowThreads(__tstate
);
31909 if (PyErr_Occurred()) SWIG_fail
;
31911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
31918 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31919 PyObject
*resultobj
= 0;
31920 wxStockGDI::Item arg1
;
31921 wxBrush
*result
= 0 ;
31924 PyObject
* obj0
= 0 ;
31925 char * kwnames
[] = {
31926 (char *) "item", NULL
31929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
31930 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31931 if (!SWIG_IsOK(ecode1
)) {
31932 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31934 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31937 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
31938 wxPyEndAllowThreads(__tstate
);
31939 if (PyErr_Occurred()) SWIG_fail
;
31941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
31948 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31949 PyObject
*resultobj
= 0;
31950 wxStockGDI::Item arg1
;
31951 wxColour
*result
= 0 ;
31954 PyObject
* obj0
= 0 ;
31955 char * kwnames
[] = {
31956 (char *) "item", NULL
31959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
31960 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31961 if (!SWIG_IsOK(ecode1
)) {
31962 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31964 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31967 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
31968 wxPyEndAllowThreads(__tstate
);
31969 if (PyErr_Occurred()) SWIG_fail
;
31971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
31978 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31979 PyObject
*resultobj
= 0;
31980 wxStockGDI::Item arg1
;
31981 wxCursor
*result
= 0 ;
31984 PyObject
* obj0
= 0 ;
31985 char * kwnames
[] = {
31986 (char *) "item", NULL
31989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
31990 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31991 if (!SWIG_IsOK(ecode1
)) {
31992 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
31994 arg1
= static_cast< wxStockGDI::Item
>(val1
);
31996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31997 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
31998 wxPyEndAllowThreads(__tstate
);
31999 if (PyErr_Occurred()) SWIG_fail
;
32001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32008 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32009 PyObject
*resultobj
= 0;
32010 wxStockGDI::Item arg1
;
32011 wxPen
*result
= 0 ;
32014 PyObject
* obj0
= 0 ;
32015 char * kwnames
[] = {
32016 (char *) "item", NULL
32019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32020 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32021 if (!SWIG_IsOK(ecode1
)) {
32022 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32024 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32027 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32028 wxPyEndAllowThreads(__tstate
);
32029 if (PyErr_Occurred()) SWIG_fail
;
32031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32038 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32039 PyObject
*resultobj
= 0;
32040 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32041 wxStockGDI::Item arg2
;
32042 wxFont
*result
= 0 ;
32047 PyObject
* obj0
= 0 ;
32048 PyObject
* obj1
= 0 ;
32049 char * kwnames
[] = {
32050 (char *) "self",(char *) "item", NULL
32053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32055 if (!SWIG_IsOK(res1
)) {
32056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32058 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32060 if (!SWIG_IsOK(ecode2
)) {
32061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32063 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32066 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32067 wxPyEndAllowThreads(__tstate
);
32068 if (PyErr_Occurred()) SWIG_fail
;
32070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32077 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32080 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32081 return SWIG_Py_Void();
32084 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32085 return SWIG_Python_InitShadowInstance(args
);
32088 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32089 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32094 SWIGINTERN PyObject
*NullBitmap_get(void) {
32095 PyObject
*pyobj
= 0;
32097 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32102 SWIGINTERN
int NullIcon_set(PyObject
*) {
32103 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32108 SWIGINTERN PyObject
*NullIcon_get(void) {
32109 PyObject
*pyobj
= 0;
32111 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32116 SWIGINTERN
int NullCursor_set(PyObject
*) {
32117 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32122 SWIGINTERN PyObject
*NullCursor_get(void) {
32123 PyObject
*pyobj
= 0;
32125 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32130 SWIGINTERN
int NullPen_set(PyObject
*) {
32131 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32136 SWIGINTERN PyObject
*NullPen_get(void) {
32137 PyObject
*pyobj
= 0;
32139 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32144 SWIGINTERN
int NullBrush_set(PyObject
*) {
32145 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32150 SWIGINTERN PyObject
*NullBrush_get(void) {
32151 PyObject
*pyobj
= 0;
32153 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32158 SWIGINTERN
int NullPalette_set(PyObject
*) {
32159 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32164 SWIGINTERN PyObject
*NullPalette_get(void) {
32165 PyObject
*pyobj
= 0;
32167 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32172 SWIGINTERN
int NullFont_set(PyObject
*) {
32173 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32178 SWIGINTERN PyObject
*NullFont_get(void) {
32179 PyObject
*pyobj
= 0;
32181 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32186 SWIGINTERN
int NullColour_set(PyObject
*) {
32187 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32192 SWIGINTERN PyObject
*NullColour_get(void) {
32193 PyObject
*pyobj
= 0;
32195 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32200 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32201 PyObject
*resultobj
= 0;
32202 wxGDIObjListBase
*result
= 0 ;
32204 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32207 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32208 wxPyEndAllowThreads(__tstate
);
32209 if (PyErr_Occurred()) SWIG_fail
;
32211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32218 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32219 PyObject
*resultobj
= 0;
32220 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32223 PyObject
*swig_obj
[1] ;
32225 if (!args
) SWIG_fail
;
32226 swig_obj
[0] = args
;
32227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32228 if (!SWIG_IsOK(res1
)) {
32229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32231 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32236 wxPyEndAllowThreads(__tstate
);
32237 if (PyErr_Occurred()) SWIG_fail
;
32239 resultobj
= SWIG_Py_Void();
32246 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32248 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32249 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32250 return SWIG_Py_Void();
32253 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32254 return SWIG_Python_InitShadowInstance(args
);
32257 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32258 PyObject
*resultobj
= 0;
32259 wxPenList
*arg1
= (wxPenList
*) 0 ;
32260 wxColour
*arg2
= 0 ;
32263 wxPen
*result
= 0 ;
32271 PyObject
* obj0
= 0 ;
32272 PyObject
* obj1
= 0 ;
32273 PyObject
* obj2
= 0 ;
32274 PyObject
* obj3
= 0 ;
32275 char * kwnames
[] = {
32276 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32281 if (!SWIG_IsOK(res1
)) {
32282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32284 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32287 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32289 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32290 if (!SWIG_IsOK(ecode3
)) {
32291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32293 arg3
= static_cast< int >(val3
);
32294 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32295 if (!SWIG_IsOK(ecode4
)) {
32296 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32298 arg4
= static_cast< int >(val4
);
32300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32301 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32302 wxPyEndAllowThreads(__tstate
);
32303 if (PyErr_Occurred()) SWIG_fail
;
32305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32312 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32313 PyObject
*resultobj
= 0;
32314 wxPenList
*arg1
= (wxPenList
*) 0 ;
32315 wxPen
*arg2
= (wxPen
*) 0 ;
32320 PyObject
* obj0
= 0 ;
32321 PyObject
* obj1
= 0 ;
32322 char * kwnames
[] = {
32323 (char *) "self",(char *) "pen", NULL
32326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32328 if (!SWIG_IsOK(res1
)) {
32329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
32331 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32332 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32333 if (!SWIG_IsOK(res2
)) {
32334 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
32336 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32339 (arg1
)->AddPen(arg2
);
32340 wxPyEndAllowThreads(__tstate
);
32341 if (PyErr_Occurred()) SWIG_fail
;
32343 resultobj
= SWIG_Py_Void();
32350 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32351 PyObject
*resultobj
= 0;
32352 wxPenList
*arg1
= (wxPenList
*) 0 ;
32353 wxPen
*arg2
= (wxPen
*) 0 ;
32358 PyObject
* obj0
= 0 ;
32359 PyObject
* obj1
= 0 ;
32360 char * kwnames
[] = {
32361 (char *) "self",(char *) "pen", NULL
32364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32366 if (!SWIG_IsOK(res1
)) {
32367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32369 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32370 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
32371 if (!SWIG_IsOK(res2
)) {
32372 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
32374 arg2
= reinterpret_cast< wxPen
* >(argp2
);
32376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32377 (arg1
)->RemovePen(arg2
);
32378 wxPyEndAllowThreads(__tstate
);
32379 if (PyErr_Occurred()) SWIG_fail
;
32381 resultobj
= SWIG_Py_Void();
32388 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32391 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32392 return SWIG_Py_Void();
32395 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32396 PyObject
*resultobj
= 0;
32397 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32398 wxColour
*arg2
= 0 ;
32399 int arg3
= (int) wxSOLID
;
32400 wxBrush
*result
= 0 ;
32406 PyObject
* obj0
= 0 ;
32407 PyObject
* obj1
= 0 ;
32408 PyObject
* obj2
= 0 ;
32409 char * kwnames
[] = {
32410 (char *) "self",(char *) "colour",(char *) "style", NULL
32413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32415 if (!SWIG_IsOK(res1
)) {
32416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32418 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32421 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32424 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32425 if (!SWIG_IsOK(ecode3
)) {
32426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32428 arg3
= static_cast< int >(val3
);
32431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32432 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32433 wxPyEndAllowThreads(__tstate
);
32434 if (PyErr_Occurred()) SWIG_fail
;
32436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32443 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32444 PyObject
*resultobj
= 0;
32445 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32446 wxBrush
*arg2
= (wxBrush
*) 0 ;
32451 PyObject
* obj0
= 0 ;
32452 PyObject
* obj1
= 0 ;
32453 char * kwnames
[] = {
32454 (char *) "self",(char *) "brush", NULL
32457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32459 if (!SWIG_IsOK(res1
)) {
32460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32462 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32463 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32464 if (!SWIG_IsOK(res2
)) {
32465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32467 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32470 (arg1
)->AddBrush(arg2
);
32471 wxPyEndAllowThreads(__tstate
);
32472 if (PyErr_Occurred()) SWIG_fail
;
32474 resultobj
= SWIG_Py_Void();
32481 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32482 PyObject
*resultobj
= 0;
32483 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32484 wxBrush
*arg2
= (wxBrush
*) 0 ;
32489 PyObject
* obj0
= 0 ;
32490 PyObject
* obj1
= 0 ;
32491 char * kwnames
[] = {
32492 (char *) "self",(char *) "brush", NULL
32495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32497 if (!SWIG_IsOK(res1
)) {
32498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32500 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32501 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
32502 if (!SWIG_IsOK(res2
)) {
32503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
32505 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
32507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32508 (arg1
)->RemoveBrush(arg2
);
32509 wxPyEndAllowThreads(__tstate
);
32510 if (PyErr_Occurred()) SWIG_fail
;
32512 resultobj
= SWIG_Py_Void();
32519 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32521 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32522 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32523 return SWIG_Py_Void();
32526 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32527 PyObject
*resultobj
= 0;
32528 wxFontList
*arg1
= (wxFontList
*) 0 ;
32533 bool arg6
= (bool) false ;
32534 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32535 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32536 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32537 wxFont
*result
= 0 ;
32550 bool temp7
= false ;
32553 PyObject
* obj0
= 0 ;
32554 PyObject
* obj1
= 0 ;
32555 PyObject
* obj2
= 0 ;
32556 PyObject
* obj3
= 0 ;
32557 PyObject
* obj4
= 0 ;
32558 PyObject
* obj5
= 0 ;
32559 PyObject
* obj6
= 0 ;
32560 PyObject
* obj7
= 0 ;
32561 char * kwnames
[] = {
32562 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32567 if (!SWIG_IsOK(res1
)) {
32568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32570 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32572 if (!SWIG_IsOK(ecode2
)) {
32573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32575 arg2
= static_cast< int >(val2
);
32576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32577 if (!SWIG_IsOK(ecode3
)) {
32578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32580 arg3
= static_cast< int >(val3
);
32581 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32582 if (!SWIG_IsOK(ecode4
)) {
32583 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32585 arg4
= static_cast< int >(val4
);
32586 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32587 if (!SWIG_IsOK(ecode5
)) {
32588 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32590 arg5
= static_cast< int >(val5
);
32592 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32593 if (!SWIG_IsOK(ecode6
)) {
32594 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32596 arg6
= static_cast< bool >(val6
);
32600 arg7
= wxString_in_helper(obj6
);
32601 if (arg7
== NULL
) SWIG_fail
;
32606 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32607 if (!SWIG_IsOK(ecode8
)) {
32608 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32610 arg8
= static_cast< wxFontEncoding
>(val8
);
32613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32614 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32615 wxPyEndAllowThreads(__tstate
);
32616 if (PyErr_Occurred()) SWIG_fail
;
32618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32633 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32634 PyObject
*resultobj
= 0;
32635 wxFontList
*arg1
= (wxFontList
*) 0 ;
32636 wxFont
*arg2
= (wxFont
*) 0 ;
32641 PyObject
* obj0
= 0 ;
32642 PyObject
* obj1
= 0 ;
32643 char * kwnames
[] = {
32644 (char *) "self",(char *) "font", NULL
32647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32649 if (!SWIG_IsOK(res1
)) {
32650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32652 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32653 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32654 if (!SWIG_IsOK(res2
)) {
32655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
32657 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32660 (arg1
)->AddFont(arg2
);
32661 wxPyEndAllowThreads(__tstate
);
32662 if (PyErr_Occurred()) SWIG_fail
;
32664 resultobj
= SWIG_Py_Void();
32671 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32672 PyObject
*resultobj
= 0;
32673 wxFontList
*arg1
= (wxFontList
*) 0 ;
32674 wxFont
*arg2
= (wxFont
*) 0 ;
32679 PyObject
* obj0
= 0 ;
32680 PyObject
* obj1
= 0 ;
32681 char * kwnames
[] = {
32682 (char *) "self",(char *) "font", NULL
32685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32687 if (!SWIG_IsOK(res1
)) {
32688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32690 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32691 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
32692 if (!SWIG_IsOK(res2
)) {
32693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
32695 arg2
= reinterpret_cast< wxFont
* >(argp2
);
32697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32698 (arg1
)->RemoveFont(arg2
);
32699 wxPyEndAllowThreads(__tstate
);
32700 if (PyErr_Occurred()) SWIG_fail
;
32702 resultobj
= SWIG_Py_Void();
32709 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32711 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32712 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32713 return SWIG_Py_Void();
32716 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32717 PyObject
*resultobj
= 0;
32718 wxColourDatabase
*result
= 0 ;
32720 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32722 if (!wxPyCheckForApp()) SWIG_fail
;
32723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32724 result
= (wxColourDatabase
*)new wxColourDatabase();
32725 wxPyEndAllowThreads(__tstate
);
32726 if (PyErr_Occurred()) SWIG_fail
;
32728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32735 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32736 PyObject
*resultobj
= 0;
32737 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32740 PyObject
*swig_obj
[1] ;
32742 if (!args
) SWIG_fail
;
32743 swig_obj
[0] = args
;
32744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32745 if (!SWIG_IsOK(res1
)) {
32746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32748 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32753 wxPyEndAllowThreads(__tstate
);
32754 if (PyErr_Occurred()) SWIG_fail
;
32756 resultobj
= SWIG_Py_Void();
32763 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32764 PyObject
*resultobj
= 0;
32765 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32766 wxString
*arg2
= 0 ;
32770 bool temp2
= false ;
32771 PyObject
* obj0
= 0 ;
32772 PyObject
* obj1
= 0 ;
32773 char * kwnames
[] = {
32774 (char *) "self",(char *) "name", NULL
32777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32779 if (!SWIG_IsOK(res1
)) {
32780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32782 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32784 arg2
= wxString_in_helper(obj1
);
32785 if (arg2
== NULL
) SWIG_fail
;
32789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32790 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32791 wxPyEndAllowThreads(__tstate
);
32792 if (PyErr_Occurred()) SWIG_fail
;
32794 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32809 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32810 PyObject
*resultobj
= 0;
32811 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32812 wxColour
*arg2
= 0 ;
32817 PyObject
* obj0
= 0 ;
32818 PyObject
* obj1
= 0 ;
32819 char * kwnames
[] = {
32820 (char *) "self",(char *) "colour", NULL
32823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32825 if (!SWIG_IsOK(res1
)) {
32826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32828 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32831 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32835 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32836 wxPyEndAllowThreads(__tstate
);
32837 if (PyErr_Occurred()) SWIG_fail
;
32841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32852 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32853 PyObject
*resultobj
= 0;
32854 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32855 wxString
*arg2
= 0 ;
32856 wxColour
*arg3
= 0 ;
32859 bool temp2
= false ;
32861 PyObject
* obj0
= 0 ;
32862 PyObject
* obj1
= 0 ;
32863 PyObject
* obj2
= 0 ;
32864 char * kwnames
[] = {
32865 (char *) "self",(char *) "name",(char *) "colour", NULL
32868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32870 if (!SWIG_IsOK(res1
)) {
32871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32873 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32875 arg2
= wxString_in_helper(obj1
);
32876 if (arg2
== NULL
) SWIG_fail
;
32881 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32885 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32886 wxPyEndAllowThreads(__tstate
);
32887 if (PyErr_Occurred()) SWIG_fail
;
32889 resultobj
= SWIG_Py_Void();
32904 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32905 PyObject
*resultobj
= 0;
32906 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32907 wxString
*arg2
= 0 ;
32913 bool temp2
= false ;
32920 PyObject
* obj0
= 0 ;
32921 PyObject
* obj1
= 0 ;
32922 PyObject
* obj2
= 0 ;
32923 PyObject
* obj3
= 0 ;
32924 PyObject
* obj4
= 0 ;
32925 char * kwnames
[] = {
32926 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32931 if (!SWIG_IsOK(res1
)) {
32932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32934 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32936 arg2
= wxString_in_helper(obj1
);
32937 if (arg2
== NULL
) SWIG_fail
;
32940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32941 if (!SWIG_IsOK(ecode3
)) {
32942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
32944 arg3
= static_cast< int >(val3
);
32945 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32946 if (!SWIG_IsOK(ecode4
)) {
32947 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
32949 arg4
= static_cast< int >(val4
);
32950 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32951 if (!SWIG_IsOK(ecode5
)) {
32952 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
32954 arg5
= static_cast< int >(val5
);
32956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32957 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
32958 wxPyEndAllowThreads(__tstate
);
32959 if (PyErr_Occurred()) SWIG_fail
;
32961 resultobj
= SWIG_Py_Void();
32976 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32978 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32979 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
32980 return SWIG_Py_Void();
32983 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32984 return SWIG_Python_InitShadowInstance(args
);
32987 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32988 PyObject
*resultobj
= 0;
32989 wxFontList
*result
= 0 ;
32991 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
32993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32994 result
= (wxFontList
*)_wxPyInitTheFontList();
32995 wxPyEndAllowThreads(__tstate
);
32996 if (PyErr_Occurred()) SWIG_fail
;
32998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33005 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33006 PyObject
*resultobj
= 0;
33007 wxPenList
*result
= 0 ;
33009 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33012 result
= (wxPenList
*)_wxPyInitThePenList();
33013 wxPyEndAllowThreads(__tstate
);
33014 if (PyErr_Occurred()) SWIG_fail
;
33016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33023 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33024 PyObject
*resultobj
= 0;
33025 wxBrushList
*result
= 0 ;
33027 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33030 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33031 wxPyEndAllowThreads(__tstate
);
33032 if (PyErr_Occurred()) SWIG_fail
;
33034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33041 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33042 PyObject
*resultobj
= 0;
33043 wxColourDatabase
*result
= 0 ;
33045 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33048 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33049 wxPyEndAllowThreads(__tstate
);
33050 if (PyErr_Occurred()) SWIG_fail
;
33052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33059 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33060 PyObject
*resultobj
= 0;
33061 wxEffects
*result
= 0 ;
33063 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33066 result
= (wxEffects
*)new wxEffects();
33067 wxPyEndAllowThreads(__tstate
);
33068 if (PyErr_Occurred()) SWIG_fail
;
33070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33077 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33078 PyObject
*resultobj
= 0;
33079 wxEffects
*arg1
= (wxEffects
*) 0 ;
33083 PyObject
*swig_obj
[1] ;
33085 if (!args
) SWIG_fail
;
33086 swig_obj
[0] = args
;
33087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33088 if (!SWIG_IsOK(res1
)) {
33089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33091 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33094 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33095 wxPyEndAllowThreads(__tstate
);
33096 if (PyErr_Occurred()) SWIG_fail
;
33098 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33105 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33106 PyObject
*resultobj
= 0;
33107 wxEffects
*arg1
= (wxEffects
*) 0 ;
33111 PyObject
*swig_obj
[1] ;
33113 if (!args
) SWIG_fail
;
33114 swig_obj
[0] = args
;
33115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33116 if (!SWIG_IsOK(res1
)) {
33117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33119 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33122 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33123 wxPyEndAllowThreads(__tstate
);
33124 if (PyErr_Occurred()) SWIG_fail
;
33126 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33133 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33134 PyObject
*resultobj
= 0;
33135 wxEffects
*arg1
= (wxEffects
*) 0 ;
33139 PyObject
*swig_obj
[1] ;
33141 if (!args
) SWIG_fail
;
33142 swig_obj
[0] = args
;
33143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33144 if (!SWIG_IsOK(res1
)) {
33145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33147 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33150 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33151 wxPyEndAllowThreads(__tstate
);
33152 if (PyErr_Occurred()) SWIG_fail
;
33154 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33161 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33162 PyObject
*resultobj
= 0;
33163 wxEffects
*arg1
= (wxEffects
*) 0 ;
33167 PyObject
*swig_obj
[1] ;
33169 if (!args
) SWIG_fail
;
33170 swig_obj
[0] = args
;
33171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33172 if (!SWIG_IsOK(res1
)) {
33173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33175 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33178 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33179 wxPyEndAllowThreads(__tstate
);
33180 if (PyErr_Occurred()) SWIG_fail
;
33182 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33189 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33190 PyObject
*resultobj
= 0;
33191 wxEffects
*arg1
= (wxEffects
*) 0 ;
33195 PyObject
*swig_obj
[1] ;
33197 if (!args
) SWIG_fail
;
33198 swig_obj
[0] = args
;
33199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33200 if (!SWIG_IsOK(res1
)) {
33201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33203 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33206 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33207 wxPyEndAllowThreads(__tstate
);
33208 if (PyErr_Occurred()) SWIG_fail
;
33210 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33217 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33218 PyObject
*resultobj
= 0;
33219 wxEffects
*arg1
= (wxEffects
*) 0 ;
33220 wxColour
*arg2
= 0 ;
33224 PyObject
* obj0
= 0 ;
33225 PyObject
* obj1
= 0 ;
33226 char * kwnames
[] = {
33227 (char *) "self",(char *) "c", NULL
33230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33232 if (!SWIG_IsOK(res1
)) {
33233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33235 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33238 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33242 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33243 wxPyEndAllowThreads(__tstate
);
33244 if (PyErr_Occurred()) SWIG_fail
;
33246 resultobj
= SWIG_Py_Void();
33253 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33254 PyObject
*resultobj
= 0;
33255 wxEffects
*arg1
= (wxEffects
*) 0 ;
33256 wxColour
*arg2
= 0 ;
33260 PyObject
* obj0
= 0 ;
33261 PyObject
* obj1
= 0 ;
33262 char * kwnames
[] = {
33263 (char *) "self",(char *) "c", NULL
33266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33268 if (!SWIG_IsOK(res1
)) {
33269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33271 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33274 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33278 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33279 wxPyEndAllowThreads(__tstate
);
33280 if (PyErr_Occurred()) SWIG_fail
;
33282 resultobj
= SWIG_Py_Void();
33289 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33290 PyObject
*resultobj
= 0;
33291 wxEffects
*arg1
= (wxEffects
*) 0 ;
33292 wxColour
*arg2
= 0 ;
33296 PyObject
* obj0
= 0 ;
33297 PyObject
* obj1
= 0 ;
33298 char * kwnames
[] = {
33299 (char *) "self",(char *) "c", NULL
33302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33304 if (!SWIG_IsOK(res1
)) {
33305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33307 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33310 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33314 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33315 wxPyEndAllowThreads(__tstate
);
33316 if (PyErr_Occurred()) SWIG_fail
;
33318 resultobj
= SWIG_Py_Void();
33325 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33326 PyObject
*resultobj
= 0;
33327 wxEffects
*arg1
= (wxEffects
*) 0 ;
33328 wxColour
*arg2
= 0 ;
33332 PyObject
* obj0
= 0 ;
33333 PyObject
* obj1
= 0 ;
33334 char * kwnames
[] = {
33335 (char *) "self",(char *) "c", NULL
33338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33340 if (!SWIG_IsOK(res1
)) {
33341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33343 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33346 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33350 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33351 wxPyEndAllowThreads(__tstate
);
33352 if (PyErr_Occurred()) SWIG_fail
;
33354 resultobj
= SWIG_Py_Void();
33361 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33362 PyObject
*resultobj
= 0;
33363 wxEffects
*arg1
= (wxEffects
*) 0 ;
33364 wxColour
*arg2
= 0 ;
33368 PyObject
* obj0
= 0 ;
33369 PyObject
* obj1
= 0 ;
33370 char * kwnames
[] = {
33371 (char *) "self",(char *) "c", NULL
33374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33376 if (!SWIG_IsOK(res1
)) {
33377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33379 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33382 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33386 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33387 wxPyEndAllowThreads(__tstate
);
33388 if (PyErr_Occurred()) SWIG_fail
;
33390 resultobj
= SWIG_Py_Void();
33397 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33398 PyObject
*resultobj
= 0;
33399 wxEffects
*arg1
= (wxEffects
*) 0 ;
33400 wxColour
*arg2
= 0 ;
33401 wxColour
*arg3
= 0 ;
33402 wxColour
*arg4
= 0 ;
33403 wxColour
*arg5
= 0 ;
33404 wxColour
*arg6
= 0 ;
33412 PyObject
* obj0
= 0 ;
33413 PyObject
* obj1
= 0 ;
33414 PyObject
* obj2
= 0 ;
33415 PyObject
* obj3
= 0 ;
33416 PyObject
* obj4
= 0 ;
33417 PyObject
* obj5
= 0 ;
33418 char * kwnames
[] = {
33419 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33424 if (!SWIG_IsOK(res1
)) {
33425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33427 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33430 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33434 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33438 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33442 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33446 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33450 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33451 wxPyEndAllowThreads(__tstate
);
33452 if (PyErr_Occurred()) SWIG_fail
;
33454 resultobj
= SWIG_Py_Void();
33461 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33462 PyObject
*resultobj
= 0;
33463 wxEffects
*arg1
= (wxEffects
*) 0 ;
33466 int arg4
= (int) 1 ;
33474 PyObject
* obj0
= 0 ;
33475 PyObject
* obj1
= 0 ;
33476 PyObject
* obj2
= 0 ;
33477 PyObject
* obj3
= 0 ;
33478 char * kwnames
[] = {
33479 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33484 if (!SWIG_IsOK(res1
)) {
33485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33487 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33488 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33489 if (!SWIG_IsOK(res2
)) {
33490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33495 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33498 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33501 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33502 if (!SWIG_IsOK(ecode4
)) {
33503 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33505 arg4
= static_cast< int >(val4
);
33508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33509 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33510 wxPyEndAllowThreads(__tstate
);
33511 if (PyErr_Occurred()) SWIG_fail
;
33513 resultobj
= SWIG_Py_Void();
33520 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33521 PyObject
*resultobj
= 0;
33522 wxEffects
*arg1
= (wxEffects
*) 0 ;
33525 wxBitmap
*arg4
= 0 ;
33534 PyObject
* obj0
= 0 ;
33535 PyObject
* obj1
= 0 ;
33536 PyObject
* obj2
= 0 ;
33537 PyObject
* obj3
= 0 ;
33538 char * kwnames
[] = {
33539 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33544 if (!SWIG_IsOK(res1
)) {
33545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33547 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33550 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33552 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33553 if (!SWIG_IsOK(res3
)) {
33554 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33559 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33560 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33561 if (!SWIG_IsOK(res4
)) {
33562 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33567 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33570 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33571 wxPyEndAllowThreads(__tstate
);
33572 if (PyErr_Occurred()) SWIG_fail
;
33575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33583 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33586 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33587 return SWIG_Py_Void();
33590 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33591 return SWIG_Python_InitShadowInstance(args
);
33594 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33595 PyObject
*resultobj
= 0;
33599 wxSplitterRenderParams
*result
= 0 ;
33606 PyObject
* obj0
= 0 ;
33607 PyObject
* obj1
= 0 ;
33608 PyObject
* obj2
= 0 ;
33609 char * kwnames
[] = {
33610 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33614 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33615 if (!SWIG_IsOK(ecode1
)) {
33616 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33618 arg1
= static_cast< int >(val1
);
33619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33620 if (!SWIG_IsOK(ecode2
)) {
33621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33623 arg2
= static_cast< int >(val2
);
33624 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33625 if (!SWIG_IsOK(ecode3
)) {
33626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33628 arg3
= static_cast< bool >(val3
);
33630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33631 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33632 wxPyEndAllowThreads(__tstate
);
33633 if (PyErr_Occurred()) SWIG_fail
;
33635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33642 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33643 PyObject
*resultobj
= 0;
33644 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33647 PyObject
*swig_obj
[1] ;
33649 if (!args
) SWIG_fail
;
33650 swig_obj
[0] = args
;
33651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33652 if (!SWIG_IsOK(res1
)) {
33653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33655 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33660 wxPyEndAllowThreads(__tstate
);
33661 if (PyErr_Occurred()) SWIG_fail
;
33663 resultobj
= SWIG_Py_Void();
33670 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33671 PyObject
*resultobj
= 0;
33672 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33676 PyObject
*swig_obj
[1] ;
33678 if (!args
) SWIG_fail
;
33679 swig_obj
[0] = args
;
33680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33681 if (!SWIG_IsOK(res1
)) {
33682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33684 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33685 result
= (int)(int) ((arg1
)->widthSash
);
33686 resultobj
= SWIG_From_int(static_cast< int >(result
));
33693 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33694 PyObject
*resultobj
= 0;
33695 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33699 PyObject
*swig_obj
[1] ;
33701 if (!args
) SWIG_fail
;
33702 swig_obj
[0] = args
;
33703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33704 if (!SWIG_IsOK(res1
)) {
33705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33707 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33708 result
= (int)(int) ((arg1
)->border
);
33709 resultobj
= SWIG_From_int(static_cast< int >(result
));
33716 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33717 PyObject
*resultobj
= 0;
33718 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33722 PyObject
*swig_obj
[1] ;
33724 if (!args
) SWIG_fail
;
33725 swig_obj
[0] = args
;
33726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33727 if (!SWIG_IsOK(res1
)) {
33728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33730 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33731 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33732 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33739 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33742 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33743 return SWIG_Py_Void();
33746 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33747 return SWIG_Python_InitShadowInstance(args
);
33750 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33751 PyObject
*resultobj
= 0;
33752 wxHeaderButtonParams
*result
= 0 ;
33754 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33757 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33758 wxPyEndAllowThreads(__tstate
);
33759 if (PyErr_Occurred()) SWIG_fail
;
33761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33768 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33769 PyObject
*resultobj
= 0;
33770 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33773 PyObject
*swig_obj
[1] ;
33775 if (!args
) SWIG_fail
;
33776 swig_obj
[0] = args
;
33777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33778 if (!SWIG_IsOK(res1
)) {
33779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33781 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33786 wxPyEndAllowThreads(__tstate
);
33787 if (PyErr_Occurred()) SWIG_fail
;
33789 resultobj
= SWIG_Py_Void();
33796 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33797 PyObject
*resultobj
= 0;
33798 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33799 wxColour
*arg2
= (wxColour
*) 0 ;
33803 PyObject
*swig_obj
[2] ;
33805 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33807 if (!SWIG_IsOK(res1
)) {
33808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33810 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33813 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33815 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33817 resultobj
= SWIG_Py_Void();
33824 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33825 PyObject
*resultobj
= 0;
33826 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33827 wxColour
*result
= 0 ;
33830 PyObject
*swig_obj
[1] ;
33832 if (!args
) SWIG_fail
;
33833 swig_obj
[0] = args
;
33834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33835 if (!SWIG_IsOK(res1
)) {
33836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33838 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33839 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33847 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33848 PyObject
*resultobj
= 0;
33849 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33850 wxColour
*arg2
= (wxColour
*) 0 ;
33854 PyObject
*swig_obj
[2] ;
33856 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33858 if (!SWIG_IsOK(res1
)) {
33859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33861 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33864 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33866 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33868 resultobj
= SWIG_Py_Void();
33875 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33876 PyObject
*resultobj
= 0;
33877 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33878 wxColour
*result
= 0 ;
33881 PyObject
*swig_obj
[1] ;
33883 if (!args
) SWIG_fail
;
33884 swig_obj
[0] = args
;
33885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33886 if (!SWIG_IsOK(res1
)) {
33887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33889 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33890 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33898 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33899 PyObject
*resultobj
= 0;
33900 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33901 wxString
*arg2
= (wxString
*) 0 ;
33904 bool temp2
= false ;
33905 PyObject
*swig_obj
[2] ;
33907 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33909 if (!SWIG_IsOK(res1
)) {
33910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33912 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33914 arg2
= wxString_in_helper(swig_obj
[1]);
33915 if (arg2
== NULL
) SWIG_fail
;
33918 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33920 resultobj
= SWIG_Py_Void();
33935 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33936 PyObject
*resultobj
= 0;
33937 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33938 wxString
*result
= 0 ;
33941 PyObject
*swig_obj
[1] ;
33943 if (!args
) SWIG_fail
;
33944 swig_obj
[0] = args
;
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_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33949 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33950 result
= (wxString
*)& ((arg1
)->m_labelText
);
33953 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33955 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33964 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33965 PyObject
*resultobj
= 0;
33966 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33967 wxFont
*arg2
= (wxFont
*) 0 ;
33972 PyObject
*swig_obj
[2] ;
33974 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
33975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33976 if (!SWIG_IsOK(res1
)) {
33977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33979 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33980 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
33981 if (!SWIG_IsOK(res2
)) {
33982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
33984 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33985 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
33987 resultobj
= SWIG_Py_Void();
33994 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33995 PyObject
*resultobj
= 0;
33996 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33997 wxFont
*result
= 0 ;
34000 PyObject
*swig_obj
[1] ;
34002 if (!args
) SWIG_fail
;
34003 swig_obj
[0] = args
;
34004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34005 if (!SWIG_IsOK(res1
)) {
34006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34008 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34009 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34017 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34018 PyObject
*resultobj
= 0;
34019 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34020 wxColour
*arg2
= (wxColour
*) 0 ;
34024 PyObject
*swig_obj
[2] ;
34026 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34028 if (!SWIG_IsOK(res1
)) {
34029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34031 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34034 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34036 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34038 resultobj
= SWIG_Py_Void();
34045 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34046 PyObject
*resultobj
= 0;
34047 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34048 wxColour
*result
= 0 ;
34051 PyObject
*swig_obj
[1] ;
34053 if (!args
) SWIG_fail
;
34054 swig_obj
[0] = args
;
34055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34056 if (!SWIG_IsOK(res1
)) {
34057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34059 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34060 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34068 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34069 PyObject
*resultobj
= 0;
34070 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34071 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34076 PyObject
*swig_obj
[2] ;
34078 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34080 if (!SWIG_IsOK(res1
)) {
34081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34083 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34084 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34085 if (!SWIG_IsOK(res2
)) {
34086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34088 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34089 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34091 resultobj
= SWIG_Py_Void();
34098 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34099 PyObject
*resultobj
= 0;
34100 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34101 wxBitmap
*result
= 0 ;
34104 PyObject
*swig_obj
[1] ;
34106 if (!args
) SWIG_fail
;
34107 swig_obj
[0] = args
;
34108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34109 if (!SWIG_IsOK(res1
)) {
34110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34112 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34113 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34121 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34122 PyObject
*resultobj
= 0;
34123 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34129 PyObject
*swig_obj
[2] ;
34131 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34133 if (!SWIG_IsOK(res1
)) {
34134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34136 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34137 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34138 if (!SWIG_IsOK(ecode2
)) {
34139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34141 arg2
= static_cast< int >(val2
);
34142 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34144 resultobj
= SWIG_Py_Void();
34151 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34152 PyObject
*resultobj
= 0;
34153 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34157 PyObject
*swig_obj
[1] ;
34159 if (!args
) SWIG_fail
;
34160 swig_obj
[0] = args
;
34161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34162 if (!SWIG_IsOK(res1
)) {
34163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34165 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34166 result
= (int) ((arg1
)->m_labelAlignment
);
34167 resultobj
= SWIG_From_int(static_cast< int >(result
));
34174 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34176 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34177 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34178 return SWIG_Py_Void();
34181 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34182 return SWIG_Python_InitShadowInstance(args
);
34185 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34186 PyObject
*resultobj
= 0;
34189 wxRendererVersion
*result
= 0 ;
34194 PyObject
* obj0
= 0 ;
34195 PyObject
* obj1
= 0 ;
34196 char * kwnames
[] = {
34197 (char *) "version_",(char *) "age_", NULL
34200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34201 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34202 if (!SWIG_IsOK(ecode1
)) {
34203 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34205 arg1
= static_cast< int >(val1
);
34206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34207 if (!SWIG_IsOK(ecode2
)) {
34208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34210 arg2
= static_cast< int >(val2
);
34212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34213 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34214 wxPyEndAllowThreads(__tstate
);
34215 if (PyErr_Occurred()) SWIG_fail
;
34217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34224 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34225 PyObject
*resultobj
= 0;
34226 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34229 PyObject
*swig_obj
[1] ;
34231 if (!args
) SWIG_fail
;
34232 swig_obj
[0] = args
;
34233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34234 if (!SWIG_IsOK(res1
)) {
34235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34237 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34242 wxPyEndAllowThreads(__tstate
);
34243 if (PyErr_Occurred()) SWIG_fail
;
34245 resultobj
= SWIG_Py_Void();
34252 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34253 PyObject
*resultobj
= 0;
34254 wxRendererVersion
*arg1
= 0 ;
34258 PyObject
* obj0
= 0 ;
34259 char * kwnames
[] = {
34260 (char *) "ver", NULL
34263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34264 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34265 if (!SWIG_IsOK(res1
)) {
34266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34271 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34274 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34275 wxPyEndAllowThreads(__tstate
);
34276 if (PyErr_Occurred()) SWIG_fail
;
34279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34287 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34288 PyObject
*resultobj
= 0;
34289 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34293 PyObject
*swig_obj
[1] ;
34295 if (!args
) SWIG_fail
;
34296 swig_obj
[0] = args
;
34297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34298 if (!SWIG_IsOK(res1
)) {
34299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34301 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34302 result
= (int)(int) ((arg1
)->version
);
34303 resultobj
= SWIG_From_int(static_cast< int >(result
));
34310 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34311 PyObject
*resultobj
= 0;
34312 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34316 PyObject
*swig_obj
[1] ;
34318 if (!args
) SWIG_fail
;
34319 swig_obj
[0] = args
;
34320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34321 if (!SWIG_IsOK(res1
)) {
34322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34324 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34325 result
= (int)(int) ((arg1
)->age
);
34326 resultobj
= SWIG_From_int(static_cast< int >(result
));
34333 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34336 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34337 return SWIG_Py_Void();
34340 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34341 return SWIG_Python_InitShadowInstance(args
);
34344 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34345 PyObject
*resultobj
= 0;
34346 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34347 wxWindow
*arg2
= (wxWindow
*) 0 ;
34350 int arg5
= (int) 0 ;
34351 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34352 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34367 PyObject
* obj0
= 0 ;
34368 PyObject
* obj1
= 0 ;
34369 PyObject
* obj2
= 0 ;
34370 PyObject
* obj3
= 0 ;
34371 PyObject
* obj4
= 0 ;
34372 PyObject
* obj5
= 0 ;
34373 PyObject
* obj6
= 0 ;
34374 char * kwnames
[] = {
34375 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34380 if (!SWIG_IsOK(res1
)) {
34381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34383 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34384 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34385 if (!SWIG_IsOK(res2
)) {
34386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34388 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34389 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34390 if (!SWIG_IsOK(res3
)) {
34391 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34396 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34399 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34402 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34403 if (!SWIG_IsOK(ecode5
)) {
34404 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34406 arg5
= static_cast< int >(val5
);
34409 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34410 if (!SWIG_IsOK(ecode6
)) {
34411 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34413 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34416 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34417 if (!SWIG_IsOK(res7
)) {
34418 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34420 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34424 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34425 wxPyEndAllowThreads(__tstate
);
34426 if (PyErr_Occurred()) SWIG_fail
;
34428 resultobj
= SWIG_From_int(static_cast< int >(result
));
34435 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34436 PyObject
*resultobj
= 0;
34437 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34438 wxWindow
*arg2
= (wxWindow
*) 0 ;
34441 int arg5
= (int) 0 ;
34442 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34443 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34458 PyObject
* obj0
= 0 ;
34459 PyObject
* obj1
= 0 ;
34460 PyObject
* obj2
= 0 ;
34461 PyObject
* obj3
= 0 ;
34462 PyObject
* obj4
= 0 ;
34463 PyObject
* obj5
= 0 ;
34464 PyObject
* obj6
= 0 ;
34465 char * kwnames
[] = {
34466 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34471 if (!SWIG_IsOK(res1
)) {
34472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34474 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34475 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34476 if (!SWIG_IsOK(res2
)) {
34477 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34479 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34480 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34481 if (!SWIG_IsOK(res3
)) {
34482 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34487 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34490 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34493 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34494 if (!SWIG_IsOK(ecode5
)) {
34495 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34497 arg5
= static_cast< int >(val5
);
34500 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34501 if (!SWIG_IsOK(ecode6
)) {
34502 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34504 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34507 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34508 if (!SWIG_IsOK(res7
)) {
34509 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34511 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34515 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34516 wxPyEndAllowThreads(__tstate
);
34517 if (PyErr_Occurred()) SWIG_fail
;
34519 resultobj
= SWIG_From_int(static_cast< int >(result
));
34526 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34527 PyObject
*resultobj
= 0;
34528 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34529 wxWindow
*arg2
= (wxWindow
*) 0 ;
34535 PyObject
* obj0
= 0 ;
34536 PyObject
* obj1
= 0 ;
34537 char * kwnames
[] = {
34538 (char *) "self",(char *) "win", NULL
34541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34543 if (!SWIG_IsOK(res1
)) {
34544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34546 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34547 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34548 if (!SWIG_IsOK(res2
)) {
34549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34551 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34554 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34555 wxPyEndAllowThreads(__tstate
);
34556 if (PyErr_Occurred()) SWIG_fail
;
34558 resultobj
= SWIG_From_int(static_cast< int >(result
));
34565 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34566 PyObject
*resultobj
= 0;
34567 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34568 wxWindow
*arg2
= (wxWindow
*) 0 ;
34571 int arg5
= (int) 0 ;
34581 PyObject
* obj0
= 0 ;
34582 PyObject
* obj1
= 0 ;
34583 PyObject
* obj2
= 0 ;
34584 PyObject
* obj3
= 0 ;
34585 PyObject
* obj4
= 0 ;
34586 char * kwnames
[] = {
34587 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34592 if (!SWIG_IsOK(res1
)) {
34593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34595 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34596 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34597 if (!SWIG_IsOK(res2
)) {
34598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34600 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34601 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34602 if (!SWIG_IsOK(res3
)) {
34603 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34608 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34611 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34614 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34615 if (!SWIG_IsOK(ecode5
)) {
34616 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34618 arg5
= static_cast< int >(val5
);
34621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34622 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34623 wxPyEndAllowThreads(__tstate
);
34624 if (PyErr_Occurred()) SWIG_fail
;
34626 resultobj
= SWIG_Py_Void();
34633 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34634 PyObject
*resultobj
= 0;
34635 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34636 wxWindow
*arg2
= (wxWindow
*) 0 ;
34639 int arg5
= (int) 0 ;
34649 PyObject
* obj0
= 0 ;
34650 PyObject
* obj1
= 0 ;
34651 PyObject
* obj2
= 0 ;
34652 PyObject
* obj3
= 0 ;
34653 PyObject
* obj4
= 0 ;
34654 char * kwnames
[] = {
34655 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34660 if (!SWIG_IsOK(res1
)) {
34661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34663 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34665 if (!SWIG_IsOK(res2
)) {
34666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34668 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34669 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34670 if (!SWIG_IsOK(res3
)) {
34671 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34676 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34679 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34682 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34683 if (!SWIG_IsOK(ecode5
)) {
34684 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34686 arg5
= static_cast< int >(val5
);
34689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34690 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34691 wxPyEndAllowThreads(__tstate
);
34692 if (PyErr_Occurred()) SWIG_fail
;
34694 resultobj
= SWIG_Py_Void();
34701 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34702 PyObject
*resultobj
= 0;
34703 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34704 wxWindow
*arg2
= (wxWindow
*) 0 ;
34708 wxOrientation arg6
;
34709 int arg7
= (int) 0 ;
34723 PyObject
* obj0
= 0 ;
34724 PyObject
* obj1
= 0 ;
34725 PyObject
* obj2
= 0 ;
34726 PyObject
* obj3
= 0 ;
34727 PyObject
* obj4
= 0 ;
34728 PyObject
* obj5
= 0 ;
34729 PyObject
* obj6
= 0 ;
34730 char * kwnames
[] = {
34731 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34736 if (!SWIG_IsOK(res1
)) {
34737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34739 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34740 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34741 if (!SWIG_IsOK(res2
)) {
34742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34744 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34745 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34746 if (!SWIG_IsOK(res3
)) {
34747 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34752 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34755 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34757 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34758 if (!SWIG_IsOK(ecode5
)) {
34759 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34761 arg5
= static_cast< int >(val5
);
34762 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34763 if (!SWIG_IsOK(ecode6
)) {
34764 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34766 arg6
= static_cast< wxOrientation
>(val6
);
34768 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34769 if (!SWIG_IsOK(ecode7
)) {
34770 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34772 arg7
= static_cast< int >(val7
);
34775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34776 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34777 wxPyEndAllowThreads(__tstate
);
34778 if (PyErr_Occurred()) SWIG_fail
;
34780 resultobj
= SWIG_Py_Void();
34787 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34788 PyObject
*resultobj
= 0;
34789 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34790 wxWindow
*arg2
= (wxWindow
*) 0 ;
34793 int arg5
= (int) 0 ;
34803 PyObject
* obj0
= 0 ;
34804 PyObject
* obj1
= 0 ;
34805 PyObject
* obj2
= 0 ;
34806 PyObject
* obj3
= 0 ;
34807 PyObject
* obj4
= 0 ;
34808 char * kwnames
[] = {
34809 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34814 if (!SWIG_IsOK(res1
)) {
34815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34817 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34818 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34819 if (!SWIG_IsOK(res2
)) {
34820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34822 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34823 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34824 if (!SWIG_IsOK(res3
)) {
34825 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34828 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34830 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34833 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34836 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34837 if (!SWIG_IsOK(ecode5
)) {
34838 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34840 arg5
= static_cast< int >(val5
);
34843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34844 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34845 wxPyEndAllowThreads(__tstate
);
34846 if (PyErr_Occurred()) SWIG_fail
;
34848 resultobj
= SWIG_Py_Void();
34855 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34856 PyObject
*resultobj
= 0;
34857 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34858 wxWindow
*arg2
= (wxWindow
*) 0 ;
34861 int arg5
= (int) 0 ;
34871 PyObject
* obj0
= 0 ;
34872 PyObject
* obj1
= 0 ;
34873 PyObject
* obj2
= 0 ;
34874 PyObject
* obj3
= 0 ;
34875 PyObject
* obj4
= 0 ;
34876 char * kwnames
[] = {
34877 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34882 if (!SWIG_IsOK(res1
)) {
34883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34885 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34886 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34887 if (!SWIG_IsOK(res2
)) {
34888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34890 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34891 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34892 if (!SWIG_IsOK(res3
)) {
34893 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34898 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34901 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34904 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34905 if (!SWIG_IsOK(ecode5
)) {
34906 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34908 arg5
= static_cast< int >(val5
);
34911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34912 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34913 wxPyEndAllowThreads(__tstate
);
34914 if (PyErr_Occurred()) SWIG_fail
;
34916 resultobj
= SWIG_Py_Void();
34923 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34924 PyObject
*resultobj
= 0;
34925 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34926 wxWindow
*arg2
= (wxWindow
*) 0 ;
34929 int arg5
= (int) 0 ;
34939 PyObject
* obj0
= 0 ;
34940 PyObject
* obj1
= 0 ;
34941 PyObject
* obj2
= 0 ;
34942 PyObject
* obj3
= 0 ;
34943 PyObject
* obj4
= 0 ;
34944 char * kwnames
[] = {
34945 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34950 if (!SWIG_IsOK(res1
)) {
34951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34953 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34954 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34955 if (!SWIG_IsOK(res2
)) {
34956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
34958 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34959 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34960 if (!SWIG_IsOK(res3
)) {
34961 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34964 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
34966 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34969 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34972 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34973 if (!SWIG_IsOK(ecode5
)) {
34974 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
34976 arg5
= static_cast< int >(val5
);
34979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34980 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34981 wxPyEndAllowThreads(__tstate
);
34982 if (PyErr_Occurred()) SWIG_fail
;
34984 resultobj
= SWIG_Py_Void();
34991 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34992 PyObject
*resultobj
= 0;
34993 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34994 wxWindow
*arg2
= (wxWindow
*) 0 ;
34997 int arg5
= (int) 0 ;
35007 PyObject
* obj0
= 0 ;
35008 PyObject
* obj1
= 0 ;
35009 PyObject
* obj2
= 0 ;
35010 PyObject
* obj3
= 0 ;
35011 PyObject
* obj4
= 0 ;
35012 char * kwnames
[] = {
35013 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35018 if (!SWIG_IsOK(res1
)) {
35019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35021 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35022 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35023 if (!SWIG_IsOK(res2
)) {
35024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35026 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35027 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35028 if (!SWIG_IsOK(res3
)) {
35029 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35034 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35037 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35040 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35041 if (!SWIG_IsOK(ecode5
)) {
35042 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35044 arg5
= static_cast< int >(val5
);
35047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35048 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35049 wxPyEndAllowThreads(__tstate
);
35050 if (PyErr_Occurred()) SWIG_fail
;
35052 resultobj
= SWIG_Py_Void();
35059 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35060 PyObject
*resultobj
= 0;
35061 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35062 wxWindow
*arg2
= (wxWindow
*) 0 ;
35065 int arg5
= (int) 0 ;
35075 PyObject
* obj0
= 0 ;
35076 PyObject
* obj1
= 0 ;
35077 PyObject
* obj2
= 0 ;
35078 PyObject
* obj3
= 0 ;
35079 PyObject
* obj4
= 0 ;
35080 char * kwnames
[] = {
35081 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35086 if (!SWIG_IsOK(res1
)) {
35087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35089 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35090 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35091 if (!SWIG_IsOK(res2
)) {
35092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35094 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35095 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35096 if (!SWIG_IsOK(res3
)) {
35097 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35102 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35105 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35108 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35109 if (!SWIG_IsOK(ecode5
)) {
35110 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35112 arg5
= static_cast< int >(val5
);
35115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35116 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35117 wxPyEndAllowThreads(__tstate
);
35118 if (PyErr_Occurred()) SWIG_fail
;
35120 resultobj
= SWIG_Py_Void();
35127 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35128 PyObject
*resultobj
= 0;
35129 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35130 wxWindow
*arg2
= (wxWindow
*) 0 ;
35131 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35136 PyObject
* obj0
= 0 ;
35137 PyObject
* obj1
= 0 ;
35138 char * kwnames
[] = {
35139 (char *) "self",(char *) "win", NULL
35142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35144 if (!SWIG_IsOK(res1
)) {
35145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35147 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35148 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35149 if (!SWIG_IsOK(res2
)) {
35150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35152 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35155 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35156 wxPyEndAllowThreads(__tstate
);
35157 if (PyErr_Occurred()) SWIG_fail
;
35159 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35166 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35167 PyObject
*resultobj
= 0;
35168 wxRendererNative
*result
= 0 ;
35170 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35172 if (!wxPyCheckForApp()) SWIG_fail
;
35173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35175 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35176 result
= (wxRendererNative
*) &_result_ref
;
35178 wxPyEndAllowThreads(__tstate
);
35179 if (PyErr_Occurred()) SWIG_fail
;
35181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35188 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35189 PyObject
*resultobj
= 0;
35190 wxRendererNative
*result
= 0 ;
35192 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35194 if (!wxPyCheckForApp()) SWIG_fail
;
35195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35197 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35198 result
= (wxRendererNative
*) &_result_ref
;
35200 wxPyEndAllowThreads(__tstate
);
35201 if (PyErr_Occurred()) SWIG_fail
;
35203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35210 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35211 PyObject
*resultobj
= 0;
35212 wxRendererNative
*result
= 0 ;
35214 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35216 if (!wxPyCheckForApp()) SWIG_fail
;
35217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35219 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35220 result
= (wxRendererNative
*) &_result_ref
;
35222 wxPyEndAllowThreads(__tstate
);
35223 if (PyErr_Occurred()) SWIG_fail
;
35225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35232 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35233 PyObject
*resultobj
= 0;
35234 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35235 wxRendererNative
*result
= 0 ;
35238 PyObject
* obj0
= 0 ;
35239 char * kwnames
[] = {
35240 (char *) "renderer", NULL
35243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35245 if (!SWIG_IsOK(res1
)) {
35246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35248 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35250 if (!wxPyCheckForApp()) SWIG_fail
;
35251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35252 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35253 wxPyEndAllowThreads(__tstate
);
35254 if (PyErr_Occurred()) SWIG_fail
;
35256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35263 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35264 PyObject
*resultobj
= 0;
35265 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35266 SwigValueWrapper
<wxRendererVersion
> result
;
35269 PyObject
*swig_obj
[1] ;
35271 if (!args
) SWIG_fail
;
35272 swig_obj
[0] = args
;
35273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35274 if (!SWIG_IsOK(res1
)) {
35275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35277 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35280 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35281 wxPyEndAllowThreads(__tstate
);
35282 if (PyErr_Occurred()) SWIG_fail
;
35284 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35291 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35294 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35295 return SWIG_Py_Void();
35298 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35299 PyObject
*resultobj
= 0;
35300 wxPseudoDC
*result
= 0 ;
35302 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35305 result
= (wxPseudoDC
*)new wxPseudoDC();
35306 wxPyEndAllowThreads(__tstate
);
35307 if (PyErr_Occurred()) SWIG_fail
;
35309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35316 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35317 PyObject
*resultobj
= 0;
35318 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35321 PyObject
*swig_obj
[1] ;
35323 if (!args
) SWIG_fail
;
35324 swig_obj
[0] = args
;
35325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35326 if (!SWIG_IsOK(res1
)) {
35327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35329 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35332 (arg1
)->BeginDrawing();
35333 wxPyEndAllowThreads(__tstate
);
35334 if (PyErr_Occurred()) SWIG_fail
;
35336 resultobj
= SWIG_Py_Void();
35343 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35344 PyObject
*resultobj
= 0;
35345 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35348 PyObject
*swig_obj
[1] ;
35350 if (!args
) SWIG_fail
;
35351 swig_obj
[0] = args
;
35352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35353 if (!SWIG_IsOK(res1
)) {
35354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35356 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35359 (arg1
)->EndDrawing();
35360 wxPyEndAllowThreads(__tstate
);
35361 if (PyErr_Occurred()) SWIG_fail
;
35363 resultobj
= SWIG_Py_Void();
35370 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35371 PyObject
*resultobj
= 0;
35372 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35375 PyObject
*swig_obj
[1] ;
35377 if (!args
) SWIG_fail
;
35378 swig_obj
[0] = args
;
35379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35380 if (!SWIG_IsOK(res1
)) {
35381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35383 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35388 wxPyEndAllowThreads(__tstate
);
35389 if (PyErr_Occurred()) SWIG_fail
;
35391 resultobj
= SWIG_Py_Void();
35398 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35399 PyObject
*resultobj
= 0;
35400 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35403 PyObject
*swig_obj
[1] ;
35405 if (!args
) SWIG_fail
;
35406 swig_obj
[0] = args
;
35407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35408 if (!SWIG_IsOK(res1
)) {
35409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35411 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35414 (arg1
)->RemoveAll();
35415 wxPyEndAllowThreads(__tstate
);
35416 if (PyErr_Occurred()) SWIG_fail
;
35418 resultobj
= SWIG_Py_Void();
35425 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35426 PyObject
*resultobj
= 0;
35427 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35431 PyObject
*swig_obj
[1] ;
35433 if (!args
) SWIG_fail
;
35434 swig_obj
[0] = args
;
35435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35436 if (!SWIG_IsOK(res1
)) {
35437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35439 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35442 result
= (int)(arg1
)->GetLen();
35443 wxPyEndAllowThreads(__tstate
);
35444 if (PyErr_Occurred()) SWIG_fail
;
35446 resultobj
= SWIG_From_int(static_cast< int >(result
));
35453 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35454 PyObject
*resultobj
= 0;
35455 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35461 PyObject
* obj0
= 0 ;
35462 PyObject
* obj1
= 0 ;
35463 char * kwnames
[] = {
35464 (char *) "self",(char *) "id", NULL
35467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35469 if (!SWIG_IsOK(res1
)) {
35470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35472 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35474 if (!SWIG_IsOK(ecode2
)) {
35475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35477 arg2
= static_cast< int >(val2
);
35479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35480 (arg1
)->SetId(arg2
);
35481 wxPyEndAllowThreads(__tstate
);
35482 if (PyErr_Occurred()) SWIG_fail
;
35484 resultobj
= SWIG_Py_Void();
35491 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35492 PyObject
*resultobj
= 0;
35493 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35499 PyObject
* obj0
= 0 ;
35500 PyObject
* obj1
= 0 ;
35501 char * kwnames
[] = {
35502 (char *) "self",(char *) "id", NULL
35505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35507 if (!SWIG_IsOK(res1
)) {
35508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35510 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35512 if (!SWIG_IsOK(ecode2
)) {
35513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35515 arg2
= static_cast< int >(val2
);
35517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35518 (arg1
)->ClearId(arg2
);
35519 wxPyEndAllowThreads(__tstate
);
35520 if (PyErr_Occurred()) SWIG_fail
;
35522 resultobj
= SWIG_Py_Void();
35529 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35530 PyObject
*resultobj
= 0;
35531 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35537 PyObject
* obj0
= 0 ;
35538 PyObject
* obj1
= 0 ;
35539 char * kwnames
[] = {
35540 (char *) "self",(char *) "id", NULL
35543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35545 if (!SWIG_IsOK(res1
)) {
35546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35548 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35550 if (!SWIG_IsOK(ecode2
)) {
35551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35553 arg2
= static_cast< int >(val2
);
35555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35556 (arg1
)->RemoveId(arg2
);
35557 wxPyEndAllowThreads(__tstate
);
35558 if (PyErr_Occurred()) SWIG_fail
;
35560 resultobj
= SWIG_Py_Void();
35567 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35568 PyObject
*resultobj
= 0;
35569 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35581 PyObject
* obj0
= 0 ;
35582 PyObject
* obj1
= 0 ;
35583 PyObject
* obj2
= 0 ;
35584 PyObject
* obj3
= 0 ;
35585 char * kwnames
[] = {
35586 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35591 if (!SWIG_IsOK(res1
)) {
35592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35594 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35596 if (!SWIG_IsOK(ecode2
)) {
35597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35599 arg2
= static_cast< int >(val2
);
35600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35601 if (!SWIG_IsOK(ecode3
)) {
35602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35604 arg3
= static_cast< int >(val3
);
35605 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35606 if (!SWIG_IsOK(ecode4
)) {
35607 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35609 arg4
= static_cast< int >(val4
);
35611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35612 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35613 wxPyEndAllowThreads(__tstate
);
35614 if (PyErr_Occurred()) SWIG_fail
;
35616 resultobj
= SWIG_Py_Void();
35623 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35624 PyObject
*resultobj
= 0;
35625 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35627 bool arg3
= (bool) true ;
35634 PyObject
* obj0
= 0 ;
35635 PyObject
* obj1
= 0 ;
35636 PyObject
* obj2
= 0 ;
35637 char * kwnames
[] = {
35638 (char *) "self",(char *) "id",(char *) "greyout", NULL
35641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35643 if (!SWIG_IsOK(res1
)) {
35644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35646 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35648 if (!SWIG_IsOK(ecode2
)) {
35649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35651 arg2
= static_cast< int >(val2
);
35653 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35654 if (!SWIG_IsOK(ecode3
)) {
35655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35657 arg3
= static_cast< bool >(val3
);
35660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35661 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35662 wxPyEndAllowThreads(__tstate
);
35663 if (PyErr_Occurred()) SWIG_fail
;
35665 resultobj
= SWIG_Py_Void();
35672 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35673 PyObject
*resultobj
= 0;
35674 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35681 PyObject
* obj0
= 0 ;
35682 PyObject
* obj1
= 0 ;
35683 char * kwnames
[] = {
35684 (char *) "self",(char *) "id", NULL
35687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35689 if (!SWIG_IsOK(res1
)) {
35690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35692 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35694 if (!SWIG_IsOK(ecode2
)) {
35695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35697 arg2
= static_cast< int >(val2
);
35699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35700 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35701 wxPyEndAllowThreads(__tstate
);
35702 if (PyErr_Occurred()) SWIG_fail
;
35705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35713 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35714 PyObject
*resultobj
= 0;
35715 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35718 int arg4
= (int) 1 ;
35719 wxColor
const &arg5_defvalue
= *wxWHITE
;
35720 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
35721 PyObject
*result
= 0 ;
35732 PyObject
* obj0
= 0 ;
35733 PyObject
* obj1
= 0 ;
35734 PyObject
* obj2
= 0 ;
35735 PyObject
* obj3
= 0 ;
35736 PyObject
* obj4
= 0 ;
35737 char * kwnames
[] = {
35738 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35743 if (!SWIG_IsOK(res1
)) {
35744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35746 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35748 if (!SWIG_IsOK(ecode2
)) {
35749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35751 arg2
= static_cast< int >(val2
);
35752 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35753 if (!SWIG_IsOK(ecode3
)) {
35754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35756 arg3
= static_cast< int >(val3
);
35758 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35759 if (!SWIG_IsOK(ecode4
)) {
35760 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35762 arg4
= static_cast< int >(val4
);
35765 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
35766 if (!SWIG_IsOK(res5
)) {
35767 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
35772 arg5
= reinterpret_cast< wxColor
* >(argp5
);
35775 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
35776 if (PyErr_Occurred()) SWIG_fail
;
35778 resultobj
= result
;
35785 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35786 PyObject
*resultobj
= 0;
35787 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35790 PyObject
*result
= 0 ;
35797 PyObject
* obj0
= 0 ;
35798 PyObject
* obj1
= 0 ;
35799 PyObject
* obj2
= 0 ;
35800 char * kwnames
[] = {
35801 (char *) "self",(char *) "x",(char *) "y", NULL
35804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35806 if (!SWIG_IsOK(res1
)) {
35807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35809 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35811 if (!SWIG_IsOK(ecode2
)) {
35812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35814 arg2
= static_cast< int >(val2
);
35815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35816 if (!SWIG_IsOK(ecode3
)) {
35817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35819 arg3
= static_cast< int >(val3
);
35821 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35822 if (PyErr_Occurred()) SWIG_fail
;
35824 resultobj
= result
;
35831 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35832 PyObject
*resultobj
= 0;
35833 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35835 wxDC
*arg3
= (wxDC
*) 0 ;
35842 PyObject
* obj0
= 0 ;
35843 PyObject
* obj1
= 0 ;
35844 PyObject
* obj2
= 0 ;
35845 char * kwnames
[] = {
35846 (char *) "self",(char *) "id",(char *) "dc", NULL
35849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35851 if (!SWIG_IsOK(res1
)) {
35852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35854 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35856 if (!SWIG_IsOK(ecode2
)) {
35857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35859 arg2
= static_cast< int >(val2
);
35860 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35861 if (!SWIG_IsOK(res3
)) {
35862 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35864 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35867 (arg1
)->DrawIdToDC(arg2
,arg3
);
35868 wxPyEndAllowThreads(__tstate
);
35869 if (PyErr_Occurred()) SWIG_fail
;
35871 resultobj
= SWIG_Py_Void();
35878 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35879 PyObject
*resultobj
= 0;
35880 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35888 PyObject
* obj0
= 0 ;
35889 PyObject
* obj1
= 0 ;
35890 PyObject
* obj2
= 0 ;
35891 char * kwnames
[] = {
35892 (char *) "self",(char *) "id",(char *) "rect", NULL
35895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35897 if (!SWIG_IsOK(res1
)) {
35898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35900 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35902 if (!SWIG_IsOK(ecode2
)) {
35903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35905 arg2
= static_cast< int >(val2
);
35908 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35912 (arg1
)->SetIdBounds(arg2
,*arg3
);
35913 wxPyEndAllowThreads(__tstate
);
35914 if (PyErr_Occurred()) SWIG_fail
;
35916 resultobj
= SWIG_Py_Void();
35923 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35924 PyObject
*resultobj
= 0;
35925 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35932 PyObject
* obj0
= 0 ;
35933 PyObject
* obj1
= 0 ;
35934 char * kwnames
[] = {
35935 (char *) "self",(char *) "id", NULL
35938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35940 if (!SWIG_IsOK(res1
)) {
35941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35943 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35945 if (!SWIG_IsOK(ecode2
)) {
35946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
35948 arg2
= static_cast< int >(val2
);
35950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35951 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
35952 wxPyEndAllowThreads(__tstate
);
35953 if (PyErr_Occurred()) SWIG_fail
;
35955 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35962 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35963 PyObject
*resultobj
= 0;
35964 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35965 wxDC
*arg2
= (wxDC
*) 0 ;
35972 PyObject
* obj0
= 0 ;
35973 PyObject
* obj1
= 0 ;
35974 PyObject
* obj2
= 0 ;
35975 char * kwnames
[] = {
35976 (char *) "self",(char *) "dc",(char *) "rect", NULL
35979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35981 if (!SWIG_IsOK(res1
)) {
35982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35984 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35985 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
35986 if (!SWIG_IsOK(res2
)) {
35987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
35989 arg2
= reinterpret_cast< wxDC
* >(argp2
);
35992 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35996 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
35997 wxPyEndAllowThreads(__tstate
);
35998 if (PyErr_Occurred()) SWIG_fail
;
36000 resultobj
= SWIG_Py_Void();
36007 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36008 PyObject
*resultobj
= 0;
36009 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36010 wxDC
*arg2
= (wxDC
*) 0 ;
36011 wxRegion
*arg3
= 0 ;
36018 PyObject
* obj0
= 0 ;
36019 PyObject
* obj1
= 0 ;
36020 PyObject
* obj2
= 0 ;
36021 char * kwnames
[] = {
36022 (char *) "self",(char *) "dc",(char *) "region", NULL
36025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36027 if (!SWIG_IsOK(res1
)) {
36028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36030 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36031 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36032 if (!SWIG_IsOK(res2
)) {
36033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36035 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36036 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36037 if (!SWIG_IsOK(res3
)) {
36038 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36043 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36046 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36047 wxPyEndAllowThreads(__tstate
);
36048 if (PyErr_Occurred()) SWIG_fail
;
36050 resultobj
= SWIG_Py_Void();
36057 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36058 PyObject
*resultobj
= 0;
36059 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36060 wxDC
*arg2
= (wxDC
*) 0 ;
36065 PyObject
* obj0
= 0 ;
36066 PyObject
* obj1
= 0 ;
36067 char * kwnames
[] = {
36068 (char *) "self",(char *) "dc", NULL
36071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36073 if (!SWIG_IsOK(res1
)) {
36074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36076 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36077 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36078 if (!SWIG_IsOK(res2
)) {
36079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36081 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36084 (arg1
)->DrawToDC(arg2
);
36085 wxPyEndAllowThreads(__tstate
);
36086 if (PyErr_Occurred()) SWIG_fail
;
36088 resultobj
= SWIG_Py_Void();
36095 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36096 PyObject
*resultobj
= 0;
36097 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36100 wxColour
*arg4
= 0 ;
36101 int arg5
= (int) wxFLOOD_SURFACE
;
36111 PyObject
* obj0
= 0 ;
36112 PyObject
* obj1
= 0 ;
36113 PyObject
* obj2
= 0 ;
36114 PyObject
* obj3
= 0 ;
36115 PyObject
* obj4
= 0 ;
36116 char * kwnames
[] = {
36117 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36122 if (!SWIG_IsOK(res1
)) {
36123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36125 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36127 if (!SWIG_IsOK(ecode2
)) {
36128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36130 arg2
= static_cast< int >(val2
);
36131 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36132 if (!SWIG_IsOK(ecode3
)) {
36133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36135 arg3
= static_cast< int >(val3
);
36138 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36141 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36142 if (!SWIG_IsOK(ecode5
)) {
36143 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36145 arg5
= static_cast< int >(val5
);
36148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36149 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36150 wxPyEndAllowThreads(__tstate
);
36151 if (PyErr_Occurred()) SWIG_fail
;
36153 resultobj
= SWIG_Py_Void();
36160 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36161 PyObject
*resultobj
= 0;
36162 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36163 wxPoint
*arg2
= 0 ;
36164 wxColour
*arg3
= 0 ;
36165 int arg4
= (int) wxFLOOD_SURFACE
;
36172 PyObject
* obj0
= 0 ;
36173 PyObject
* obj1
= 0 ;
36174 PyObject
* obj2
= 0 ;
36175 PyObject
* obj3
= 0 ;
36176 char * kwnames
[] = {
36177 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36182 if (!SWIG_IsOK(res1
)) {
36183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36185 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36188 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36192 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36195 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36196 if (!SWIG_IsOK(ecode4
)) {
36197 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36199 arg4
= static_cast< int >(val4
);
36202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36203 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36204 wxPyEndAllowThreads(__tstate
);
36205 if (PyErr_Occurred()) SWIG_fail
;
36207 resultobj
= SWIG_Py_Void();
36214 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36215 PyObject
*resultobj
= 0;
36216 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36231 PyObject
* obj0
= 0 ;
36232 PyObject
* obj1
= 0 ;
36233 PyObject
* obj2
= 0 ;
36234 PyObject
* obj3
= 0 ;
36235 PyObject
* obj4
= 0 ;
36236 char * kwnames
[] = {
36237 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36242 if (!SWIG_IsOK(res1
)) {
36243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36245 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36247 if (!SWIG_IsOK(ecode2
)) {
36248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36250 arg2
= static_cast< int >(val2
);
36251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36252 if (!SWIG_IsOK(ecode3
)) {
36253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36255 arg3
= static_cast< int >(val3
);
36256 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36257 if (!SWIG_IsOK(ecode4
)) {
36258 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36260 arg4
= static_cast< int >(val4
);
36261 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36262 if (!SWIG_IsOK(ecode5
)) {
36263 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36265 arg5
= static_cast< int >(val5
);
36267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36268 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36269 wxPyEndAllowThreads(__tstate
);
36270 if (PyErr_Occurred()) SWIG_fail
;
36272 resultobj
= SWIG_Py_Void();
36279 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36280 PyObject
*resultobj
= 0;
36281 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36282 wxPoint
*arg2
= 0 ;
36283 wxPoint
*arg3
= 0 ;
36288 PyObject
* obj0
= 0 ;
36289 PyObject
* obj1
= 0 ;
36290 PyObject
* obj2
= 0 ;
36291 char * kwnames
[] = {
36292 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36297 if (!SWIG_IsOK(res1
)) {
36298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36300 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36303 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36307 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36311 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36312 wxPyEndAllowThreads(__tstate
);
36313 if (PyErr_Occurred()) SWIG_fail
;
36315 resultobj
= SWIG_Py_Void();
36322 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36323 PyObject
*resultobj
= 0;
36324 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36333 PyObject
* obj0
= 0 ;
36334 PyObject
* obj1
= 0 ;
36335 PyObject
* obj2
= 0 ;
36336 char * kwnames
[] = {
36337 (char *) "self",(char *) "x",(char *) "y", NULL
36340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36342 if (!SWIG_IsOK(res1
)) {
36343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36345 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36347 if (!SWIG_IsOK(ecode2
)) {
36348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36350 arg2
= static_cast< int >(val2
);
36351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36352 if (!SWIG_IsOK(ecode3
)) {
36353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36355 arg3
= static_cast< int >(val3
);
36357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36358 (arg1
)->CrossHair(arg2
,arg3
);
36359 wxPyEndAllowThreads(__tstate
);
36360 if (PyErr_Occurred()) SWIG_fail
;
36362 resultobj
= SWIG_Py_Void();
36369 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36370 PyObject
*resultobj
= 0;
36371 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36372 wxPoint
*arg2
= 0 ;
36376 PyObject
* obj0
= 0 ;
36377 PyObject
* obj1
= 0 ;
36378 char * kwnames
[] = {
36379 (char *) "self",(char *) "pt", NULL
36382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36384 if (!SWIG_IsOK(res1
)) {
36385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36387 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36390 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36394 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36395 wxPyEndAllowThreads(__tstate
);
36396 if (PyErr_Occurred()) SWIG_fail
;
36398 resultobj
= SWIG_Py_Void();
36405 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36406 PyObject
*resultobj
= 0;
36407 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36428 PyObject
* obj0
= 0 ;
36429 PyObject
* obj1
= 0 ;
36430 PyObject
* obj2
= 0 ;
36431 PyObject
* obj3
= 0 ;
36432 PyObject
* obj4
= 0 ;
36433 PyObject
* obj5
= 0 ;
36434 PyObject
* obj6
= 0 ;
36435 char * kwnames
[] = {
36436 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36441 if (!SWIG_IsOK(res1
)) {
36442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36444 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36446 if (!SWIG_IsOK(ecode2
)) {
36447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36449 arg2
= static_cast< int >(val2
);
36450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36451 if (!SWIG_IsOK(ecode3
)) {
36452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36454 arg3
= static_cast< int >(val3
);
36455 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36456 if (!SWIG_IsOK(ecode4
)) {
36457 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36459 arg4
= static_cast< int >(val4
);
36460 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36461 if (!SWIG_IsOK(ecode5
)) {
36462 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36464 arg5
= static_cast< int >(val5
);
36465 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36466 if (!SWIG_IsOK(ecode6
)) {
36467 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36469 arg6
= static_cast< int >(val6
);
36470 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36471 if (!SWIG_IsOK(ecode7
)) {
36472 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36474 arg7
= static_cast< int >(val7
);
36476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36477 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36478 wxPyEndAllowThreads(__tstate
);
36479 if (PyErr_Occurred()) SWIG_fail
;
36481 resultobj
= SWIG_Py_Void();
36488 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36489 PyObject
*resultobj
= 0;
36490 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36491 wxPoint
*arg2
= 0 ;
36492 wxPoint
*arg3
= 0 ;
36493 wxPoint
*arg4
= 0 ;
36499 PyObject
* obj0
= 0 ;
36500 PyObject
* obj1
= 0 ;
36501 PyObject
* obj2
= 0 ;
36502 PyObject
* obj3
= 0 ;
36503 char * kwnames
[] = {
36504 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36509 if (!SWIG_IsOK(res1
)) {
36510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36512 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36515 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36519 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36527 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36528 wxPyEndAllowThreads(__tstate
);
36529 if (PyErr_Occurred()) SWIG_fail
;
36531 resultobj
= SWIG_Py_Void();
36538 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36539 PyObject
*resultobj
= 0;
36540 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36555 PyObject
* obj0
= 0 ;
36556 PyObject
* obj1
= 0 ;
36557 PyObject
* obj2
= 0 ;
36558 PyObject
* obj3
= 0 ;
36559 PyObject
* obj4
= 0 ;
36560 char * kwnames
[] = {
36561 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36566 if (!SWIG_IsOK(res1
)) {
36567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36569 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36571 if (!SWIG_IsOK(ecode2
)) {
36572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36574 arg2
= static_cast< int >(val2
);
36575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36576 if (!SWIG_IsOK(ecode3
)) {
36577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36579 arg3
= static_cast< int >(val3
);
36580 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36581 if (!SWIG_IsOK(ecode4
)) {
36582 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36584 arg4
= static_cast< int >(val4
);
36585 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36586 if (!SWIG_IsOK(ecode5
)) {
36587 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36589 arg5
= static_cast< int >(val5
);
36591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36592 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36593 wxPyEndAllowThreads(__tstate
);
36594 if (PyErr_Occurred()) SWIG_fail
;
36596 resultobj
= SWIG_Py_Void();
36603 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36604 PyObject
*resultobj
= 0;
36605 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36610 PyObject
* obj0
= 0 ;
36611 PyObject
* obj1
= 0 ;
36612 char * kwnames
[] = {
36613 (char *) "self",(char *) "rect", NULL
36616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36618 if (!SWIG_IsOK(res1
)) {
36619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36621 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36624 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36628 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36629 wxPyEndAllowThreads(__tstate
);
36630 if (PyErr_Occurred()) SWIG_fail
;
36632 resultobj
= SWIG_Py_Void();
36639 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36640 PyObject
*resultobj
= 0;
36641 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36662 PyObject
* obj0
= 0 ;
36663 PyObject
* obj1
= 0 ;
36664 PyObject
* obj2
= 0 ;
36665 PyObject
* obj3
= 0 ;
36666 PyObject
* obj4
= 0 ;
36667 PyObject
* obj5
= 0 ;
36668 PyObject
* obj6
= 0 ;
36669 char * kwnames
[] = {
36670 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36675 if (!SWIG_IsOK(res1
)) {
36676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36678 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36680 if (!SWIG_IsOK(ecode2
)) {
36681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36683 arg2
= static_cast< int >(val2
);
36684 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36685 if (!SWIG_IsOK(ecode3
)) {
36686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36688 arg3
= static_cast< int >(val3
);
36689 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36690 if (!SWIG_IsOK(ecode4
)) {
36691 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36693 arg4
= static_cast< int >(val4
);
36694 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36695 if (!SWIG_IsOK(ecode5
)) {
36696 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36698 arg5
= static_cast< int >(val5
);
36699 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36700 if (!SWIG_IsOK(ecode6
)) {
36701 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36703 arg6
= static_cast< double >(val6
);
36704 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36705 if (!SWIG_IsOK(ecode7
)) {
36706 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36708 arg7
= static_cast< double >(val7
);
36710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36711 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36712 wxPyEndAllowThreads(__tstate
);
36713 if (PyErr_Occurred()) SWIG_fail
;
36715 resultobj
= SWIG_Py_Void();
36722 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36723 PyObject
*resultobj
= 0;
36724 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36725 wxPoint
*arg2
= 0 ;
36737 PyObject
* obj0
= 0 ;
36738 PyObject
* obj1
= 0 ;
36739 PyObject
* obj2
= 0 ;
36740 PyObject
* obj3
= 0 ;
36741 PyObject
* obj4
= 0 ;
36742 char * kwnames
[] = {
36743 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36748 if (!SWIG_IsOK(res1
)) {
36749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36751 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36754 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36758 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36760 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36761 if (!SWIG_IsOK(ecode4
)) {
36762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36764 arg4
= static_cast< double >(val4
);
36765 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36766 if (!SWIG_IsOK(ecode5
)) {
36767 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36769 arg5
= static_cast< double >(val5
);
36771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36772 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36773 wxPyEndAllowThreads(__tstate
);
36774 if (PyErr_Occurred()) SWIG_fail
;
36776 resultobj
= SWIG_Py_Void();
36783 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36784 PyObject
*resultobj
= 0;
36785 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36794 PyObject
* obj0
= 0 ;
36795 PyObject
* obj1
= 0 ;
36796 PyObject
* obj2
= 0 ;
36797 char * kwnames
[] = {
36798 (char *) "self",(char *) "x",(char *) "y", NULL
36801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36803 if (!SWIG_IsOK(res1
)) {
36804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36806 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36808 if (!SWIG_IsOK(ecode2
)) {
36809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36811 arg2
= static_cast< int >(val2
);
36812 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36813 if (!SWIG_IsOK(ecode3
)) {
36814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36816 arg3
= static_cast< int >(val3
);
36818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36819 (arg1
)->DrawPoint(arg2
,arg3
);
36820 wxPyEndAllowThreads(__tstate
);
36821 if (PyErr_Occurred()) SWIG_fail
;
36823 resultobj
= SWIG_Py_Void();
36830 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36831 PyObject
*resultobj
= 0;
36832 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36833 wxPoint
*arg2
= 0 ;
36837 PyObject
* obj0
= 0 ;
36838 PyObject
* obj1
= 0 ;
36839 char * kwnames
[] = {
36840 (char *) "self",(char *) "pt", NULL
36843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36845 if (!SWIG_IsOK(res1
)) {
36846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36848 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36851 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36855 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36856 wxPyEndAllowThreads(__tstate
);
36857 if (PyErr_Occurred()) SWIG_fail
;
36859 resultobj
= SWIG_Py_Void();
36866 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36867 PyObject
*resultobj
= 0;
36868 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36883 PyObject
* obj0
= 0 ;
36884 PyObject
* obj1
= 0 ;
36885 PyObject
* obj2
= 0 ;
36886 PyObject
* obj3
= 0 ;
36887 PyObject
* obj4
= 0 ;
36888 char * kwnames
[] = {
36889 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36894 if (!SWIG_IsOK(res1
)) {
36895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36897 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36899 if (!SWIG_IsOK(ecode2
)) {
36900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36902 arg2
= static_cast< int >(val2
);
36903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36904 if (!SWIG_IsOK(ecode3
)) {
36905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36907 arg3
= static_cast< int >(val3
);
36908 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36909 if (!SWIG_IsOK(ecode4
)) {
36910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36912 arg4
= static_cast< int >(val4
);
36913 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36914 if (!SWIG_IsOK(ecode5
)) {
36915 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36917 arg5
= static_cast< int >(val5
);
36919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36920 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36921 wxPyEndAllowThreads(__tstate
);
36922 if (PyErr_Occurred()) SWIG_fail
;
36924 resultobj
= SWIG_Py_Void();
36931 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36932 PyObject
*resultobj
= 0;
36933 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36938 PyObject
* obj0
= 0 ;
36939 PyObject
* obj1
= 0 ;
36940 char * kwnames
[] = {
36941 (char *) "self",(char *) "rect", NULL
36944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36946 if (!SWIG_IsOK(res1
)) {
36947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36949 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36952 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36956 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
36957 wxPyEndAllowThreads(__tstate
);
36958 if (PyErr_Occurred()) SWIG_fail
;
36960 resultobj
= SWIG_Py_Void();
36967 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36968 PyObject
*resultobj
= 0;
36969 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36970 wxPoint
*arg2
= 0 ;
36976 PyObject
* obj0
= 0 ;
36977 PyObject
* obj1
= 0 ;
36978 PyObject
* obj2
= 0 ;
36979 char * kwnames
[] = {
36980 (char *) "self",(char *) "pt",(char *) "sz", NULL
36983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36985 if (!SWIG_IsOK(res1
)) {
36986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36988 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36991 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36995 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36999 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37000 wxPyEndAllowThreads(__tstate
);
37001 if (PyErr_Occurred()) SWIG_fail
;
37003 resultobj
= SWIG_Py_Void();
37010 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37011 PyObject
*resultobj
= 0;
37012 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37030 PyObject
* obj0
= 0 ;
37031 PyObject
* obj1
= 0 ;
37032 PyObject
* obj2
= 0 ;
37033 PyObject
* obj3
= 0 ;
37034 PyObject
* obj4
= 0 ;
37035 PyObject
* obj5
= 0 ;
37036 char * kwnames
[] = {
37037 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37042 if (!SWIG_IsOK(res1
)) {
37043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37045 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37047 if (!SWIG_IsOK(ecode2
)) {
37048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37050 arg2
= static_cast< int >(val2
);
37051 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37052 if (!SWIG_IsOK(ecode3
)) {
37053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37055 arg3
= static_cast< int >(val3
);
37056 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37057 if (!SWIG_IsOK(ecode4
)) {
37058 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37060 arg4
= static_cast< int >(val4
);
37061 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37062 if (!SWIG_IsOK(ecode5
)) {
37063 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37065 arg5
= static_cast< int >(val5
);
37066 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37067 if (!SWIG_IsOK(ecode6
)) {
37068 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37070 arg6
= static_cast< double >(val6
);
37072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37073 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37074 wxPyEndAllowThreads(__tstate
);
37075 if (PyErr_Occurred()) SWIG_fail
;
37077 resultobj
= SWIG_Py_Void();
37084 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37085 PyObject
*resultobj
= 0;
37086 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37094 PyObject
* obj0
= 0 ;
37095 PyObject
* obj1
= 0 ;
37096 PyObject
* obj2
= 0 ;
37097 char * kwnames
[] = {
37098 (char *) "self",(char *) "r",(char *) "radius", NULL
37101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37103 if (!SWIG_IsOK(res1
)) {
37104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37106 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37109 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37111 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37112 if (!SWIG_IsOK(ecode3
)) {
37113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37115 arg3
= static_cast< double >(val3
);
37117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37118 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37119 wxPyEndAllowThreads(__tstate
);
37120 if (PyErr_Occurred()) SWIG_fail
;
37122 resultobj
= SWIG_Py_Void();
37129 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37130 PyObject
*resultobj
= 0;
37131 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37132 wxPoint
*arg2
= 0 ;
37141 PyObject
* obj0
= 0 ;
37142 PyObject
* obj1
= 0 ;
37143 PyObject
* obj2
= 0 ;
37144 PyObject
* obj3
= 0 ;
37145 char * kwnames
[] = {
37146 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37151 if (!SWIG_IsOK(res1
)) {
37152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37154 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37157 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37161 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37163 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37164 if (!SWIG_IsOK(ecode4
)) {
37165 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37167 arg4
= static_cast< double >(val4
);
37169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37170 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37171 wxPyEndAllowThreads(__tstate
);
37172 if (PyErr_Occurred()) SWIG_fail
;
37174 resultobj
= SWIG_Py_Void();
37181 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37182 PyObject
*resultobj
= 0;
37183 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37195 PyObject
* obj0
= 0 ;
37196 PyObject
* obj1
= 0 ;
37197 PyObject
* obj2
= 0 ;
37198 PyObject
* obj3
= 0 ;
37199 char * kwnames
[] = {
37200 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37205 if (!SWIG_IsOK(res1
)) {
37206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37208 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37210 if (!SWIG_IsOK(ecode2
)) {
37211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37213 arg2
= static_cast< int >(val2
);
37214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37215 if (!SWIG_IsOK(ecode3
)) {
37216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37218 arg3
= static_cast< int >(val3
);
37219 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37220 if (!SWIG_IsOK(ecode4
)) {
37221 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37223 arg4
= static_cast< int >(val4
);
37225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37226 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37227 wxPyEndAllowThreads(__tstate
);
37228 if (PyErr_Occurred()) SWIG_fail
;
37230 resultobj
= SWIG_Py_Void();
37237 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37238 PyObject
*resultobj
= 0;
37239 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37240 wxPoint
*arg2
= 0 ;
37247 PyObject
* obj0
= 0 ;
37248 PyObject
* obj1
= 0 ;
37249 PyObject
* obj2
= 0 ;
37250 char * kwnames
[] = {
37251 (char *) "self",(char *) "pt",(char *) "radius", NULL
37254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37256 if (!SWIG_IsOK(res1
)) {
37257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37259 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37262 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37265 if (!SWIG_IsOK(ecode3
)) {
37266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37268 arg3
= static_cast< int >(val3
);
37270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37271 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37272 wxPyEndAllowThreads(__tstate
);
37273 if (PyErr_Occurred()) SWIG_fail
;
37275 resultobj
= SWIG_Py_Void();
37282 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37283 PyObject
*resultobj
= 0;
37284 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37299 PyObject
* obj0
= 0 ;
37300 PyObject
* obj1
= 0 ;
37301 PyObject
* obj2
= 0 ;
37302 PyObject
* obj3
= 0 ;
37303 PyObject
* obj4
= 0 ;
37304 char * kwnames
[] = {
37305 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37310 if (!SWIG_IsOK(res1
)) {
37311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37313 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37315 if (!SWIG_IsOK(ecode2
)) {
37316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37318 arg2
= static_cast< int >(val2
);
37319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37320 if (!SWIG_IsOK(ecode3
)) {
37321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37323 arg3
= static_cast< int >(val3
);
37324 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37325 if (!SWIG_IsOK(ecode4
)) {
37326 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37328 arg4
= static_cast< int >(val4
);
37329 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37330 if (!SWIG_IsOK(ecode5
)) {
37331 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37333 arg5
= static_cast< int >(val5
);
37335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37336 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37337 wxPyEndAllowThreads(__tstate
);
37338 if (PyErr_Occurred()) SWIG_fail
;
37340 resultobj
= SWIG_Py_Void();
37347 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37348 PyObject
*resultobj
= 0;
37349 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37354 PyObject
* obj0
= 0 ;
37355 PyObject
* obj1
= 0 ;
37356 char * kwnames
[] = {
37357 (char *) "self",(char *) "rect", NULL
37360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37362 if (!SWIG_IsOK(res1
)) {
37363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37365 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37368 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37372 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37373 wxPyEndAllowThreads(__tstate
);
37374 if (PyErr_Occurred()) SWIG_fail
;
37376 resultobj
= SWIG_Py_Void();
37383 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37384 PyObject
*resultobj
= 0;
37385 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37386 wxPoint
*arg2
= 0 ;
37392 PyObject
* obj0
= 0 ;
37393 PyObject
* obj1
= 0 ;
37394 PyObject
* obj2
= 0 ;
37395 char * kwnames
[] = {
37396 (char *) "self",(char *) "pt",(char *) "sz", NULL
37399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37401 if (!SWIG_IsOK(res1
)) {
37402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37404 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37411 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37415 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37416 wxPyEndAllowThreads(__tstate
);
37417 if (PyErr_Occurred()) SWIG_fail
;
37419 resultobj
= SWIG_Py_Void();
37426 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37427 PyObject
*resultobj
= 0;
37428 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37440 PyObject
* obj0
= 0 ;
37441 PyObject
* obj1
= 0 ;
37442 PyObject
* obj2
= 0 ;
37443 PyObject
* obj3
= 0 ;
37444 char * kwnames
[] = {
37445 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37450 if (!SWIG_IsOK(res1
)) {
37451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37453 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37454 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37455 if (!SWIG_IsOK(res2
)) {
37456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37461 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37463 if (!SWIG_IsOK(ecode3
)) {
37464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37466 arg3
= static_cast< int >(val3
);
37467 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37468 if (!SWIG_IsOK(ecode4
)) {
37469 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37471 arg4
= static_cast< int >(val4
);
37473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37474 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37475 wxPyEndAllowThreads(__tstate
);
37476 if (PyErr_Occurred()) SWIG_fail
;
37478 resultobj
= SWIG_Py_Void();
37485 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37486 PyObject
*resultobj
= 0;
37487 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37489 wxPoint
*arg3
= 0 ;
37495 PyObject
* obj0
= 0 ;
37496 PyObject
* obj1
= 0 ;
37497 PyObject
* obj2
= 0 ;
37498 char * kwnames
[] = {
37499 (char *) "self",(char *) "icon",(char *) "pt", NULL
37502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37504 if (!SWIG_IsOK(res1
)) {
37505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37507 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37508 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37509 if (!SWIG_IsOK(res2
)) {
37510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37515 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37518 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37522 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37523 wxPyEndAllowThreads(__tstate
);
37524 if (PyErr_Occurred()) SWIG_fail
;
37526 resultobj
= SWIG_Py_Void();
37533 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37534 PyObject
*resultobj
= 0;
37535 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37536 wxBitmap
*arg2
= 0 ;
37539 bool arg5
= (bool) false ;
37550 PyObject
* obj0
= 0 ;
37551 PyObject
* obj1
= 0 ;
37552 PyObject
* obj2
= 0 ;
37553 PyObject
* obj3
= 0 ;
37554 PyObject
* obj4
= 0 ;
37555 char * kwnames
[] = {
37556 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37561 if (!SWIG_IsOK(res1
)) {
37562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37564 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37565 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37566 if (!SWIG_IsOK(res2
)) {
37567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37572 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37574 if (!SWIG_IsOK(ecode3
)) {
37575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37577 arg3
= static_cast< int >(val3
);
37578 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37579 if (!SWIG_IsOK(ecode4
)) {
37580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37582 arg4
= static_cast< int >(val4
);
37584 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37585 if (!SWIG_IsOK(ecode5
)) {
37586 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37588 arg5
= static_cast< bool >(val5
);
37591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37592 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37593 wxPyEndAllowThreads(__tstate
);
37594 if (PyErr_Occurred()) SWIG_fail
;
37596 resultobj
= SWIG_Py_Void();
37603 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37604 PyObject
*resultobj
= 0;
37605 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37606 wxBitmap
*arg2
= 0 ;
37607 wxPoint
*arg3
= 0 ;
37608 bool arg4
= (bool) false ;
37616 PyObject
* obj0
= 0 ;
37617 PyObject
* obj1
= 0 ;
37618 PyObject
* obj2
= 0 ;
37619 PyObject
* obj3
= 0 ;
37620 char * kwnames
[] = {
37621 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37626 if (!SWIG_IsOK(res1
)) {
37627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37629 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37631 if (!SWIG_IsOK(res2
)) {
37632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37637 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37640 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37643 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37644 if (!SWIG_IsOK(ecode4
)) {
37645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37647 arg4
= static_cast< bool >(val4
);
37650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37651 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37652 wxPyEndAllowThreads(__tstate
);
37653 if (PyErr_Occurred()) SWIG_fail
;
37655 resultobj
= SWIG_Py_Void();
37662 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37663 PyObject
*resultobj
= 0;
37664 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37665 wxString
*arg2
= 0 ;
37670 bool temp2
= false ;
37675 PyObject
* obj0
= 0 ;
37676 PyObject
* obj1
= 0 ;
37677 PyObject
* obj2
= 0 ;
37678 PyObject
* obj3
= 0 ;
37679 char * kwnames
[] = {
37680 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37685 if (!SWIG_IsOK(res1
)) {
37686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37688 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37690 arg2
= wxString_in_helper(obj1
);
37691 if (arg2
== NULL
) SWIG_fail
;
37694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37695 if (!SWIG_IsOK(ecode3
)) {
37696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37698 arg3
= static_cast< int >(val3
);
37699 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37700 if (!SWIG_IsOK(ecode4
)) {
37701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37703 arg4
= static_cast< int >(val4
);
37705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37706 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37707 wxPyEndAllowThreads(__tstate
);
37708 if (PyErr_Occurred()) SWIG_fail
;
37710 resultobj
= SWIG_Py_Void();
37725 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37726 PyObject
*resultobj
= 0;
37727 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37728 wxString
*arg2
= 0 ;
37729 wxPoint
*arg3
= 0 ;
37732 bool temp2
= false ;
37734 PyObject
* obj0
= 0 ;
37735 PyObject
* obj1
= 0 ;
37736 PyObject
* obj2
= 0 ;
37737 char * kwnames
[] = {
37738 (char *) "self",(char *) "text",(char *) "pt", NULL
37741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37743 if (!SWIG_IsOK(res1
)) {
37744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37746 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37748 arg2
= wxString_in_helper(obj1
);
37749 if (arg2
== NULL
) SWIG_fail
;
37754 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37758 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37759 wxPyEndAllowThreads(__tstate
);
37760 if (PyErr_Occurred()) SWIG_fail
;
37762 resultobj
= SWIG_Py_Void();
37777 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37778 PyObject
*resultobj
= 0;
37779 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37780 wxString
*arg2
= 0 ;
37786 bool temp2
= false ;
37793 PyObject
* obj0
= 0 ;
37794 PyObject
* obj1
= 0 ;
37795 PyObject
* obj2
= 0 ;
37796 PyObject
* obj3
= 0 ;
37797 PyObject
* obj4
= 0 ;
37798 char * kwnames
[] = {
37799 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37804 if (!SWIG_IsOK(res1
)) {
37805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37807 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37809 arg2
= wxString_in_helper(obj1
);
37810 if (arg2
== NULL
) SWIG_fail
;
37813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37814 if (!SWIG_IsOK(ecode3
)) {
37815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37817 arg3
= static_cast< int >(val3
);
37818 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37819 if (!SWIG_IsOK(ecode4
)) {
37820 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37822 arg4
= static_cast< int >(val4
);
37823 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37824 if (!SWIG_IsOK(ecode5
)) {
37825 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37827 arg5
= static_cast< double >(val5
);
37829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37830 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37831 wxPyEndAllowThreads(__tstate
);
37832 if (PyErr_Occurred()) SWIG_fail
;
37834 resultobj
= SWIG_Py_Void();
37849 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37850 PyObject
*resultobj
= 0;
37851 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37852 wxString
*arg2
= 0 ;
37853 wxPoint
*arg3
= 0 ;
37857 bool temp2
= false ;
37861 PyObject
* obj0
= 0 ;
37862 PyObject
* obj1
= 0 ;
37863 PyObject
* obj2
= 0 ;
37864 PyObject
* obj3
= 0 ;
37865 char * kwnames
[] = {
37866 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37871 if (!SWIG_IsOK(res1
)) {
37872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37874 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37876 arg2
= wxString_in_helper(obj1
);
37877 if (arg2
== NULL
) SWIG_fail
;
37882 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37884 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37885 if (!SWIG_IsOK(ecode4
)) {
37886 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37888 arg4
= static_cast< double >(val4
);
37890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37891 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37892 wxPyEndAllowThreads(__tstate
);
37893 if (PyErr_Occurred()) SWIG_fail
;
37895 resultobj
= SWIG_Py_Void();
37910 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37911 PyObject
*resultobj
= 0;
37912 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37914 wxPoint
*arg3
= (wxPoint
*) 0 ;
37915 int arg4
= (int) 0 ;
37916 int arg5
= (int) 0 ;
37923 PyObject
* obj0
= 0 ;
37924 PyObject
* obj1
= 0 ;
37925 PyObject
* obj2
= 0 ;
37926 PyObject
* obj3
= 0 ;
37927 char * kwnames
[] = {
37928 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37933 if (!SWIG_IsOK(res1
)) {
37934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37936 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37938 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37939 if (arg3
== NULL
) SWIG_fail
;
37942 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37943 if (!SWIG_IsOK(ecode4
)) {
37944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
37946 arg4
= static_cast< int >(val4
);
37949 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
37950 if (!SWIG_IsOK(ecode5
)) {
37951 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
37953 arg5
= static_cast< int >(val5
);
37956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37957 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
37958 wxPyEndAllowThreads(__tstate
);
37959 if (PyErr_Occurred()) SWIG_fail
;
37961 resultobj
= SWIG_Py_Void();
37963 if (arg3
) delete [] arg3
;
37968 if (arg3
) delete [] arg3
;
37974 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37975 PyObject
*resultobj
= 0;
37976 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37978 wxPoint
*arg3
= (wxPoint
*) 0 ;
37979 int arg4
= (int) 0 ;
37980 int arg5
= (int) 0 ;
37981 int arg6
= (int) wxODDEVEN_RULE
;
37990 PyObject
* obj0
= 0 ;
37991 PyObject
* obj1
= 0 ;
37992 PyObject
* obj2
= 0 ;
37993 PyObject
* obj3
= 0 ;
37994 PyObject
* obj4
= 0 ;
37995 char * kwnames
[] = {
37996 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
37999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38001 if (!SWIG_IsOK(res1
)) {
38002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38004 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38006 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38007 if (arg3
== NULL
) SWIG_fail
;
38010 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38011 if (!SWIG_IsOK(ecode4
)) {
38012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38014 arg4
= static_cast< int >(val4
);
38017 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38018 if (!SWIG_IsOK(ecode5
)) {
38019 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38021 arg5
= static_cast< int >(val5
);
38024 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38025 if (!SWIG_IsOK(ecode6
)) {
38026 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38028 arg6
= static_cast< int >(val6
);
38031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38032 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38033 wxPyEndAllowThreads(__tstate
);
38034 if (PyErr_Occurred()) SWIG_fail
;
38036 resultobj
= SWIG_Py_Void();
38038 if (arg3
) delete [] arg3
;
38043 if (arg3
) delete [] arg3
;
38049 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38050 PyObject
*resultobj
= 0;
38051 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38052 wxString
*arg2
= 0 ;
38054 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38055 int arg5
= (int) -1 ;
38058 bool temp2
= false ;
38064 PyObject
* obj0
= 0 ;
38065 PyObject
* obj1
= 0 ;
38066 PyObject
* obj2
= 0 ;
38067 PyObject
* obj3
= 0 ;
38068 PyObject
* obj4
= 0 ;
38069 char * kwnames
[] = {
38070 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38075 if (!SWIG_IsOK(res1
)) {
38076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38078 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38080 arg2
= wxString_in_helper(obj1
);
38081 if (arg2
== NULL
) SWIG_fail
;
38086 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38089 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38090 if (!SWIG_IsOK(ecode4
)) {
38091 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38093 arg4
= static_cast< int >(val4
);
38096 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38097 if (!SWIG_IsOK(ecode5
)) {
38098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38100 arg5
= static_cast< int >(val5
);
38103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38104 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38105 wxPyEndAllowThreads(__tstate
);
38106 if (PyErr_Occurred()) SWIG_fail
;
38108 resultobj
= SWIG_Py_Void();
38123 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38124 PyObject
*resultobj
= 0;
38125 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38126 wxString
*arg2
= 0 ;
38127 wxBitmap
*arg3
= 0 ;
38129 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38130 int arg6
= (int) -1 ;
38133 bool temp2
= false ;
38141 PyObject
* obj0
= 0 ;
38142 PyObject
* obj1
= 0 ;
38143 PyObject
* obj2
= 0 ;
38144 PyObject
* obj3
= 0 ;
38145 PyObject
* obj4
= 0 ;
38146 PyObject
* obj5
= 0 ;
38147 char * kwnames
[] = {
38148 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38153 if (!SWIG_IsOK(res1
)) {
38154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38156 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38158 arg2
= wxString_in_helper(obj1
);
38159 if (arg2
== NULL
) SWIG_fail
;
38162 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38163 if (!SWIG_IsOK(res3
)) {
38164 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38169 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38172 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38175 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38176 if (!SWIG_IsOK(ecode5
)) {
38177 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38179 arg5
= static_cast< int >(val5
);
38182 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38183 if (!SWIG_IsOK(ecode6
)) {
38184 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38186 arg6
= static_cast< int >(val6
);
38189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38190 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38191 wxPyEndAllowThreads(__tstate
);
38192 if (PyErr_Occurred()) SWIG_fail
;
38194 resultobj
= SWIG_Py_Void();
38209 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38210 PyObject
*resultobj
= 0;
38211 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38213 wxPoint
*arg3
= (wxPoint
*) 0 ;
38216 PyObject
* obj0
= 0 ;
38217 PyObject
* obj1
= 0 ;
38218 char * kwnames
[] = {
38219 (char *) "self",(char *) "points", NULL
38222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38224 if (!SWIG_IsOK(res1
)) {
38225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38227 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38229 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38230 if (arg3
== NULL
) SWIG_fail
;
38233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38234 (arg1
)->DrawSpline(arg2
,arg3
);
38235 wxPyEndAllowThreads(__tstate
);
38236 if (PyErr_Occurred()) SWIG_fail
;
38238 resultobj
= SWIG_Py_Void();
38240 if (arg3
) delete [] arg3
;
38245 if (arg3
) delete [] arg3
;
38251 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38252 PyObject
*resultobj
= 0;
38253 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38256 PyObject
*swig_obj
[1] ;
38258 if (!args
) SWIG_fail
;
38259 swig_obj
[0] = args
;
38260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38261 if (!SWIG_IsOK(res1
)) {
38262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38264 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38268 wxPyEndAllowThreads(__tstate
);
38269 if (PyErr_Occurred()) SWIG_fail
;
38271 resultobj
= SWIG_Py_Void();
38278 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38279 PyObject
*resultobj
= 0;
38280 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38286 PyObject
* obj0
= 0 ;
38287 PyObject
* obj1
= 0 ;
38288 char * kwnames
[] = {
38289 (char *) "self",(char *) "font", NULL
38292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38294 if (!SWIG_IsOK(res1
)) {
38295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38297 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38298 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38299 if (!SWIG_IsOK(res2
)) {
38300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38305 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38308 (arg1
)->SetFont((wxFont
const &)*arg2
);
38309 wxPyEndAllowThreads(__tstate
);
38310 if (PyErr_Occurred()) SWIG_fail
;
38312 resultobj
= SWIG_Py_Void();
38319 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38320 PyObject
*resultobj
= 0;
38321 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38327 PyObject
* obj0
= 0 ;
38328 PyObject
* obj1
= 0 ;
38329 char * kwnames
[] = {
38330 (char *) "self",(char *) "pen", NULL
38333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38335 if (!SWIG_IsOK(res1
)) {
38336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38338 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38340 if (!SWIG_IsOK(res2
)) {
38341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38346 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38349 (arg1
)->SetPen((wxPen
const &)*arg2
);
38350 wxPyEndAllowThreads(__tstate
);
38351 if (PyErr_Occurred()) SWIG_fail
;
38353 resultobj
= SWIG_Py_Void();
38360 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38361 PyObject
*resultobj
= 0;
38362 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38363 wxBrush
*arg2
= 0 ;
38368 PyObject
* obj0
= 0 ;
38369 PyObject
* obj1
= 0 ;
38370 char * kwnames
[] = {
38371 (char *) "self",(char *) "brush", NULL
38374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38376 if (!SWIG_IsOK(res1
)) {
38377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38379 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38380 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38381 if (!SWIG_IsOK(res2
)) {
38382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38387 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38390 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38391 wxPyEndAllowThreads(__tstate
);
38392 if (PyErr_Occurred()) SWIG_fail
;
38394 resultobj
= SWIG_Py_Void();
38401 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38402 PyObject
*resultobj
= 0;
38403 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38404 wxBrush
*arg2
= 0 ;
38409 PyObject
* obj0
= 0 ;
38410 PyObject
* obj1
= 0 ;
38411 char * kwnames
[] = {
38412 (char *) "self",(char *) "brush", NULL
38415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38417 if (!SWIG_IsOK(res1
)) {
38418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38420 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38421 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38422 if (!SWIG_IsOK(res2
)) {
38423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38426 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38428 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38431 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38432 wxPyEndAllowThreads(__tstate
);
38433 if (PyErr_Occurred()) SWIG_fail
;
38435 resultobj
= SWIG_Py_Void();
38442 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38443 PyObject
*resultobj
= 0;
38444 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38450 PyObject
* obj0
= 0 ;
38451 PyObject
* obj1
= 0 ;
38452 char * kwnames
[] = {
38453 (char *) "self",(char *) "mode", NULL
38456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38458 if (!SWIG_IsOK(res1
)) {
38459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38461 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38463 if (!SWIG_IsOK(ecode2
)) {
38464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38466 arg2
= static_cast< int >(val2
);
38468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38469 (arg1
)->SetBackgroundMode(arg2
);
38470 wxPyEndAllowThreads(__tstate
);
38471 if (PyErr_Occurred()) SWIG_fail
;
38473 resultobj
= SWIG_Py_Void();
38480 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38481 PyObject
*resultobj
= 0;
38482 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38483 wxPalette
*arg2
= 0 ;
38488 PyObject
* obj0
= 0 ;
38489 PyObject
* obj1
= 0 ;
38490 char * kwnames
[] = {
38491 (char *) "self",(char *) "palette", NULL
38494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38496 if (!SWIG_IsOK(res1
)) {
38497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38499 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38500 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38501 if (!SWIG_IsOK(res2
)) {
38502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38507 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38510 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38511 wxPyEndAllowThreads(__tstate
);
38512 if (PyErr_Occurred()) SWIG_fail
;
38514 resultobj
= SWIG_Py_Void();
38521 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38522 PyObject
*resultobj
= 0;
38523 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38524 wxColour
*arg2
= 0 ;
38528 PyObject
* obj0
= 0 ;
38529 PyObject
* obj1
= 0 ;
38530 char * kwnames
[] = {
38531 (char *) "self",(char *) "colour", NULL
38534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38536 if (!SWIG_IsOK(res1
)) {
38537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38539 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38542 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38546 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38547 wxPyEndAllowThreads(__tstate
);
38548 if (PyErr_Occurred()) SWIG_fail
;
38550 resultobj
= SWIG_Py_Void();
38557 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38558 PyObject
*resultobj
= 0;
38559 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38560 wxColour
*arg2
= 0 ;
38564 PyObject
* obj0
= 0 ;
38565 PyObject
* obj1
= 0 ;
38566 char * kwnames
[] = {
38567 (char *) "self",(char *) "colour", NULL
38570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38572 if (!SWIG_IsOK(res1
)) {
38573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38575 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38578 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38582 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38583 wxPyEndAllowThreads(__tstate
);
38584 if (PyErr_Occurred()) SWIG_fail
;
38586 resultobj
= SWIG_Py_Void();
38593 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38594 PyObject
*resultobj
= 0;
38595 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38601 PyObject
* obj0
= 0 ;
38602 PyObject
* obj1
= 0 ;
38603 char * kwnames
[] = {
38604 (char *) "self",(char *) "function", NULL
38607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38609 if (!SWIG_IsOK(res1
)) {
38610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38612 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38614 if (!SWIG_IsOK(ecode2
)) {
38615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38617 arg2
= static_cast< int >(val2
);
38619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38620 (arg1
)->SetLogicalFunction(arg2
);
38621 wxPyEndAllowThreads(__tstate
);
38622 if (PyErr_Occurred()) SWIG_fail
;
38624 resultobj
= SWIG_Py_Void();
38631 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38633 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38634 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38635 return SWIG_Py_Void();
38638 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38639 return SWIG_Python_InitShadowInstance(args
);
38642 static PyMethodDef SwigMethods
[] = {
38643 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38644 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38645 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38646 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38647 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38648 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38649 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38650 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38651 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38652 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38653 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38654 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38655 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38656 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38657 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38658 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38659 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38660 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38661 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38662 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38663 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38664 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38665 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38666 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38667 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38668 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38669 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38670 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38671 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38672 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38673 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38674 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38675 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38676 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38677 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38678 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38679 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38680 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38681 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38682 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38683 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38684 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38685 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38686 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38687 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38688 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38689 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38690 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38691 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38692 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38693 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38694 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38695 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38696 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38697 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38698 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38699 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38701 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38703 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38704 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38705 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38706 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38707 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
38708 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38710 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38711 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38713 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38714 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38716 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38717 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38718 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38719 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38720 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38721 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38722 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38723 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38724 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38725 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38731 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38733 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38736 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38737 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38741 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38742 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38744 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38745 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38746 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38747 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38748 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38749 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38750 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38751 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38752 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38753 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38754 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38755 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38756 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38757 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38758 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38759 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38760 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38761 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38762 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38763 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38764 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38765 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38766 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38767 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38768 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38769 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38770 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38771 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38772 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38773 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38774 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38775 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38776 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38777 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38778 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38779 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38780 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38781 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38782 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38783 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38784 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38785 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38786 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38788 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38789 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38790 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38791 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38792 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38793 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38794 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38795 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38796 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38797 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38798 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38802 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38803 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38804 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38805 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38806 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38807 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38808 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38809 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38810 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38811 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38812 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38813 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38814 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38815 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38816 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38818 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38819 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38820 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38821 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38824 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38826 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38827 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38828 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38829 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38831 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38833 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38834 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38835 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38836 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38838 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38839 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38841 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38842 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38845 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38848 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38851 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38852 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38858 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38863 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38865 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38866 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38867 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38868 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38869 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38870 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38871 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38872 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38873 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38874 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38875 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38876 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38877 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38878 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38879 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38880 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38881 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38882 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38883 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38884 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38885 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38887 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38888 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38889 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38890 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38891 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38892 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38893 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38900 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38902 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38903 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38905 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38906 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38907 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38908 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38909 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38910 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38911 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38912 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38913 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38914 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38915 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38916 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38917 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38920 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38921 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38922 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38924 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38925 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38926 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38931 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38932 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38933 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38934 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38936 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38937 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38938 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38939 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38942 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
38945 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
38948 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
38949 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
38950 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
38951 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
38952 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
38953 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
38954 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
38955 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
38956 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
38957 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
38958 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
38959 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
38960 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38961 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38964 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38965 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38967 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38968 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
38972 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
38973 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
38974 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38975 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
38976 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
38977 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38978 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
38979 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
38980 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
38981 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
38982 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38984 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
38986 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
38987 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
38989 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
38990 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
38991 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
38992 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
38993 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
38994 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
38995 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
38996 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
38997 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38998 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
38999 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39000 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39001 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39002 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39003 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39004 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39005 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39006 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39007 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39008 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39009 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39014 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39015 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39016 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39019 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39020 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39021 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39022 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39023 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39024 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39025 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39026 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39027 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39028 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39029 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39030 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39031 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39032 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39033 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39034 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39035 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39037 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39038 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39039 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39040 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39041 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39042 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39044 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39045 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39046 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39047 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39048 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39049 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39050 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39057 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39058 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39060 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39061 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39062 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39063 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39064 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39068 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39072 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39073 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39074 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39078 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39080 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39082 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39083 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39084 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39085 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39090 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39092 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39093 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39094 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39100 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39101 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39102 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39103 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39104 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39105 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39110 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39111 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39112 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39113 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39122 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39123 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39124 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39125 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39126 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39127 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39128 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39129 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39130 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39131 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39132 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39133 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39136 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39138 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39140 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39142 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39143 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39145 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39146 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39147 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39151 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39153 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39154 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39155 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39156 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39157 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39158 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39159 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39160 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39161 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39162 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39170 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39171 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39172 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39173 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39174 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39176 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39177 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39178 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39180 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39181 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39182 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39183 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39184 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39185 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39186 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39187 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39188 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39190 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39191 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39192 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39194 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39195 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39197 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39198 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39200 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39201 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39206 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39207 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39208 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39209 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39210 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39212 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39213 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39214 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39215 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39216 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39217 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39218 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39219 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39220 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39222 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39223 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39224 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39225 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39226 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39229 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39230 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39231 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39233 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39234 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39236 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39237 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39238 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39239 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39240 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39242 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39243 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39244 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39246 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39247 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39249 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39250 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39251 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39252 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39253 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39254 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39255 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39256 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39257 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39258 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39259 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39260 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39261 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39262 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39263 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39264 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39265 { (char *)"new_GraphicsMatrix", (PyCFunction
)_wrap_new_GraphicsMatrix
, METH_NOARGS
, NULL
},
39266 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39267 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
39270 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39271 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39273 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39279 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39280 { (char *)"GraphicsMatrix_swiginit", GraphicsMatrix_swiginit
, METH_VARARGS
, NULL
},
39281 { (char *)"new_GraphicsPath", (PyCFunction
)_wrap_new_GraphicsPath
, METH_NOARGS
, NULL
},
39282 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39283 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39284 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39285 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39286 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39288 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39289 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39290 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39297 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39300 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39301 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39302 { (char *)"GraphicsPath_swiginit", GraphicsPath_swiginit
, METH_VARARGS
, NULL
},
39303 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39304 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39305 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39306 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39309 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39316 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39317 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39320 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39321 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
39322 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39329 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39330 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39331 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39332 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39350 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39351 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39352 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39353 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39354 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39355 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39358 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39364 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39365 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39366 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39367 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39368 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39370 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39371 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39372 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39373 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39374 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39375 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39376 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39377 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39378 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39379 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39380 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39381 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39383 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39387 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39388 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39391 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39393 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39395 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39396 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39397 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39398 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39399 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39400 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39403 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39406 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39407 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39408 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39409 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39410 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39411 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39413 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39415 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39418 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39419 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39420 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39421 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39423 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39424 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39425 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39427 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39429 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39430 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39431 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39432 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39433 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39434 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39435 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39436 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39437 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39438 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39439 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39440 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39441 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39442 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39446 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39449 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39450 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39451 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39453 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39454 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39455 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39456 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39457 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39458 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39459 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39460 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39461 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39462 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39463 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39464 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39465 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39466 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39467 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39468 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39469 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39470 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39471 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39472 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39473 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39474 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39475 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39476 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39477 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39478 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39479 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39480 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39481 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39482 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39483 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39496 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39497 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39498 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39500 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39501 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39502 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39503 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39504 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39505 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39506 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39507 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39509 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39510 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39514 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39515 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39516 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39517 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39518 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39519 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39520 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39522 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39524 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39538 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39553 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39560 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39570 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39571 { NULL
, NULL
, 0, NULL
}
39575 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39577 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39578 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39580 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39581 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39583 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39584 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39586 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39587 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39589 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39590 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39592 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39593 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39595 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39596 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39598 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39599 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39601 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39602 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39604 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39605 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39607 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39608 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39610 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39611 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39613 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39614 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39616 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39617 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39619 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39620 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39622 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39623 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39625 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39626 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39628 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39629 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39631 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39632 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39634 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39635 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39637 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39638 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39640 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39641 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39643 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39644 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39646 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39647 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39649 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39650 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39652 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39653 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39655 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39656 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39658 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39659 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39661 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39662 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39664 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39665 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39667 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39668 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39670 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39671 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39673 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39674 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39676 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39677 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39679 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39680 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39682 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39683 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39685 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39686 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39688 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39689 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39691 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39692 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39694 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39695 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39697 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39698 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39700 static void *_p_wxPenTo_p_wxObject(void *x
) {
39701 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39703 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39704 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39706 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39707 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39709 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39710 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39712 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39713 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39715 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39716 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39718 static void *_p_wxIconTo_p_wxObject(void *x
) {
39719 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39721 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39722 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39724 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39725 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39727 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39728 return (void *)((wxObject
*) ((wxSizer
*) x
));
39730 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39731 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39733 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39734 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39736 static void *_p_wxEventTo_p_wxObject(void *x
) {
39737 return (void *)((wxObject
*) ((wxEvent
*) x
));
39739 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39740 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39742 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39743 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39745 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39746 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39748 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39749 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39751 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39752 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39754 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39755 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39757 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39758 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39760 static void *_p_wxDCTo_p_wxObject(void *x
) {
39761 return (void *)((wxObject
*) ((wxDC
*) x
));
39763 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39764 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39766 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39767 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39769 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39770 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39772 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39773 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39775 static void *_p_wxControlTo_p_wxObject(void *x
) {
39776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39778 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39779 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39781 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39782 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39784 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39785 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39787 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39788 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39790 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39791 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39793 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39794 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39796 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39797 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39799 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39800 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39802 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39803 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39805 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39806 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39808 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39809 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39811 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39812 return (void *)((wxObject
*) ((wxEffects
*) x
));
39814 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39815 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39817 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39818 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39820 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39821 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39823 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39824 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39826 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39827 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39829 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39830 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39832 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39833 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39835 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39836 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39838 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39839 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39841 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39842 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39844 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39845 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39847 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39848 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39850 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39851 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39853 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39854 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39856 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39857 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39859 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39860 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39862 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39863 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39865 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39866 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39868 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39869 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39871 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39872 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39874 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39875 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39877 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39878 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39880 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39881 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39883 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39884 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39886 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39887 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39889 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39890 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39892 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39893 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39895 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39896 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39898 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39899 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39901 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39902 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39904 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39905 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39907 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39908 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39910 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39911 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39913 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39914 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39916 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39917 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39919 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39920 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39922 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39923 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39925 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39926 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39928 static void *_p_wxImageTo_p_wxObject(void *x
) {
39929 return (void *)((wxObject
*) ((wxImage
*) x
));
39931 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39932 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39934 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39935 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39937 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39938 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39940 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39941 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39943 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39944 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39946 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39947 return (void *)((wxObject
*) ((wxImageList
*) x
));
39949 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
39950 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
39952 static void *_p_wxCursorTo_p_wxObject(void *x
) {
39953 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
39955 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
39956 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
39958 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
39959 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
39961 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
39962 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39964 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
39965 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
39967 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
39968 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
39970 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
39971 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
39973 static void *_p_wxWindowTo_p_wxObject(void *x
) {
39974 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
39976 static void *_p_wxMenuTo_p_wxObject(void *x
) {
39977 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
39979 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
39980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
39982 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
39983 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
39985 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
39986 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
39988 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
39989 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
39991 static void *_p_wxMaskTo_p_wxObject(void *x
) {
39992 return (void *)((wxObject
*) ((wxMask
*) x
));
39994 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
39995 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39997 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
39998 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40000 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40001 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40003 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40004 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40006 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40007 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40009 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40010 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40012 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40013 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40015 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40016 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40018 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40019 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40021 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40022 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40024 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40025 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40027 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40030 static void *_p_wxFontTo_p_wxObject(void *x
) {
40031 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40033 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40034 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40036 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40037 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40039 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40042 static void *_p_wxColourTo_p_wxObject(void *x
) {
40043 return (void *)((wxObject
*) ((wxColour
*) x
));
40045 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40046 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40048 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40049 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40051 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40052 return (void *)((wxWindow
*) ((wxControl
*) x
));
40054 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40055 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40057 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40058 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40060 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40061 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40063 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40064 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40066 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40067 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40068 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40069 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};
40070 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40071 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40072 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40073 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40074 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40075 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40076 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40077 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40078 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40079 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40080 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40081 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40082 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40083 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
40084 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40085 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
40086 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40087 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40088 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40089 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40090 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40091 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40092 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40093 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40094 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40095 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40096 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40097 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40098 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40099 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40100 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40101 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40102 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40103 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40104 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40105 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40106 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40107 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40108 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40109 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40110 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40111 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40112 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40113 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40114 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40115 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40116 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40117 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40118 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40119 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40120 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40121 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40122 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40123 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40124 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40125 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40126 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40127 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40128 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40129 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40130 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40131 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40132 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40133 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40134 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40135 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40136 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40137 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40138 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40139 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40140 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40141 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40142 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40143 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40144 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40145 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40146 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40147 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40148 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40149 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40150 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40151 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40152 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40153 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40154 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40155 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40156 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40157 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40158 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40159 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40160 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40161 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40162 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40163 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40164 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40165 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40166 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40167 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40168 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40169 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40170 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40171 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40172 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40173 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40174 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40175 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40176 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40177 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40178 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40179 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40180 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40181 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40182 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40183 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40184 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40185 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40186 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40187 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40188 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40189 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40190 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40191 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40192 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40193 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40194 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40195 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40196 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40197 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40198 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40199 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40200 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40201 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40202 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40203 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40204 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40205 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40206 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40207 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40208 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40209 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40210 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40211 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40212 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40213 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40214 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40215 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40216 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40217 static swig_type_info _swigt__p_wxPoint2DDouble
= {"_p_wxPoint2DDouble", "wxPoint2DDouble *", 0, 0, (void*)0, 0};
40218 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40219 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40220 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40221 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40222 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40223 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40224 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40225 static swig_type_info _swigt__p_wxRect2DDouble
= {"_p_wxRect2DDouble", "wxRect2DDouble *", 0, 0, (void*)0, 0};
40226 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40227 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40228 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40229 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40230 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40231 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40232 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40233 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40234 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40235 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40236 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40238 static swig_type_info
*swig_type_initial
[] = {
40242 &_swigt__p_form_ops_t
,
40244 &_swigt__p_unsigned_char
,
40245 &_swigt__p_unsigned_int
,
40246 &_swigt__p_unsigned_long
,
40248 &_swigt__p_wxANIHandler
,
40249 &_swigt__p_wxAcceleratorTable
,
40250 &_swigt__p_wxActivateEvent
,
40251 &_swigt__p_wxAlphaPixelData
,
40252 &_swigt__p_wxAlphaPixelData_Accessor
,
40253 &_swigt__p_wxAutoBufferedPaintDC
,
40254 &_swigt__p_wxBMPHandler
,
40255 &_swigt__p_wxBitmap
,
40256 &_swigt__p_wxBoxSizer
,
40257 &_swigt__p_wxBrush
,
40258 &_swigt__p_wxBrushList
,
40259 &_swigt__p_wxBufferedDC
,
40260 &_swigt__p_wxBufferedPaintDC
,
40261 &_swigt__p_wxCURHandler
,
40263 &_swigt__p_wxChildFocusEvent
,
40264 &_swigt__p_wxClientDC
,
40265 &_swigt__p_wxClipboardTextEvent
,
40266 &_swigt__p_wxCloseEvent
,
40267 &_swigt__p_wxColor
,
40268 &_swigt__p_wxColour
,
40269 &_swigt__p_wxColourDatabase
,
40270 &_swigt__p_wxCommandEvent
,
40271 &_swigt__p_wxContextMenuEvent
,
40272 &_swigt__p_wxControl
,
40273 &_swigt__p_wxControlWithItems
,
40274 &_swigt__p_wxCursor
,
40276 &_swigt__p_wxDCBrushChanger
,
40277 &_swigt__p_wxDCClipper
,
40278 &_swigt__p_wxDCOverlay
,
40279 &_swigt__p_wxDCPenChanger
,
40280 &_swigt__p_wxDCTextColourChanger
,
40282 &_swigt__p_wxDateEvent
,
40283 &_swigt__p_wxDisplayChangedEvent
,
40284 &_swigt__p_wxDropFilesEvent
,
40285 &_swigt__p_wxDuplexMode
,
40286 &_swigt__p_wxEffects
,
40287 &_swigt__p_wxEncodingConverter
,
40288 &_swigt__p_wxEraseEvent
,
40289 &_swigt__p_wxEvent
,
40290 &_swigt__p_wxEvtHandler
,
40291 &_swigt__p_wxFSFile
,
40292 &_swigt__p_wxFileSystem
,
40293 &_swigt__p_wxFlexGridSizer
,
40294 &_swigt__p_wxFocusEvent
,
40296 &_swigt__p_wxFontList
,
40297 &_swigt__p_wxFontMapper
,
40298 &_swigt__p_wxGBSizerItem
,
40300 &_swigt__p_wxGDIObjListBase
,
40301 &_swigt__p_wxGDIObject
,
40302 &_swigt__p_wxGIFHandler
,
40303 &_swigt__p_wxGraphicsBrush
,
40304 &_swigt__p_wxGraphicsContext
,
40305 &_swigt__p_wxGraphicsFont
,
40306 &_swigt__p_wxGraphicsMatrix
,
40307 &_swigt__p_wxGraphicsObject
,
40308 &_swigt__p_wxGraphicsPath
,
40309 &_swigt__p_wxGraphicsPen
,
40310 &_swigt__p_wxGraphicsRenderer
,
40311 &_swigt__p_wxGridBagSizer
,
40312 &_swigt__p_wxGridSizer
,
40313 &_swigt__p_wxHeaderButtonParams
,
40314 &_swigt__p_wxICOHandler
,
40316 &_swigt__p_wxIconBundle
,
40317 &_swigt__p_wxIconLocation
,
40318 &_swigt__p_wxIconizeEvent
,
40319 &_swigt__p_wxIdleEvent
,
40320 &_swigt__p_wxImage
,
40321 &_swigt__p_wxImageHandler
,
40322 &_swigt__p_wxImageList
,
40323 &_swigt__p_wxIndividualLayoutConstraint
,
40324 &_swigt__p_wxInitDialogEvent
,
40325 &_swigt__p_wxJPEGHandler
,
40326 &_swigt__p_wxKeyEvent
,
40327 &_swigt__p_wxLanguageInfo
,
40328 &_swigt__p_wxLayoutConstraints
,
40329 &_swigt__p_wxLocale
,
40331 &_swigt__p_wxMaximizeEvent
,
40332 &_swigt__p_wxMemoryDC
,
40334 &_swigt__p_wxMenuBar
,
40335 &_swigt__p_wxMenuEvent
,
40336 &_swigt__p_wxMenuItem
,
40337 &_swigt__p_wxMetaFile
,
40338 &_swigt__p_wxMetaFileDC
,
40339 &_swigt__p_wxMirrorDC
,
40340 &_swigt__p_wxMouseCaptureChangedEvent
,
40341 &_swigt__p_wxMouseCaptureLostEvent
,
40342 &_swigt__p_wxMouseEvent
,
40343 &_swigt__p_wxMoveEvent
,
40344 &_swigt__p_wxNativeEncodingInfo
,
40345 &_swigt__p_wxNativeFontInfo
,
40346 &_swigt__p_wxNativePixelData
,
40347 &_swigt__p_wxNativePixelData_Accessor
,
40348 &_swigt__p_wxNavigationKeyEvent
,
40349 &_swigt__p_wxNcPaintEvent
,
40350 &_swigt__p_wxNotifyEvent
,
40351 &_swigt__p_wxObject
,
40352 &_swigt__p_wxOverlay
,
40353 &_swigt__p_wxPCXHandler
,
40354 &_swigt__p_wxPNGHandler
,
40355 &_swigt__p_wxPNMHandler
,
40356 &_swigt__p_wxPaintDC
,
40357 &_swigt__p_wxPaintEvent
,
40358 &_swigt__p_wxPalette
,
40359 &_swigt__p_wxPaletteChangedEvent
,
40360 &_swigt__p_wxPaperSize
,
40362 &_swigt__p_wxPenList
,
40363 &_swigt__p_wxPixelDataBase
,
40364 &_swigt__p_wxPoint
,
40365 &_swigt__p_wxPoint2D
,
40366 &_swigt__p_wxPoint2DDouble
,
40367 &_swigt__p_wxPostScriptDC
,
40368 &_swigt__p_wxPrintData
,
40369 &_swigt__p_wxPrinterDC
,
40370 &_swigt__p_wxPseudoDC
,
40371 &_swigt__p_wxPyApp
,
40372 &_swigt__p_wxPyCommandEvent
,
40373 &_swigt__p_wxPyEvent
,
40374 &_swigt__p_wxPyFontEnumerator
,
40375 &_swigt__p_wxPyImageHandler
,
40376 &_swigt__p_wxPyLocale
,
40377 &_swigt__p_wxPySizer
,
40378 &_swigt__p_wxPyValidator
,
40379 &_swigt__p_wxQueryNewPaletteEvent
,
40381 &_swigt__p_wxRect2DDouble
,
40382 &_swigt__p_wxRegion
,
40383 &_swigt__p_wxRegionIterator
,
40384 &_swigt__p_wxRendererNative
,
40385 &_swigt__p_wxRendererVersion
,
40386 &_swigt__p_wxScreenDC
,
40387 &_swigt__p_wxScrollEvent
,
40388 &_swigt__p_wxScrollWinEvent
,
40389 &_swigt__p_wxSetCursorEvent
,
40390 &_swigt__p_wxShowEvent
,
40392 &_swigt__p_wxSizeEvent
,
40393 &_swigt__p_wxSizer
,
40394 &_swigt__p_wxSizerItem
,
40395 &_swigt__p_wxSplitterRenderParams
,
40396 &_swigt__p_wxStaticBoxSizer
,
40397 &_swigt__p_wxStdDialogButtonSizer
,
40398 &_swigt__p_wxStockGDI
,
40399 &_swigt__p_wxString
,
40400 &_swigt__p_wxSysColourChangedEvent
,
40401 &_swigt__p_wxTGAHandler
,
40402 &_swigt__p_wxTIFFHandler
,
40403 &_swigt__p_wxUpdateUIEvent
,
40404 &_swigt__p_wxValidator
,
40405 &_swigt__p_wxWindow
,
40406 &_swigt__p_wxWindowCreateEvent
,
40407 &_swigt__p_wxWindowDC
,
40408 &_swigt__p_wxWindowDestroyEvent
,
40409 &_swigt__p_wxXPMHandler
,
40412 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40413 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40414 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40415 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40416 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40417 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40418 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40419 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40420 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40421 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40422 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40423 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40424 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40425 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40426 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40427 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}};
40428 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40429 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
40430 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}};
40431 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
40432 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40433 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40434 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40435 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}};
40436 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40437 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40438 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40439 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40440 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40441 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40442 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40443 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40444 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40445 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40446 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40447 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40448 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40449 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}};
40450 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}};
40451 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40452 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40453 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40454 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40455 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}};
40456 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40457 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40458 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40459 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40460 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40461 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40462 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40463 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40464 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40465 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40466 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}};
40467 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40468 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}};
40469 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40470 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40471 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40472 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40473 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40474 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40475 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40476 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40477 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40478 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40479 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40480 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40481 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40482 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40483 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40484 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40485 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40486 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40487 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40488 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40489 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40490 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40491 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40492 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40493 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40494 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40495 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40496 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40497 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40498 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40499 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40500 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40501 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40502 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40503 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40504 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40505 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40506 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40507 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40508 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40509 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40510 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40511 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40512 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40513 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40514 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40515 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40516 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40517 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40518 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40519 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40520 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40521 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40522 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40523 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40524 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40525 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40526 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40527 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40528 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40529 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40530 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40531 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40532 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40533 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40534 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40535 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40536 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40537 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40538 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40539 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40540 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40541 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40542 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40543 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40544 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40545 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40546 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40547 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40548 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40549 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40550 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40551 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40552 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40553 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPen
, _p_wxGraphicsPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsObject
, _p_wxGraphicsObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsContext
, _p_wxGraphicsContextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
40554 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40555 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40556 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40557 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40558 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40559 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40560 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}};
40561 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40562 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40563 static swig_cast_info _swigc__p_wxPoint2DDouble
[] = { {&_swigt__p_wxPoint2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40564 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40565 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40566 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40567 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40568 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40569 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40570 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40571 static swig_cast_info _swigc__p_wxRect2DDouble
[] = { {&_swigt__p_wxRect2DDouble
, 0, 0, 0},{0, 0, 0, 0}};
40572 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40573 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40574 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40575 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40576 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40577 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40578 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40579 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40580 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40581 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}};
40582 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
40584 static swig_cast_info
*swig_cast_initial
[] = {
40588 _swigc__p_form_ops_t
,
40590 _swigc__p_unsigned_char
,
40591 _swigc__p_unsigned_int
,
40592 _swigc__p_unsigned_long
,
40594 _swigc__p_wxANIHandler
,
40595 _swigc__p_wxAcceleratorTable
,
40596 _swigc__p_wxActivateEvent
,
40597 _swigc__p_wxAlphaPixelData
,
40598 _swigc__p_wxAlphaPixelData_Accessor
,
40599 _swigc__p_wxAutoBufferedPaintDC
,
40600 _swigc__p_wxBMPHandler
,
40601 _swigc__p_wxBitmap
,
40602 _swigc__p_wxBoxSizer
,
40604 _swigc__p_wxBrushList
,
40605 _swigc__p_wxBufferedDC
,
40606 _swigc__p_wxBufferedPaintDC
,
40607 _swigc__p_wxCURHandler
,
40609 _swigc__p_wxChildFocusEvent
,
40610 _swigc__p_wxClientDC
,
40611 _swigc__p_wxClipboardTextEvent
,
40612 _swigc__p_wxCloseEvent
,
40614 _swigc__p_wxColour
,
40615 _swigc__p_wxColourDatabase
,
40616 _swigc__p_wxCommandEvent
,
40617 _swigc__p_wxContextMenuEvent
,
40618 _swigc__p_wxControl
,
40619 _swigc__p_wxControlWithItems
,
40620 _swigc__p_wxCursor
,
40622 _swigc__p_wxDCBrushChanger
,
40623 _swigc__p_wxDCClipper
,
40624 _swigc__p_wxDCOverlay
,
40625 _swigc__p_wxDCPenChanger
,
40626 _swigc__p_wxDCTextColourChanger
,
40628 _swigc__p_wxDateEvent
,
40629 _swigc__p_wxDisplayChangedEvent
,
40630 _swigc__p_wxDropFilesEvent
,
40631 _swigc__p_wxDuplexMode
,
40632 _swigc__p_wxEffects
,
40633 _swigc__p_wxEncodingConverter
,
40634 _swigc__p_wxEraseEvent
,
40636 _swigc__p_wxEvtHandler
,
40637 _swigc__p_wxFSFile
,
40638 _swigc__p_wxFileSystem
,
40639 _swigc__p_wxFlexGridSizer
,
40640 _swigc__p_wxFocusEvent
,
40642 _swigc__p_wxFontList
,
40643 _swigc__p_wxFontMapper
,
40644 _swigc__p_wxGBSizerItem
,
40646 _swigc__p_wxGDIObjListBase
,
40647 _swigc__p_wxGDIObject
,
40648 _swigc__p_wxGIFHandler
,
40649 _swigc__p_wxGraphicsBrush
,
40650 _swigc__p_wxGraphicsContext
,
40651 _swigc__p_wxGraphicsFont
,
40652 _swigc__p_wxGraphicsMatrix
,
40653 _swigc__p_wxGraphicsObject
,
40654 _swigc__p_wxGraphicsPath
,
40655 _swigc__p_wxGraphicsPen
,
40656 _swigc__p_wxGraphicsRenderer
,
40657 _swigc__p_wxGridBagSizer
,
40658 _swigc__p_wxGridSizer
,
40659 _swigc__p_wxHeaderButtonParams
,
40660 _swigc__p_wxICOHandler
,
40662 _swigc__p_wxIconBundle
,
40663 _swigc__p_wxIconLocation
,
40664 _swigc__p_wxIconizeEvent
,
40665 _swigc__p_wxIdleEvent
,
40667 _swigc__p_wxImageHandler
,
40668 _swigc__p_wxImageList
,
40669 _swigc__p_wxIndividualLayoutConstraint
,
40670 _swigc__p_wxInitDialogEvent
,
40671 _swigc__p_wxJPEGHandler
,
40672 _swigc__p_wxKeyEvent
,
40673 _swigc__p_wxLanguageInfo
,
40674 _swigc__p_wxLayoutConstraints
,
40675 _swigc__p_wxLocale
,
40677 _swigc__p_wxMaximizeEvent
,
40678 _swigc__p_wxMemoryDC
,
40680 _swigc__p_wxMenuBar
,
40681 _swigc__p_wxMenuEvent
,
40682 _swigc__p_wxMenuItem
,
40683 _swigc__p_wxMetaFile
,
40684 _swigc__p_wxMetaFileDC
,
40685 _swigc__p_wxMirrorDC
,
40686 _swigc__p_wxMouseCaptureChangedEvent
,
40687 _swigc__p_wxMouseCaptureLostEvent
,
40688 _swigc__p_wxMouseEvent
,
40689 _swigc__p_wxMoveEvent
,
40690 _swigc__p_wxNativeEncodingInfo
,
40691 _swigc__p_wxNativeFontInfo
,
40692 _swigc__p_wxNativePixelData
,
40693 _swigc__p_wxNativePixelData_Accessor
,
40694 _swigc__p_wxNavigationKeyEvent
,
40695 _swigc__p_wxNcPaintEvent
,
40696 _swigc__p_wxNotifyEvent
,
40697 _swigc__p_wxObject
,
40698 _swigc__p_wxOverlay
,
40699 _swigc__p_wxPCXHandler
,
40700 _swigc__p_wxPNGHandler
,
40701 _swigc__p_wxPNMHandler
,
40702 _swigc__p_wxPaintDC
,
40703 _swigc__p_wxPaintEvent
,
40704 _swigc__p_wxPalette
,
40705 _swigc__p_wxPaletteChangedEvent
,
40706 _swigc__p_wxPaperSize
,
40708 _swigc__p_wxPenList
,
40709 _swigc__p_wxPixelDataBase
,
40711 _swigc__p_wxPoint2D
,
40712 _swigc__p_wxPoint2DDouble
,
40713 _swigc__p_wxPostScriptDC
,
40714 _swigc__p_wxPrintData
,
40715 _swigc__p_wxPrinterDC
,
40716 _swigc__p_wxPseudoDC
,
40718 _swigc__p_wxPyCommandEvent
,
40719 _swigc__p_wxPyEvent
,
40720 _swigc__p_wxPyFontEnumerator
,
40721 _swigc__p_wxPyImageHandler
,
40722 _swigc__p_wxPyLocale
,
40723 _swigc__p_wxPySizer
,
40724 _swigc__p_wxPyValidator
,
40725 _swigc__p_wxQueryNewPaletteEvent
,
40727 _swigc__p_wxRect2DDouble
,
40728 _swigc__p_wxRegion
,
40729 _swigc__p_wxRegionIterator
,
40730 _swigc__p_wxRendererNative
,
40731 _swigc__p_wxRendererVersion
,
40732 _swigc__p_wxScreenDC
,
40733 _swigc__p_wxScrollEvent
,
40734 _swigc__p_wxScrollWinEvent
,
40735 _swigc__p_wxSetCursorEvent
,
40736 _swigc__p_wxShowEvent
,
40738 _swigc__p_wxSizeEvent
,
40740 _swigc__p_wxSizerItem
,
40741 _swigc__p_wxSplitterRenderParams
,
40742 _swigc__p_wxStaticBoxSizer
,
40743 _swigc__p_wxStdDialogButtonSizer
,
40744 _swigc__p_wxStockGDI
,
40745 _swigc__p_wxString
,
40746 _swigc__p_wxSysColourChangedEvent
,
40747 _swigc__p_wxTGAHandler
,
40748 _swigc__p_wxTIFFHandler
,
40749 _swigc__p_wxUpdateUIEvent
,
40750 _swigc__p_wxValidator
,
40751 _swigc__p_wxWindow
,
40752 _swigc__p_wxWindowCreateEvent
,
40753 _swigc__p_wxWindowDC
,
40754 _swigc__p_wxWindowDestroyEvent
,
40755 _swigc__p_wxXPMHandler
,
40759 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40761 static swig_const_info swig_const_table
[] = {
40762 {0, 0, 0, 0.0, 0, 0}};
40767 /* -----------------------------------------------------------------------------
40768 * Type initialization:
40769 * This problem is tough by the requirement that no dynamic
40770 * memory is used. Also, since swig_type_info structures store pointers to
40771 * swig_cast_info structures and swig_cast_info structures store pointers back
40772 * to swig_type_info structures, we need some lookup code at initialization.
40773 * The idea is that swig generates all the structures that are needed.
40774 * The runtime then collects these partially filled structures.
40775 * The SWIG_InitializeModule function takes these initial arrays out of
40776 * swig_module, and does all the lookup, filling in the swig_module.types
40777 * array with the correct data and linking the correct swig_cast_info
40778 * structures together.
40780 * The generated swig_type_info structures are assigned staticly to an initial
40781 * array. We just loop though that array, and handle each type individually.
40782 * First we lookup if this type has been already loaded, and if so, use the
40783 * loaded structure instead of the generated one. Then we have to fill in the
40784 * cast linked list. The cast data is initially stored in something like a
40785 * two-dimensional array. Each row corresponds to a type (there are the same
40786 * number of rows as there are in the swig_type_initial array). Each entry in
40787 * a column is one of the swig_cast_info structures for that type.
40788 * The cast_initial array is actually an array of arrays, because each row has
40789 * a variable number of columns. So to actually build the cast linked list,
40790 * we find the array of casts associated with the type, and loop through it
40791 * adding the casts to the list. The one last trick we need to do is making
40792 * sure the type pointer in the swig_cast_info struct is correct.
40794 * First off, we lookup the cast->type name to see if it is already loaded.
40795 * There are three cases to handle:
40796 * 1) If the cast->type has already been loaded AND the type we are adding
40797 * casting info to has not been loaded (it is in this module), THEN we
40798 * replace the cast->type pointer with the type pointer that has already
40800 * 2) If BOTH types (the one we are adding casting info to, and the
40801 * cast->type) are loaded, THEN the cast info has already been loaded by
40802 * the previous module so we just ignore it.
40803 * 3) Finally, if cast->type has not already been loaded, then we add that
40804 * swig_cast_info to the linked list (because the cast->type) pointer will
40806 * ----------------------------------------------------------------------------- */
40816 #define SWIGRUNTIME_DEBUG
40820 SWIG_InitializeModule(void *clientdata
) {
40822 swig_module_info
*module_head
;
40823 static int init_run
= 0;
40825 clientdata
= clientdata
;
40827 if (init_run
) return;
40830 /* Initialize the swig_module */
40831 swig_module
.type_initial
= swig_type_initial
;
40832 swig_module
.cast_initial
= swig_cast_initial
;
40834 /* Try and load any already created modules */
40835 module_head
= SWIG_GetModule(clientdata
);
40837 swig_module
.next
= module_head
->next
;
40838 module_head
->next
= &swig_module
;
40840 /* This is the first module loaded */
40841 swig_module
.next
= &swig_module
;
40842 SWIG_SetModule(clientdata
, &swig_module
);
40845 /* Now work on filling in swig_module.types */
40846 #ifdef SWIGRUNTIME_DEBUG
40847 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40849 for (i
= 0; i
< swig_module
.size
; ++i
) {
40850 swig_type_info
*type
= 0;
40851 swig_type_info
*ret
;
40852 swig_cast_info
*cast
;
40854 #ifdef SWIGRUNTIME_DEBUG
40855 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40858 /* if there is another module already loaded */
40859 if (swig_module
.next
!= &swig_module
) {
40860 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40863 /* Overwrite clientdata field */
40864 #ifdef SWIGRUNTIME_DEBUG
40865 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40867 if (swig_module
.type_initial
[i
]->clientdata
) {
40868 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40869 #ifdef SWIGRUNTIME_DEBUG
40870 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40874 type
= swig_module
.type_initial
[i
];
40877 /* Insert casting types */
40878 cast
= swig_module
.cast_initial
[i
];
40879 while (cast
->type
) {
40880 /* Don't need to add information already in the list */
40882 #ifdef SWIGRUNTIME_DEBUG
40883 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40885 if (swig_module
.next
!= &swig_module
) {
40886 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40887 #ifdef SWIGRUNTIME_DEBUG
40888 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40892 if (type
== swig_module
.type_initial
[i
]) {
40893 #ifdef SWIGRUNTIME_DEBUG
40894 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40899 /* Check for casting already in the list */
40900 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40901 #ifdef SWIGRUNTIME_DEBUG
40902 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40904 if (!ocast
) ret
= 0;
40909 #ifdef SWIGRUNTIME_DEBUG
40910 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40913 type
->cast
->prev
= cast
;
40914 cast
->next
= type
->cast
;
40920 /* Set entry in modules->types array equal to the type */
40921 swig_module
.types
[i
] = type
;
40923 swig_module
.types
[i
] = 0;
40925 #ifdef SWIGRUNTIME_DEBUG
40926 printf("**** SWIG_InitializeModule: Cast List ******\n");
40927 for (i
= 0; i
< swig_module
.size
; ++i
) {
40929 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40930 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40931 while (cast
->type
) {
40932 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40936 printf("---- Total casts: %d\n",j
);
40938 printf("**** SWIG_InitializeModule: Cast List ******\n");
40942 /* This function will propagate the clientdata field of type to
40943 * any new swig_type_info structures that have been added into the list
40944 * of equivalent types. It is like calling
40945 * SWIG_TypeClientData(type, clientdata) a second time.
40948 SWIG_PropagateClientData(void) {
40950 swig_cast_info
*equiv
;
40951 static int init_run
= 0;
40953 if (init_run
) return;
40956 for (i
= 0; i
< swig_module
.size
; i
++) {
40957 if (swig_module
.types
[i
]->clientdata
) {
40958 equiv
= swig_module
.types
[i
]->cast
;
40960 if (!equiv
->converter
) {
40961 if (equiv
->type
&& !equiv
->type
->clientdata
)
40962 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
40964 equiv
= equiv
->next
;
40984 /* Python-specific SWIG API */
40985 #define SWIG_newvarlink() SWIG_Python_newvarlink()
40986 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
40987 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
40989 /* -----------------------------------------------------------------------------
40990 * global variable support code.
40991 * ----------------------------------------------------------------------------- */
40993 typedef struct swig_globalvar
{
40994 char *name
; /* Name of global variable */
40995 PyObject
*(*get_attr
)(void); /* Return the current value */
40996 int (*set_attr
)(PyObject
*); /* Set the value */
40997 struct swig_globalvar
*next
;
41000 typedef struct swig_varlinkobject
{
41002 swig_globalvar
*vars
;
41003 } swig_varlinkobject
;
41005 SWIGINTERN PyObject
*
41006 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41007 return PyString_FromString("<Swig global variables>");
41010 SWIGINTERN PyObject
*
41011 swig_varlink_str(swig_varlinkobject
*v
) {
41012 PyObject
*str
= PyString_FromString("(");
41013 swig_globalvar
*var
;
41014 for (var
= v
->vars
; var
; var
=var
->next
) {
41015 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41016 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41018 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41023 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41024 PyObject
*str
= swig_varlink_str(v
);
41025 fprintf(fp
,"Swig global variables ");
41026 fprintf(fp
,"%s\n", PyString_AsString(str
));
41032 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41033 swig_globalvar
*var
= v
->vars
;
41035 swig_globalvar
*n
= var
->next
;
41042 SWIGINTERN PyObject
*
41043 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41044 PyObject
*res
= NULL
;
41045 swig_globalvar
*var
= v
->vars
;
41047 if (strcmp(var
->name
,n
) == 0) {
41048 res
= (*var
->get_attr
)();
41053 if (res
== NULL
&& !PyErr_Occurred()) {
41054 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41060 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41062 swig_globalvar
*var
= v
->vars
;
41064 if (strcmp(var
->name
,n
) == 0) {
41065 res
= (*var
->set_attr
)(p
);
41070 if (res
== 1 && !PyErr_Occurred()) {
41071 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41076 SWIGINTERN PyTypeObject
*
41077 swig_varlink_type(void) {
41078 static char varlink__doc__
[] = "Swig var link object";
41079 static PyTypeObject varlink_type
;
41080 static int type_init
= 0;
41082 const PyTypeObject tmp
41084 PyObject_HEAD_INIT(NULL
)
41085 0, /* Number of items in variable part (ob_size) */
41086 (char *)"swigvarlink", /* Type name (tp_name) */
41087 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41088 0, /* Itemsize (tp_itemsize) */
41089 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41090 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41091 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41092 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41093 0, /* tp_compare */
41094 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41095 0, /* tp_as_number */
41096 0, /* tp_as_sequence */
41097 0, /* tp_as_mapping */
41100 (reprfunc
)swig_varlink_str
, /* tp_str */
41101 0, /* tp_getattro */
41102 0, /* tp_setattro */
41103 0, /* tp_as_buffer */
41105 varlink__doc__
, /* tp_doc */
41106 0, /* tp_traverse */
41108 0, /* tp_richcompare */
41109 0, /* tp_weaklistoffset */
41110 #if PY_VERSION_HEX >= 0x02020000
41111 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41113 #if PY_VERSION_HEX >= 0x02030000
41116 #ifdef COUNT_ALLOCS
41117 0,0,0,0 /* tp_alloc -> tp_next */
41120 varlink_type
= tmp
;
41121 varlink_type
.ob_type
= &PyType_Type
;
41124 return &varlink_type
;
41127 /* Create a variable linking object for use later */
41128 SWIGINTERN PyObject
*
41129 SWIG_Python_newvarlink(void) {
41130 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41134 return ((PyObject
*) result
);
41138 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41139 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41140 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41142 size_t size
= strlen(name
)+1;
41143 gv
->name
= (char *)malloc(size
);
41145 strncpy(gv
->name
,name
,size
);
41146 gv
->get_attr
= get_attr
;
41147 gv
->set_attr
= set_attr
;
41148 gv
->next
= v
->vars
;
41154 SWIGINTERN PyObject
*
41156 static PyObject
*_SWIG_globals
= 0;
41157 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41158 return _SWIG_globals
;
41161 /* -----------------------------------------------------------------------------
41162 * constants/methods manipulation
41163 * ----------------------------------------------------------------------------- */
41165 /* Install Constants */
41167 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41170 for (i
= 0; constants
[i
].type
; ++i
) {
41171 switch(constants
[i
].type
) {
41172 case SWIG_PY_POINTER
:
41173 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41175 case SWIG_PY_BINARY
:
41176 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41183 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41189 /* -----------------------------------------------------------------------------*/
41190 /* Fix SwigMethods to carry the callback ptrs when needed */
41191 /* -----------------------------------------------------------------------------*/
41194 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41195 swig_const_info
*const_table
,
41196 swig_type_info
**types
,
41197 swig_type_info
**types_initial
) {
41199 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41200 const char *c
= methods
[i
].ml_doc
;
41201 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41203 swig_const_info
*ci
= 0;
41204 const char *name
= c
+ 10;
41205 for (j
= 0; const_table
[j
].type
; ++j
) {
41206 if (strncmp(const_table
[j
].name
, name
,
41207 strlen(const_table
[j
].name
)) == 0) {
41208 ci
= &(const_table
[j
]);
41213 size_t shift
= (ci
->ptype
) - types
;
41214 swig_type_info
*ty
= types_initial
[shift
];
41215 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41216 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41217 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41220 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41222 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41224 strncpy(buff
, "swig_ptr: ", 10);
41226 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41227 methods
[i
].ml_doc
= ndoc
;
41239 /* -----------------------------------------------------------------------------*
41240 * Partial Init method
41241 * -----------------------------------------------------------------------------*/
41246 SWIGEXPORT
void SWIG_init(void) {
41249 /* Fix SwigMethods to carry the callback ptrs when needed */
41250 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41252 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41253 d
= PyModule_GetDict(m
);
41255 SWIG_InitializeModule(0);
41256 SWIG_InstallConstants(d
,swig_const_table
);
41259 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41260 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41261 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41262 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41263 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41264 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41265 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41266 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41267 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41268 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41269 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41270 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41271 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41272 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41273 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41274 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41275 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41276 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41277 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41278 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41279 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41280 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41281 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41282 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41283 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41284 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41285 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41286 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41287 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41288 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41289 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41290 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41291 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41292 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41293 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41294 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41295 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41296 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41297 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41298 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41299 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41300 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41301 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41302 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41303 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41304 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41305 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41306 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41307 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41308 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41309 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41310 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41311 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41312 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41313 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41314 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41315 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41316 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41317 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41318 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41319 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41320 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41321 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41322 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41323 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41324 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41325 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41326 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41327 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41328 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41329 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41330 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41331 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41332 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41333 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41334 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41335 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41336 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41337 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41338 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41339 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41340 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41341 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41342 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41343 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41344 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41345 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41346 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41347 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41348 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41349 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41350 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41351 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41352 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41353 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41354 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41355 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41356 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41357 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41358 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41359 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41360 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41361 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41362 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41363 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41364 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41365 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41366 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41367 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41368 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41369 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41370 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41371 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41372 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41373 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41374 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41375 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41376 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41377 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41378 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41379 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41380 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41381 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41382 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41383 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41384 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41385 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41386 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41387 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41388 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41389 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41390 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41392 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41394 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41395 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41396 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41397 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41398 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41399 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41400 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41401 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41402 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41403 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41404 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41405 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41406 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41407 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41408 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41409 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41410 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41411 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41412 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41413 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41414 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41415 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41416 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41417 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41418 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41419 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41420 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41421 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41422 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41423 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41424 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41425 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41426 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41427 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41428 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41429 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41430 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41431 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41432 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41433 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41434 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41435 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41436 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41437 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41438 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41439 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41440 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41441 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41442 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41443 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41444 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41445 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41446 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41447 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41448 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41449 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41450 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41451 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41452 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41453 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41454 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41455 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41456 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41457 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41458 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41459 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41460 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41461 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41462 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41463 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41464 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41465 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41466 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41467 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41468 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41469 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41470 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41471 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41472 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41473 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41474 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41475 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41476 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41477 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41478 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41479 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41480 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41481 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41482 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41483 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41484 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41485 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41486 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41487 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41488 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41489 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41490 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41491 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41492 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41493 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41494 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41495 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41496 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41497 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41498 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41499 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41500 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41501 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41502 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41503 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41504 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41505 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41506 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41507 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41508 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41509 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41510 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41511 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41512 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41513 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41514 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41515 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41516 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41517 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41518 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41519 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41520 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41521 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41522 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41523 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41524 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41525 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41526 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41527 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41528 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41529 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41530 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41531 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41532 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41533 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41534 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41535 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41536 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41537 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41538 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41539 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41540 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41541 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41542 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41543 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41544 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41545 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41546 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41547 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41548 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41549 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41550 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41551 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41552 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41553 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41554 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41555 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41556 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41557 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41558 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41559 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41560 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41561 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41562 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41563 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41564 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41565 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41566 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41567 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41568 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41569 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41570 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41571 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41572 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41573 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41574 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41575 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41576 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41577 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41578 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41579 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41580 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41581 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41582 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41583 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41584 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41585 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41586 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41587 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41588 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41589 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41590 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41591 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41592 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41593 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41594 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41595 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41596 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41597 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41598 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41599 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41600 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41601 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41602 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41603 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41604 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41605 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41606 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41607 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41608 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41609 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41610 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41611 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41612 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41613 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41614 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41615 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41616 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41617 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41618 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41619 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41620 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41621 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41622 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41623 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41624 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41625 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41626 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41627 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41628 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41629 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41630 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41631 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41632 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41633 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41634 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41635 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41636 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41637 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41638 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41639 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41640 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41641 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41642 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41643 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41644 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41645 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41646 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41647 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41648 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41649 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41650 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41651 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41652 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41653 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41654 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41655 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41656 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41657 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41658 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41659 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41660 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41661 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41662 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41663 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41664 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41665 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41666 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41667 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41668 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41669 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41670 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41671 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41672 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41673 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41674 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41675 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41676 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41677 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41678 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41679 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41680 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41681 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41682 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41683 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41684 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41685 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41686 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41687 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41688 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41689 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41690 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41691 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41692 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41693 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41694 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41695 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41696 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41697 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41698 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41699 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41700 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41701 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41702 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41703 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41704 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41705 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41706 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41707 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41708 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41709 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41710 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41711 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41712 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41713 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41714 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41715 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41716 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41717 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41719 // Work around a chicken/egg problem in drawlist.cpp
41720 wxPyDrawList_SetAPIPtr();