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_wxChildFocusEvent swig_types[23]
2490 #define SWIGTYPE_p_wxClientDC swig_types[24]
2491 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[25]
2492 #define SWIGTYPE_p_wxCloseEvent swig_types[26]
2493 #define SWIGTYPE_p_wxColour swig_types[27]
2494 #define SWIGTYPE_p_wxColourDatabase swig_types[28]
2495 #define SWIGTYPE_p_wxCommandEvent swig_types[29]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2497 #define SWIGTYPE_p_wxControl swig_types[31]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2499 #define SWIGTYPE_p_wxCursor swig_types[33]
2500 #define SWIGTYPE_p_wxDC swig_types[34]
2501 #define SWIGTYPE_p_wxDCBrushChanger swig_types[35]
2502 #define SWIGTYPE_p_wxDCClipper swig_types[36]
2503 #define SWIGTYPE_p_wxDCOverlay swig_types[37]
2504 #define SWIGTYPE_p_wxDCPenChanger swig_types[38]
2505 #define SWIGTYPE_p_wxDCTextColourChanger swig_types[39]
2506 #define SWIGTYPE_p_wxDash swig_types[40]
2507 #define SWIGTYPE_p_wxDateEvent swig_types[41]
2508 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDropFilesEvent swig_types[43]
2510 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
2511 #define SWIGTYPE_p_wxEffects swig_types[45]
2512 #define SWIGTYPE_p_wxEncodingConverter swig_types[46]
2513 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
2514 #define SWIGTYPE_p_wxEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEventBlocker swig_types[49]
2516 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2517 #define SWIGTYPE_p_wxFSFile swig_types[51]
2518 #define SWIGTYPE_p_wxFileSystem swig_types[52]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[54]
2521 #define SWIGTYPE_p_wxFont swig_types[55]
2522 #define SWIGTYPE_p_wxFontList swig_types[56]
2523 #define SWIGTYPE_p_wxFontMapper swig_types[57]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[58]
2525 #define SWIGTYPE_p_wxGCDC swig_types[59]
2526 #define SWIGTYPE_p_wxGDIObjListBase swig_types[60]
2527 #define SWIGTYPE_p_wxGDIObject swig_types[61]
2528 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
2529 #define SWIGTYPE_p_wxGraphicsBrush swig_types[63]
2530 #define SWIGTYPE_p_wxGraphicsContext swig_types[64]
2531 #define SWIGTYPE_p_wxGraphicsFont swig_types[65]
2532 #define SWIGTYPE_p_wxGraphicsMatrix swig_types[66]
2533 #define SWIGTYPE_p_wxGraphicsObject swig_types[67]
2534 #define SWIGTYPE_p_wxGraphicsPath swig_types[68]
2535 #define SWIGTYPE_p_wxGraphicsPen swig_types[69]
2536 #define SWIGTYPE_p_wxGraphicsRenderer swig_types[70]
2537 #define SWIGTYPE_p_wxGridBagSizer swig_types[71]
2538 #define SWIGTYPE_p_wxGridSizer swig_types[72]
2539 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[73]
2540 #define SWIGTYPE_p_wxICOHandler swig_types[74]
2541 #define SWIGTYPE_p_wxIcon swig_types[75]
2542 #define SWIGTYPE_p_wxIconBundle swig_types[76]
2543 #define SWIGTYPE_p_wxIconLocation swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLanguageInfo swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxLocale swig_types[89]
2556 #define SWIGTYPE_p_wxMask swig_types[90]
2557 #define SWIGTYPE_p_wxMaximizeEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMemoryDC swig_types[92]
2559 #define SWIGTYPE_p_wxMenu swig_types[93]
2560 #define SWIGTYPE_p_wxMenuBar swig_types[94]
2561 #define SWIGTYPE_p_wxMenuEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMenuItem swig_types[96]
2563 #define SWIGTYPE_p_wxMetaFile swig_types[97]
2564 #define SWIGTYPE_p_wxMetaFileDC swig_types[98]
2565 #define SWIGTYPE_p_wxMirrorDC swig_types[99]
2566 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMoveEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[104]
2571 #define SWIGTYPE_p_wxNativeFontInfo swig_types[105]
2572 #define SWIGTYPE_p_wxNativePixelData swig_types[106]
2573 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[107]
2574 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNcPaintEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxOverlay swig_types[112]
2579 #define SWIGTYPE_p_wxPCXHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNGHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPNMHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPaintDC swig_types[116]
2583 #define SWIGTYPE_p_wxPaintEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPalette swig_types[118]
2585 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPaperSize swig_types[120]
2587 #define SWIGTYPE_p_wxPen swig_types[121]
2588 #define SWIGTYPE_p_wxPenList swig_types[122]
2589 #define SWIGTYPE_p_wxPixelDataBase swig_types[123]
2590 #define SWIGTYPE_p_wxPoint swig_types[124]
2591 #define SWIGTYPE_p_wxPoint2D swig_types[125]
2592 #define SWIGTYPE_p_wxPostScriptDC swig_types[126]
2593 #define SWIGTYPE_p_wxPrintData swig_types[127]
2594 #define SWIGTYPE_p_wxPrinterDC swig_types[128]
2595 #define SWIGTYPE_p_wxPseudoDC swig_types[129]
2596 #define SWIGTYPE_p_wxPyApp swig_types[130]
2597 #define SWIGTYPE_p_wxPyCommandEvent swig_types[131]
2598 #define SWIGTYPE_p_wxPyEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[133]
2600 #define SWIGTYPE_p_wxPyImageHandler swig_types[134]
2601 #define SWIGTYPE_p_wxPyLocale swig_types[135]
2602 #define SWIGTYPE_p_wxPySizer swig_types[136]
2603 #define SWIGTYPE_p_wxPyValidator swig_types[137]
2604 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[138]
2605 #define SWIGTYPE_p_wxRect swig_types[139]
2606 #define SWIGTYPE_p_wxRect2D swig_types[140]
2607 #define SWIGTYPE_p_wxRegion swig_types[141]
2608 #define SWIGTYPE_p_wxRegionIterator swig_types[142]
2609 #define SWIGTYPE_p_wxRendererNative swig_types[143]
2610 #define SWIGTYPE_p_wxRendererVersion swig_types[144]
2611 #define SWIGTYPE_p_wxScreenDC swig_types[145]
2612 #define SWIGTYPE_p_wxScrollEvent swig_types[146]
2613 #define SWIGTYPE_p_wxScrollWinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxSetCursorEvent swig_types[148]
2615 #define SWIGTYPE_p_wxShowEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSize swig_types[150]
2617 #define SWIGTYPE_p_wxSizeEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSizer swig_types[152]
2619 #define SWIGTYPE_p_wxSizerItem swig_types[153]
2620 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[154]
2621 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[155]
2622 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[156]
2623 #define SWIGTYPE_p_wxStockGDI swig_types[157]
2624 #define SWIGTYPE_p_wxString swig_types[158]
2625 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[159]
2626 #define SWIGTYPE_p_wxTGAHandler swig_types[160]
2627 #define SWIGTYPE_p_wxTIFFHandler swig_types[161]
2628 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629 #define SWIGTYPE_p_wxValidator swig_types[163]
2630 #define SWIGTYPE_p_wxWindow swig_types[164]
2631 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[165]
2632 #define SWIGTYPE_p_wxWindowDC swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635 static swig_type_info
*swig_types
[170];
2636 static swig_module_info swig_module
= {swig_types
, 169, 0, 0, 0, 0};
2637 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640 /* -------- TYPES TABLE (END) -------- */
2642 #if (PY_VERSION_HEX <= 0x02000000)
2643 # if !defined(SWIG_PYTHON_CLASSIC)
2644 # error "This python version requires to use swig with the '-classic' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodern' option"
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodernargs' option"
2654 # error "This python version requires to use swig with the '-nofastunpack' option"
2657 /*-----------------------------------------------
2658 @(target):= _gdi_.so
2659 ------------------------------------------------*/
2660 #define SWIG_init init_gdi_
2662 #define SWIG_name "_gdi_"
2664 #define SWIGVERSION 0x010329
2667 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2671 #include <stdexcept>
2675 class PyObject_ptr
{
2680 PyObject_ptr() :_obj(0)
2684 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2689 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2691 if (initial_ref
) Py_XINCREF(_obj
);
2694 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2696 Py_XINCREF(item
._obj
);
2707 operator PyObject
*() const
2712 PyObject
*operator->() const
2721 struct PyObject_var
: PyObject_ptr
{
2722 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2724 PyObject_var
& operator = (PyObject
* obj
)
2734 #include "wx/wxPython/wxPython.h"
2735 #include "wx/wxPython/pyclasses.h"
2738 static const wxString
wxPyEmptyString(wxEmptyString
);
2740 #define SWIG_From_long PyInt_FromLong
2743 SWIGINTERNINLINE PyObject
*
2744 SWIG_From_int (int value
)
2746 return SWIG_From_long (value
);
2752 # define LLONG_MIN LONG_LONG_MIN
2755 # define LLONG_MAX LONG_LONG_MAX
2758 # define ULLONG_MAX ULONG_LONG_MAX
2763 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2765 if (PyNumber_Check(obj
)) {
2766 if (val
) *val
= PyInt_AsLong(obj
);
2769 return SWIG_TypeError
;
2774 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2777 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2778 return SWIG_TypeError
;
2781 *val
= (unsigned long)v
;
2787 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2790 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2791 if (SWIG_IsOK(res
)) {
2792 if ((v
> UCHAR_MAX
)) {
2793 return SWIG_OverflowError
;
2795 if (val
) *val
= static_cast< unsigned char >(v
);
2802 SWIGINTERNINLINE PyObject
*
2803 SWIG_From_unsigned_SS_long (unsigned long value
)
2805 return (value
> LONG_MAX
) ?
2806 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2810 SWIGINTERNINLINE PyObject
*
2811 SWIG_From_unsigned_SS_char (unsigned char value
)
2813 return SWIG_From_unsigned_SS_long (value
);
2816 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2817 wxColour temp
, *obj
= &temp
;
2818 if ( other
== Py_None
) return false;
2819 if ( ! wxColour_helper(other
, &obj
) ) {
2823 return self
->operator==(*obj
);
2825 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2826 wxColour temp
, *obj
= &temp
;
2827 if ( other
== Py_None
) return true;
2828 if ( ! wxColour_helper(other
, &obj
)) {
2832 return self
->operator!=(*obj
);
2836 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2838 if (obj
== Py_True
) {
2839 if (val
) *val
= true;
2841 } else if (obj
== Py_False
) {
2842 if (val
) *val
= false;
2846 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2847 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2852 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2853 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2857 int alpha
= wxALPHA_OPAQUE
;
2860 green
= self
->Green();
2861 blue
= self
->Blue();
2862 alpha
= self
->Alpha();
2864 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2865 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2866 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2868 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2871 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2872 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2876 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2879 int res
= SWIG_AsVal_long (obj
, &v
);
2880 if (SWIG_IsOK(res
)) {
2881 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2882 return SWIG_OverflowError
;
2884 if (val
) *val
= static_cast< int >(v
);
2890 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2892 int count
= self
->GetDashes(&dashes
);
2893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2894 PyObject
* retval
= PyList_New(0);
2895 for (int x
=0; x
<count
; x
++) {
2896 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2897 PyList_Append(retval
, pyint
);
2900 wxPyEndBlockThreads(blocked
);
2903 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2904 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2905 int size
= PyList_Size(pyDashes
);
2906 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2908 // black magic warning! The array of wxDashes needs to exist as
2909 // long as the pen does because wxPen does not copy the array. So
2910 // stick a copy in a Python string object and attach it to _self,
2911 // and then call SetDashes with a pointer to that array. Then
2912 // when the Python pen object is destroyed the array will be
2914 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2915 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2917 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2919 Py_DECREF(strDashes
);
2920 wxPyEndBlockThreads(blocked
);
2922 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2923 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2925 SWIGINTERNINLINE PyObject
*
2926 SWIG_From_short (short value
)
2928 return SWIG_From_long (value
);
2933 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2936 int res
= SWIG_AsVal_long (obj
, &v
);
2937 if (SWIG_IsOK(res
)) {
2938 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2939 return SWIG_OverflowError
;
2941 if (val
) *val
= static_cast< short >(v
);
2948 #include <wx/rawbmp.h>
2951 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2952 // appears to me that the other platforms are already doing it, so I'll just
2953 // automatically do it for wxMSW here.
2955 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2956 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2958 #define wxPy_premultiply(p, a) (p)
2959 #define wxPy_unpremultiply(p, a) (p)
2963 #include <wx/image.h>
2965 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2966 char** cArray
= NULL
;
2969 if (!PyList_Check(listOfStrings
)) {
2970 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2973 count
= PyList_Size(listOfStrings
);
2974 cArray
= new char*[count
];
2976 for(int x
=0; x
<count
; x
++) {
2977 // TODO: Need some validation and error checking here
2978 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2984 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2985 char** cArray
= NULL
;
2988 cArray
= ConvertListOfStrings(listOfStrings
);
2991 bmp
= new wxBitmap(cArray
);
2995 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2998 PyString_AsStringAndSize(bits
, &buf
, &length
);
2999 return new wxBitmap(buf
, width
, height
, depth
);
3001 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
3002 wxSize
size(self
->GetWidth(), self
->GetHeight());
3005 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
3006 wxMask
*mask
= new wxMask(*self
, colour
);
3007 self
->SetMask(mask
);
3009 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
3010 self
->SetWidth(size
.x
);
3011 self
->SetHeight(size
.y
);
3013 SWIGINTERN
void wxBitmap_CopyFromBuffer(wxBitmap
*self
,buffer data
,int DATASIZE
){
3014 int height
=self
->GetHeight();
3015 int width
=self
->GetWidth();
3017 if (DATASIZE
!= width
* height
* 3) {
3018 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3020 wxNativePixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3022 // raise an exception...
3023 wxPyErr_SetString(PyExc_RuntimeError
,
3024 "Failed to gain raw access to bitmap data.");
3028 wxNativePixelData::Iterator
p(pixData
);
3029 for (int y
=0; y
<height
; y
++) {
3030 wxNativePixelData::Iterator rowStart
= p
;
3031 for (int x
=0; x
<width
; x
++) {
3032 p
.Red() = *(data
++);
3033 p
.Green() = *(data
++);
3034 p
.Blue() = *(data
++);
3038 p
.OffsetY(pixData
, 1);
3041 SWIGINTERN
void wxBitmap_CopyFromBufferRGBA(wxBitmap
*self
,buffer data
,int DATASIZE
){
3042 int height
=self
->GetHeight();
3043 int width
=self
->GetWidth();
3045 if (DATASIZE
!= width
* height
* 4) {
3046 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3048 wxAlphaPixelData
pixData(*self
, wxPoint(0,0), wxSize(width
, height
));
3050 // raise an exception...
3051 wxPyErr_SetString(PyExc_RuntimeError
,
3052 "Failed to gain raw access to bitmap data.");
3057 wxAlphaPixelData::Iterator
p(pixData
);
3058 for (int y
=0; y
<height
; y
++) {
3059 wxAlphaPixelData::Iterator rowStart
= p
;
3060 for (int x
=0; x
<width
; x
++) {
3062 p
.Red() = wxPy_premultiply(*(data
++), a
);
3063 p
.Green() = wxPy_premultiply(*(data
++), a
);
3064 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3065 p
.Alpha() = a
; data
++;
3069 p
.OffsetY(pixData
, 1);
3072 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? self
->IsSameAs(*other
) : false; }
3073 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? !self
->IsSameAs(*other
) : true; }
3075 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3076 buffer data
, int DATASIZE
,
3077 buffer alpha
, int ALPHASIZE
)
3079 if (DATASIZE
!= width
*height
*3) {
3080 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3084 if (ALPHASIZE
!= width
*height
) {
3085 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3089 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3090 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3092 // raise an exception...
3093 wxPyErr_SetString(PyExc_RuntimeError
,
3094 "Failed to gain raw access to bitmap data.");
3099 wxAlphaPixelData::Iterator
p(pixData
);
3100 for (int y
=0; y
<height
; y
++) {
3101 wxAlphaPixelData::Iterator rowStart
= p
;
3102 for (int x
=0; x
<width
; x
++) {
3103 byte a
= *(alpha
++);
3104 p
.Red() = wxPy_premultiply(*(data
++), a
);
3105 p
.Green() = wxPy_premultiply(*(data
++), a
);
3106 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3111 p
.OffsetY(pixData
, 1);
3116 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3118 if (DATASIZE
!= width
*height
*3) {
3119 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3123 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3124 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3126 // raise an exception...
3127 wxPyErr_SetString(PyExc_RuntimeError
,
3128 "Failed to gain raw access to bitmap data.");
3132 wxNativePixelData::Iterator
p(pixData
);
3133 for (int y
=0; y
<height
; y
++) {
3134 wxNativePixelData::Iterator rowStart
= p
;
3135 for (int x
=0; x
<width
; x
++) {
3136 p
.Red() = *(data
++);
3137 p
.Green() = *(data
++);
3138 p
.Blue() = *(data
++);
3142 p
.OffsetY(pixData
, 1);
3148 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3150 if (DATASIZE
!= width
*height
*4) {
3151 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3155 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3156 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3158 // raise an exception...
3159 wxPyErr_SetString(PyExc_RuntimeError
,
3160 "Failed to gain raw access to bitmap data.");
3165 wxAlphaPixelData::Iterator
p(pixData
);
3166 for (int y
=0; y
<height
; y
++) {
3167 wxAlphaPixelData::Iterator rowStart
= p
;
3168 for (int x
=0; x
<width
; x
++) {
3170 p
.Red() = wxPy_premultiply(*(data
++), a
);
3171 p
.Green() = wxPy_premultiply(*(data
++), a
);
3172 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3173 p
.Alpha() = a
; data
++;
3177 p
.OffsetY(pixData
, 1);
3183 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3185 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3186 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3187 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3189 self
->Green() = green
;
3190 self
->Blue() = blue
;
3192 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3193 PyObject
* rv
= PyTuple_New(3);
3194 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3195 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3196 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3200 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3202 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3203 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3204 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3205 self
->Red() = wxPy_premultiply(red
, alpha
);
3206 self
->Green() = wxPy_premultiply(green
, alpha
);
3207 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3208 self
->Alpha() = alpha
;
3210 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3211 PyObject
* rv
= PyTuple_New(4);
3212 int red
= self
->Red();
3213 int green
= self
->Green();
3214 int blue
= self
->Blue();
3215 int alpha
= self
->Alpha();
3217 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3218 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3219 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3220 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3223 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3224 if ( !colour
.IsOk() )
3225 return new wxMask(bitmap
, *wxBLACK
);
3227 return new wxMask(bitmap
, colour
);
3230 #include <wx/iconbndl.h>
3232 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3233 wxIcon
* icon
= new wxIcon();
3234 icon
->CopyFromBitmap(bmp
);
3237 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3238 char** cArray
= NULL
;
3241 cArray
= ConvertListOfStrings(listOfStrings
);
3244 icon
= new wxIcon(cArray
);
3248 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3252 return new wxIconLocation(*filename
);
3255 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3262 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3269 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3271 wxImage
img(cursorName
, type
);
3272 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3273 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3274 return new wxCursor(img
);
3276 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3281 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3284 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3285 return self
->operator bool();
3288 #include <wx/fontutil.h>
3289 #include <wx/fontmap.h>
3290 #include <wx/fontenum.h>
3292 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3293 return self
->ToString();
3296 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3297 static wxNativeEncodingInfo info
;
3298 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3305 SWIGINTERNINLINE PyObject
*
3306 SWIG_From_size_t (size_t value
)
3308 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3312 SWIGINTERNINLINE
int
3313 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3316 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3317 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3321 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3322 wxFontEncoding alt_enc
;
3323 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3324 return PyInt_FromLong(alt_enc
);
3330 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3331 wxNativeFontInfo nfi
;
3332 nfi
.FromString(info
);
3333 return new wxFont(nfi
);
3335 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3336 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3338 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3339 return wxFontBase::New(pixelSize
, family
,
3340 style
, weight
, underlined
,
3343 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3344 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3346 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3347 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3349 class wxPyFontEnumerator
: public wxFontEnumerator
{
3351 wxPyFontEnumerator() {}
3352 ~wxPyFontEnumerator() {}
3354 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3355 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3360 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3361 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3364 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3366 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3367 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3368 ret
= wxArrayString2PyList_helper(arr
);
3369 wxPyEndBlockThreads(blocked
);
3372 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3374 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3375 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3376 ret
= wxArrayString2PyList_helper(arr
);
3377 wxPyEndBlockThreads(blocked
);
3383 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3386 loc
= new wxLocale();
3388 loc
= new wxLocale(language
, flags
);
3389 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3390 // for the floating point conversions and such to work right.
3391 #if PY_VERSION_HEX < 0x02040000
3392 setlocale(LC_NUMERIC
, "C");
3396 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &name
,wxString
const &shortName
=wxPyEmptyString
,wxString
const &locale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3397 bool rc
= self
->Init(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
);
3398 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3399 // for the floating point conversions and such to work right.
3400 #if PY_VERSION_HEX < 0x02040000
3401 setlocale(LC_NUMERIC
, "C");
3405 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3406 bool rc
= self
->Init(language
, flags
);
3407 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3408 // for the floating point conversions and such to work right.
3409 #if PY_VERSION_HEX < 0x02040000
3410 setlocale(LC_NUMERIC
, "C");
3415 class wxPyLocale
: public wxLocale
3420 wxPyLocale(const wxString
& name
, // name (for messages)
3421 const wxString
& shortName
= wxPyEmptyString
, // dir prefix (for msg files)
3422 const wxString
& locale
= wxPyEmptyString
, // locale (for setlocale)
3423 bool bLoadDefault
= true, // preload wxstd.mo?
3424 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3426 wxPyLocale(int language
, // wxLanguage id or custom language
3427 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3431 virtual const wxString
& GetString(const wxString
& origString
,
3432 const wxString
& domain
= wxPyEmptyString
) const;
3433 virtual const wxString
& GetString(const wxString
& origString
,
3434 const wxString
& origString2
,
3436 const wxString
& domain
= wxPyEmptyString
) const;
3438 virtual const wxString
& GetSingularString(const wxString
& origString
,
3439 const wxString
& domain
= wxPyEmptyString
) const;
3440 virtual const wxString
& GetPluralString(const wxString
& origString
,
3441 const wxString
& origString2
,
3443 const wxString
& domain
= wxPyEmptyString
) const;
3448 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3451 wxPyLocale::wxPyLocale() : wxLocale()
3455 wxPyLocale::wxPyLocale(const wxString
& name
, // name (for messages)
3456 const wxString
& shortName
, // dir prefix (for msg files)
3457 const wxString
& locale
, // locale (for setlocale)
3458 bool bLoadDefault
, // preload wxstd.mo?
3459 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3460 : wxLocale(name
, shortName
, locale
, bLoadDefault
, bConvertEncoding
)
3464 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3465 int flags
) : wxLocale(language
, flags
)
3469 wxPyLocale::~wxPyLocale()
3473 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3474 const wxString
& domain
) const
3476 return GetSingularString(origString
, domain
);
3479 const wxString
& wxPyLocale::GetString(const wxString
& origString
,
3480 const wxString
& origString2
,
3482 const wxString
& domain
) const
3484 return GetPluralString(origString
, origString2
, n
, domain
);
3487 const wxString
& wxPyLocale::GetSingularString(const wxString
& origString
,
3488 const wxString
& domain
) const
3491 wxString
str( _T("error in translation"));
3492 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3493 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3494 PyObject
* param1
= wx2PyString(origString
);
3495 PyObject
* param2
= wx2PyString(domain
);
3496 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3500 str
= Py2wxString(ret
);
3504 wxPyEndBlockThreads(blocked
);
3505 return (found
? str
: wxLocale::GetString(origString
, domain
));
3508 const wxString
& wxPyLocale::GetPluralString(const wxString
& origString
,
3509 const wxString
& origString2
, size_t n
,
3510 const wxString
& domain
) const
3513 wxString
str( _T("error in translation"));
3514 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3515 if ((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3516 PyObject
* param1
= wx2PyString(origString
);
3517 PyObject
* param2
= wx2PyString(origString2
);
3518 PyObject
* param4
= wx2PyString(domain
);
3519 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
,
3520 Py_BuildValue("(OOiO)",
3527 str
= Py2wxString(ret
);
3531 wxPyEndBlockThreads(blocked
);
3532 return (found
? str
: wxLocale::GetString(origString
, origString2
, n
, domain
) );
3535 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3538 loc
= new wxPyLocale();
3540 loc
= new wxPyLocale(language
, flags
);
3541 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3542 // for the floating point conversions and such to work right.
3543 #if PY_VERSION_HEX < 0x02040000
3544 setlocale(LC_NUMERIC
, "C");
3549 #include "wx/wxPython/pydrawxxx.h"
3551 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3553 self
->GetPixel(x
, y
, &col
);
3556 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3558 self
->GetPixel(pt
, &col
);
3563 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3565 if (PyNumber_Check(obj
)) {
3566 if (val
) *val
= PyFloat_AsDouble(obj
);
3569 return SWIG_TypeError
;
3572 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3574 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3577 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3579 self
->GetClippingBox(rect
);
3582 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3584 self
->GetPartialTextExtents(text
, widths
);
3588 #define SWIG_From_double PyFloat_FromDouble
3590 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3591 self
->SetLogicalOrigin(point
.x
, point
.y
);
3593 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3594 self
->SetDeviceOrigin(point
.x
, point
.y
);
3596 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3597 self
->CalcBoundingBox(point
.x
, point
.y
);
3599 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3600 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3602 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3603 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3605 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3606 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3608 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3609 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3611 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3612 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3614 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3615 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3618 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3626 #include <wx/dcbuffer.h>
3629 #include <wx/dcps.h>
3632 #include <wx/metafile.h>
3635 #include <wx/graphics.h>
3638 #if !wxUSE_GRAPHICS_CONTEXT
3639 // C++ stub classes for platforms or build configurations that don't have
3640 // wxGraphicsContext yet.
3642 class wxGraphicsRenderer
;
3643 class wxGraphicsMatrix
;
3646 class wxGraphicsObject
: public wxObject
3649 wxGraphicsObject() {}
3650 wxGraphicsObject( wxGraphicsRenderer
* ) {
3651 PyErr_SetString(PyExc_NotImplementedError
,
3652 "wx.GraphicsObject is not available on this platform.");
3654 wxGraphicsObject( const wxGraphicsObject
& ) {}
3655 virtual ~wxGraphicsObject() {}
3656 bool IsNull() const { return false; }
3657 wxGraphicsRenderer
* GetRenderer() const { return NULL
; }
3662 class wxGraphicsPen
: public wxGraphicsObject
3666 virtual ~wxGraphicsPen() {}
3668 wxGraphicsPen wxNullGraphicsPen
;
3672 class wxGraphicsBrush
: public wxGraphicsObject
3675 wxGraphicsBrush() {}
3676 virtual ~wxGraphicsBrush() {}
3678 wxGraphicsBrush wxNullGraphicsBrush
;
3682 class wxGraphicsFont
: public wxGraphicsObject
3686 virtual ~wxGraphicsFont() {}
3688 wxGraphicsFont wxNullGraphicsFont
;
3692 class wxGraphicsPath
: public wxGraphicsObject
3695 wxGraphicsPath() { }
3696 wxGraphicsPath(wxGraphicsRenderer
* ) {
3697 PyErr_SetString(PyExc_NotImplementedError
,
3698 "wx.GraphicsPath is not available on this platform.");
3700 virtual ~wxGraphicsPath() {}
3702 void MoveToPoint( wxDouble
, wxDouble
) {}
3703 void MoveToPoint( const wxPoint2DDouble
& ) {}
3704 void AddLineToPoint( wxDouble
, wxDouble
) {}
3705 void AddLineToPoint( const wxPoint2DDouble
& ) {}
3706 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3707 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3708 void AddPath( const wxGraphicsPath
& ) {}
3709 void CloseSubpath() {}
3710 void GetCurrentPoint( wxDouble
&, wxDouble
&) const {}
3711 wxPoint2DDouble
GetCurrentPoint() const { return wxPoint2D(0,0); }
3712 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3713 void AddArc( const wxPoint2DDouble
& , wxDouble
, wxDouble
, wxDouble
, bool ) {}
3715 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3716 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3717 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3718 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3720 void AddEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3721 void AddRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3722 void * GetNativePath() const { return NULL
; }
3723 void UnGetNativePath(void *) const {}
3724 void Transform( const wxGraphicsMatrix
& ) {}
3725 void GetBox(wxDouble
*, wxDouble
*, wxDouble
*, wxDouble
*) const {}
3726 wxRect2D
GetBox() const { return wxRect2D(0,0,0,0); }
3728 bool Contains( wxDouble
, wxDouble
, int ) const { return false; }
3729 bool Contains( const wxPoint2DDouble
& , int ) const { return false; }
3731 wxGraphicsPath wxNullGraphicsPath
;
3734 class wxGraphicsMatrix
: public wxGraphicsObject
3737 wxGraphicsMatrix() { }
3738 wxGraphicsMatrix(wxGraphicsRenderer
* ) {
3739 PyErr_SetString(PyExc_NotImplementedError
,
3740 "wx.GraphicsMatrix is not available on this platform.");
3742 virtual ~wxGraphicsMatrix() {}
3743 virtual void Concat( const wxGraphicsMatrix
& ) {}
3744 virtual void Copy( const wxGraphicsMatrix
& ) {}
3745 virtual void Set(wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3746 wxDouble
, wxDouble
) {}
3747 virtual void Get(wxDouble
*, wxDouble
*, wxDouble
*,
3748 wxDouble
*, wxDouble
*, wxDouble
*) {}
3749 virtual void Invert() {}
3750 virtual bool IsEqual( const wxGraphicsMatrix
& t
) const { return false; }
3751 virtual bool IsIdentity() const { return false; }
3752 virtual void Translate( wxDouble
, wxDouble
) {}
3753 virtual void Scale( wxDouble
, wxDouble
) {}
3754 virtual void Rotate( wxDouble
) {}
3755 virtual void TransformPoint( wxDouble
*, wxDouble
* ) const {}
3756 virtual void TransformDistance( wxDouble
*, wxDouble
* ) const {}
3757 virtual void * GetNativeMatrix() const { return NULL
; }
3759 wxGraphicsMatrix wxNullGraphicsMatrix
;
3762 class wxGraphicsContext
: public wxGraphicsObject
3766 wxGraphicsContext(wxGraphicsRenderer
* ) {
3767 PyErr_SetString(PyExc_NotImplementedError
,
3768 "wx.GraphicsContext is not available on this platform.");
3771 virtual ~wxGraphicsContext() {}
3773 static wxGraphicsContext
* Create() {
3774 PyErr_SetString(PyExc_NotImplementedError
,
3775 "wx.GraphicsContext is not available on this platform.");
3778 static wxGraphicsContext
* Create( const wxWindowDC
& ) {
3779 PyErr_SetString(PyExc_NotImplementedError
,
3780 "wx.GraphicsContext is not available on this platform.");
3784 static wxGraphicsContext
* CreateFromNative( void * ) {
3785 PyErr_SetString(PyExc_NotImplementedError
,
3786 "wx.GraphicsContext is not available on this platform.");
3790 static wxGraphicsContext
* CreateFromNativeWindow( void * ) {
3791 PyErr_SetString(PyExc_NotImplementedError
,
3792 "wx.GraphicsContext is not available on this platform.");
3796 static wxGraphicsContext
* Create( wxWindow
* ) {
3797 PyErr_SetString(PyExc_NotImplementedError
,
3798 "wx.GraphicsContext is not available on this platform.");
3802 wxGraphicsPath
CreatePath() { return wxNullGraphicsPath
; }
3804 virtual wxGraphicsPen
CreatePen(const wxPen
& ) { return wxNullGraphicsPen
; }
3806 virtual wxGraphicsBrush
CreateBrush(const wxBrush
& ) { return wxNullGraphicsBrush
; }
3808 virtual wxGraphicsBrush
CreateLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3809 const wxColour
&, const wxColour
&) { return wxNullGraphicsBrush
; }
3811 virtual wxGraphicsBrush
CreateRadialGradientBrush( wxDouble xo
, wxDouble yo
,
3812 wxDouble xc
, wxDouble yc
, wxDouble radius
,
3813 const wxColour
&oColor
, const wxColour
&cColor
) { return wxNullGraphicsBrush
; }
3815 virtual wxGraphicsFont
CreateFont( const wxFont
&, const wxColour
& ) { return wxNullGraphicsFont
; }
3817 virtual wxGraphicsMatrix
CreateMatrix( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3818 wxDouble
, wxDouble
) { return wxNullGraphicsMatrix
; }
3820 virtual void PushState() {}
3821 virtual void PopState() {}
3822 virtual void Clip( const wxRegion
& ) {}
3823 virtual void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3824 virtual void ResetClip() {}
3825 virtual void * GetNativeContext() { return NULL
; }
3826 virtual int GetLogicalFunction() const { return 0; }
3827 virtual bool SetLogicalFunction(int ) {}
3828 virtual void Translate( wxDouble
, wxDouble
) {}
3829 virtual void Scale( wxDouble
, wxDouble
) {}
3830 virtual void Rotate( wxDouble
) {}
3831 virtual void ConcatTransform( const wxGraphicsMatrix
& ) {}
3832 virtual void SetTransform( const wxGraphicsMatrix
& ) {}
3833 virtual wxGraphicsMatrix
GetTransform() const { return wxNullGraphicsMatrix
; }
3835 virtual void SetPen( const wxGraphicsPen
& ) {}
3836 void SetPen( const wxPen
& ) {}
3838 virtual void SetBrush( const wxGraphicsBrush
& ) {}
3839 void SetBrush( const wxBrush
& ) {}
3841 virtual void SetFont( const wxGraphicsFont
& ) {}
3842 void SetFont( const wxFont
&, const wxColour
& ) {}
3844 virtual void StrokePath( const wxGraphicsPath
& ) {}
3845 virtual void FillPath( const wxGraphicsPath
&, int ) {}
3846 virtual void DrawPath( const wxGraphicsPath
&, int ) {}
3848 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3849 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3850 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3851 virtual void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
, wxGraphicsBrush
) {}
3852 virtual void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3853 wxDouble
*, wxDouble
* ) const {}
3854 virtual void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3856 virtual void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3857 virtual void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3859 virtual void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3860 virtual void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3861 virtual void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3862 virtual void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3863 virtual void DrawRectangle( 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 *) "name",(char *) "shortName",(char *) "locale",(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 *) "domain", 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 *) "domain", 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 *) "origString",(char *) "domain", 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 wxString
*arg2
= 0 ;
16857 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16858 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16859 wxString
*result
= 0 ;
16862 bool temp2
= false ;
16863 bool temp3
= false ;
16864 PyObject
* obj0
= 0 ;
16865 PyObject
* obj1
= 0 ;
16866 PyObject
* obj2
= 0 ;
16867 char * kwnames
[] = {
16868 (char *) "self",(char *) "origString",(char *) "domain", NULL
16871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16873 if (!SWIG_IsOK(res1
)) {
16874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16876 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16878 arg2
= wxString_in_helper(obj1
);
16879 if (arg2
== NULL
) SWIG_fail
;
16884 arg3
= wxString_in_helper(obj2
);
16885 if (arg3
== NULL
) SWIG_fail
;
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetSingularString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16893 result
= (wxString
*) &_result_ref
;
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16900 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16902 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16927 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16928 PyObject
*resultobj
= 0;
16929 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16930 wxString
*arg2
= 0 ;
16931 wxString
*arg3
= 0 ;
16933 wxString
const &arg5_defvalue
= wxPyEmptyString
;
16934 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16935 wxString
*result
= 0 ;
16938 bool temp2
= false ;
16939 bool temp3
= false ;
16942 bool temp5
= false ;
16943 PyObject
* obj0
= 0 ;
16944 PyObject
* obj1
= 0 ;
16945 PyObject
* obj2
= 0 ;
16946 PyObject
* obj3
= 0 ;
16947 PyObject
* obj4
= 0 ;
16948 char * kwnames
[] = {
16949 (char *) "self",(char *) "origString",(char *) "origString2",(char *) "n",(char *) "domain", NULL
16952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16954 if (!SWIG_IsOK(res1
)) {
16955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16957 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16959 arg2
= wxString_in_helper(obj1
);
16960 if (arg2
== NULL
) SWIG_fail
;
16964 arg3
= wxString_in_helper(obj2
);
16965 if (arg3
== NULL
) SWIG_fail
;
16968 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16969 if (!SWIG_IsOK(ecode4
)) {
16970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16972 arg4
= static_cast< size_t >(val4
);
16975 arg5
= wxString_in_helper(obj4
);
16976 if (arg5
== NULL
) SWIG_fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 wxString
const &_result_ref
= ((wxPyLocale
const *)arg1
)->GetPluralString((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
16984 result
= (wxString
*) &_result_ref
;
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16993 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17026 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17029 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17030 return SWIG_Py_Void();
17033 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17034 return SWIG_Python_InitShadowInstance(args
);
17037 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17038 PyObject
*resultobj
= 0;
17039 wxLocale
*result
= 0 ;
17041 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17044 result
= (wxLocale
*)wxGetLocale();
17045 wxPyEndAllowThreads(__tstate
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17055 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17056 PyObject
*resultobj
= 0;
17057 wxString
*arg1
= 0 ;
17059 bool temp1
= false ;
17061 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17063 arg1
= wxString_in_helper(swig_obj
[0]);
17064 if (arg1
== NULL
) SWIG_fail
;
17068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17069 result
= wxGetTranslation((wxString
const &)*arg1
);
17070 wxPyEndAllowThreads(__tstate
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17094 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17095 PyObject
*resultobj
= 0;
17096 wxString
*arg1
= 0 ;
17097 wxString
*arg2
= 0 ;
17099 bool temp1
= false ;
17100 bool temp2
= false ;
17102 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17104 arg1
= wxString_in_helper(swig_obj
[0]);
17105 if (arg1
== NULL
) SWIG_fail
;
17109 arg2
= wxString_in_helper(swig_obj
[1]);
17110 if (arg2
== NULL
) SWIG_fail
;
17114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17115 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17148 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17149 PyObject
*resultobj
= 0;
17150 wxString
*arg1
= 0 ;
17151 wxString
*arg2
= 0 ;
17154 bool temp1
= false ;
17155 bool temp2
= false ;
17159 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17161 arg1
= wxString_in_helper(swig_obj
[0]);
17162 if (arg1
== NULL
) SWIG_fail
;
17166 arg2
= wxString_in_helper(swig_obj
[1]);
17167 if (arg2
== NULL
) SWIG_fail
;
17170 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17171 if (!SWIG_IsOK(ecode3
)) {
17172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17174 arg3
= static_cast< size_t >(val3
);
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17178 wxPyEndAllowThreads(__tstate
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17210 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17211 PyObject
*resultobj
= 0;
17212 wxString
*arg1
= 0 ;
17213 wxString
*arg2
= 0 ;
17215 wxString
*arg4
= 0 ;
17217 bool temp1
= false ;
17218 bool temp2
= false ;
17221 bool temp4
= false ;
17223 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17225 arg1
= wxString_in_helper(swig_obj
[0]);
17226 if (arg1
== NULL
) SWIG_fail
;
17230 arg2
= wxString_in_helper(swig_obj
[1]);
17231 if (arg2
== NULL
) SWIG_fail
;
17234 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17235 if (!SWIG_IsOK(ecode3
)) {
17236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17238 arg3
= static_cast< size_t >(val3
);
17240 arg4
= wxString_in_helper(swig_obj
[3]);
17241 if (arg4
== NULL
) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17287 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17291 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17294 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17297 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17300 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17303 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17307 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17312 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17313 PyObject
*resultobj
= 0;
17314 wxEncodingConverter
*result
= 0 ;
17316 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17319 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17320 wxPyEndAllowThreads(__tstate
);
17321 if (PyErr_Occurred()) SWIG_fail
;
17323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17330 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17331 PyObject
*resultobj
= 0;
17332 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17335 PyObject
*swig_obj
[1] ;
17337 if (!args
) SWIG_fail
;
17338 swig_obj
[0] = args
;
17339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17340 if (!SWIG_IsOK(res1
)) {
17341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17343 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 wxPyEndAllowThreads(__tstate
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17351 resultobj
= SWIG_Py_Void();
17358 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17359 PyObject
*resultobj
= 0;
17360 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17361 wxFontEncoding arg2
;
17362 wxFontEncoding arg3
;
17363 int arg4
= (int) wxCONVERT_STRICT
;
17373 PyObject
* obj0
= 0 ;
17374 PyObject
* obj1
= 0 ;
17375 PyObject
* obj2
= 0 ;
17376 PyObject
* obj3
= 0 ;
17377 char * kwnames
[] = {
17378 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17383 if (!SWIG_IsOK(res1
)) {
17384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17386 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17388 if (!SWIG_IsOK(ecode2
)) {
17389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17391 arg2
= static_cast< wxFontEncoding
>(val2
);
17392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17393 if (!SWIG_IsOK(ecode3
)) {
17394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17396 arg3
= static_cast< wxFontEncoding
>(val3
);
17398 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17399 if (!SWIG_IsOK(ecode4
)) {
17400 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17402 arg4
= static_cast< int >(val4
);
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17419 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17420 PyObject
*resultobj
= 0;
17421 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17422 wxString
*arg2
= 0 ;
17426 bool temp2
= false ;
17427 PyObject
* obj0
= 0 ;
17428 PyObject
* obj1
= 0 ;
17429 char * kwnames
[] = {
17430 (char *) "self",(char *) "input", NULL
17433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17435 if (!SWIG_IsOK(res1
)) {
17436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17438 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17440 arg2
= wxString_in_helper(obj1
);
17441 if (arg2
== NULL
) SWIG_fail
;
17445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17446 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17471 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
= 0;
17473 wxFontEncoding arg1
;
17474 int arg2
= (int) wxPLATFORM_CURRENT
;
17475 wxFontEncodingArray result
;
17480 PyObject
* obj0
= 0 ;
17481 PyObject
* obj1
= 0 ;
17482 char * kwnames
[] = {
17483 (char *) "enc",(char *) "platform", NULL
17486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17487 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17488 if (!SWIG_IsOK(ecode1
)) {
17489 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17491 arg1
= static_cast< wxFontEncoding
>(val1
);
17493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17494 if (!SWIG_IsOK(ecode2
)) {
17495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17497 arg2
= static_cast< int >(val2
);
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17506 resultobj
= PyList_New(0);
17507 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17508 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17509 PyList_Append(resultobj
, number
);
17519 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
= 0;
17521 wxFontEncoding arg1
;
17522 wxFontEncodingArray result
;
17525 PyObject
* obj0
= 0 ;
17526 char * kwnames
[] = {
17527 (char *) "enc", NULL
17530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17531 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17532 if (!SWIG_IsOK(ecode1
)) {
17533 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17535 arg1
= static_cast< wxFontEncoding
>(val1
);
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17539 wxPyEndAllowThreads(__tstate
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17543 resultobj
= PyList_New(0);
17544 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17545 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17546 PyList_Append(resultobj
, number
);
17556 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17557 PyObject
*resultobj
= 0;
17558 wxFontEncoding arg1
;
17559 wxFontEncoding arg2
;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 char * kwnames
[] = {
17568 (char *) "encIn",(char *) "encOut", NULL
17571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17572 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17573 if (!SWIG_IsOK(ecode1
)) {
17574 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17576 arg1
= static_cast< wxFontEncoding
>(val1
);
17577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17578 if (!SWIG_IsOK(ecode2
)) {
17579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17581 arg2
= static_cast< wxFontEncoding
>(val2
);
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17597 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17599 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17600 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17601 return SWIG_Py_Void();
17604 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17605 return SWIG_Python_InitShadowInstance(args
);
17608 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17609 PyObject
*resultobj
= 0;
17610 wxDC
*arg1
= (wxDC
*) 0 ;
17613 PyObject
*swig_obj
[1] ;
17615 if (!args
) SWIG_fail
;
17616 swig_obj
[0] = args
;
17617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17618 if (!SWIG_IsOK(res1
)) {
17619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17621 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 wxPyEndAllowThreads(__tstate
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17629 resultobj
= SWIG_Py_Void();
17636 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17637 PyObject
*resultobj
= 0;
17638 wxDC
*arg1
= (wxDC
*) 0 ;
17641 wxColour
*arg4
= 0 ;
17642 int arg5
= (int) wxFLOOD_SURFACE
;
17653 PyObject
* obj0
= 0 ;
17654 PyObject
* obj1
= 0 ;
17655 PyObject
* obj2
= 0 ;
17656 PyObject
* obj3
= 0 ;
17657 PyObject
* obj4
= 0 ;
17658 char * kwnames
[] = {
17659 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17664 if (!SWIG_IsOK(res1
)) {
17665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17667 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17669 if (!SWIG_IsOK(ecode2
)) {
17670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17672 arg2
= static_cast< int >(val2
);
17673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17674 if (!SWIG_IsOK(ecode3
)) {
17675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17677 arg3
= static_cast< int >(val3
);
17680 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17683 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17684 if (!SWIG_IsOK(ecode5
)) {
17685 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17687 arg5
= static_cast< int >(val5
);
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17692 wxPyEndAllowThreads(__tstate
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17704 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
= 0;
17706 wxDC
*arg1
= (wxDC
*) 0 ;
17707 wxPoint
*arg2
= 0 ;
17708 wxColour
*arg3
= 0 ;
17709 int arg4
= (int) wxFLOOD_SURFACE
;
17717 PyObject
* obj0
= 0 ;
17718 PyObject
* obj1
= 0 ;
17719 PyObject
* obj2
= 0 ;
17720 PyObject
* obj3
= 0 ;
17721 char * kwnames
[] = {
17722 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17727 if (!SWIG_IsOK(res1
)) {
17728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17730 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17733 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17737 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17740 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17741 if (!SWIG_IsOK(ecode4
)) {
17742 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17744 arg4
= static_cast< int >(val4
);
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17749 wxPyEndAllowThreads(__tstate
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17761 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
= 0;
17763 wxDC
*arg1
= (wxDC
*) 0 ;
17765 wxColour
*arg3
= 0 ;
17766 wxColour
*arg4
= 0 ;
17767 wxPoint
*arg5
= 0 ;
17774 PyObject
* obj0
= 0 ;
17775 PyObject
* obj1
= 0 ;
17776 PyObject
* obj2
= 0 ;
17777 PyObject
* obj3
= 0 ;
17778 PyObject
* obj4
= 0 ;
17779 char * kwnames
[] = {
17780 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17785 if (!SWIG_IsOK(res1
)) {
17786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17788 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17791 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17795 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17799 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17803 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= SWIG_Py_Void();
17818 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
= 0;
17820 wxDC
*arg1
= (wxDC
*) 0 ;
17822 wxColour
*arg3
= 0 ;
17823 wxColour
*arg4
= 0 ;
17824 wxDirection arg5
= (wxDirection
) wxEAST
;
17832 PyObject
* obj0
= 0 ;
17833 PyObject
* obj1
= 0 ;
17834 PyObject
* obj2
= 0 ;
17835 PyObject
* obj3
= 0 ;
17836 PyObject
* obj4
= 0 ;
17837 char * kwnames
[] = {
17838 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17843 if (!SWIG_IsOK(res1
)) {
17844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17849 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17853 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17857 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17860 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17861 if (!SWIG_IsOK(ecode5
)) {
17862 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17864 arg5
= static_cast< wxDirection
>(val5
);
17867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17868 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17869 wxPyEndAllowThreads(__tstate
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17872 resultobj
= SWIG_Py_Void();
17879 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17880 PyObject
*resultobj
= 0;
17881 wxDC
*arg1
= (wxDC
*) 0 ;
17891 PyObject
* obj0
= 0 ;
17892 PyObject
* obj1
= 0 ;
17893 PyObject
* obj2
= 0 ;
17894 char * kwnames
[] = {
17895 (char *) "self",(char *) "x",(char *) "y", NULL
17898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17900 if (!SWIG_IsOK(res1
)) {
17901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17905 if (!SWIG_IsOK(ecode2
)) {
17906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17908 arg2
= static_cast< int >(val2
);
17909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17910 if (!SWIG_IsOK(ecode3
)) {
17911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17913 arg3
= static_cast< int >(val3
);
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17927 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17928 PyObject
*resultobj
= 0;
17929 wxDC
*arg1
= (wxDC
*) 0 ;
17930 wxPoint
*arg2
= 0 ;
17935 PyObject
* obj0
= 0 ;
17936 PyObject
* obj1
= 0 ;
17937 char * kwnames
[] = {
17938 (char *) "self",(char *) "pt", NULL
17941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17943 if (!SWIG_IsOK(res1
)) {
17944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17946 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17949 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17957 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17964 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
= 0;
17966 wxDC
*arg1
= (wxDC
*) 0 ;
17981 PyObject
* obj0
= 0 ;
17982 PyObject
* obj1
= 0 ;
17983 PyObject
* obj2
= 0 ;
17984 PyObject
* obj3
= 0 ;
17985 PyObject
* obj4
= 0 ;
17986 char * kwnames
[] = {
17987 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17995 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17997 if (!SWIG_IsOK(ecode2
)) {
17998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18000 arg2
= static_cast< int >(val2
);
18001 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18002 if (!SWIG_IsOK(ecode3
)) {
18003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18005 arg3
= static_cast< int >(val3
);
18006 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18007 if (!SWIG_IsOK(ecode4
)) {
18008 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18010 arg4
= static_cast< int >(val4
);
18011 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18012 if (!SWIG_IsOK(ecode5
)) {
18013 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18015 arg5
= static_cast< int >(val5
);
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 resultobj
= SWIG_Py_Void();
18029 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18030 PyObject
*resultobj
= 0;
18031 wxDC
*arg1
= (wxDC
*) 0 ;
18032 wxPoint
*arg2
= 0 ;
18033 wxPoint
*arg3
= 0 ;
18038 PyObject
* obj0
= 0 ;
18039 PyObject
* obj1
= 0 ;
18040 PyObject
* obj2
= 0 ;
18041 char * kwnames
[] = {
18042 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18047 if (!SWIG_IsOK(res1
)) {
18048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18050 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18057 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18061 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18062 wxPyEndAllowThreads(__tstate
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18065 resultobj
= SWIG_Py_Void();
18072 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18073 PyObject
*resultobj
= 0;
18074 wxDC
*arg1
= (wxDC
*) 0 ;
18083 PyObject
* obj0
= 0 ;
18084 PyObject
* obj1
= 0 ;
18085 PyObject
* obj2
= 0 ;
18086 char * kwnames
[] = {
18087 (char *) "self",(char *) "x",(char *) "y", NULL
18090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18092 if (!SWIG_IsOK(res1
)) {
18093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18095 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18097 if (!SWIG_IsOK(ecode2
)) {
18098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18100 arg2
= static_cast< int >(val2
);
18101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18102 if (!SWIG_IsOK(ecode3
)) {
18103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18105 arg3
= static_cast< int >(val3
);
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 (arg1
)->CrossHair(arg2
,arg3
);
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 resultobj
= SWIG_Py_Void();
18119 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
= 0;
18121 wxDC
*arg1
= (wxDC
*) 0 ;
18122 wxPoint
*arg2
= 0 ;
18126 PyObject
* obj0
= 0 ;
18127 PyObject
* obj1
= 0 ;
18128 char * kwnames
[] = {
18129 (char *) "self",(char *) "pt", NULL
18132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18134 if (!SWIG_IsOK(res1
)) {
18135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18140 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 resultobj
= SWIG_Py_Void();
18155 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
= 0;
18157 wxDC
*arg1
= (wxDC
*) 0 ;
18178 PyObject
* obj0
= 0 ;
18179 PyObject
* obj1
= 0 ;
18180 PyObject
* obj2
= 0 ;
18181 PyObject
* obj3
= 0 ;
18182 PyObject
* obj4
= 0 ;
18183 PyObject
* obj5
= 0 ;
18184 PyObject
* obj6
= 0 ;
18185 char * kwnames
[] = {
18186 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18191 if (!SWIG_IsOK(res1
)) {
18192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18194 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18196 if (!SWIG_IsOK(ecode2
)) {
18197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18199 arg2
= static_cast< int >(val2
);
18200 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18201 if (!SWIG_IsOK(ecode3
)) {
18202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18204 arg3
= static_cast< int >(val3
);
18205 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18206 if (!SWIG_IsOK(ecode4
)) {
18207 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18209 arg4
= static_cast< int >(val4
);
18210 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18211 if (!SWIG_IsOK(ecode5
)) {
18212 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18214 arg5
= static_cast< int >(val5
);
18215 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18216 if (!SWIG_IsOK(ecode6
)) {
18217 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18219 arg6
= static_cast< int >(val6
);
18220 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18221 if (!SWIG_IsOK(ecode7
)) {
18222 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18224 arg7
= static_cast< int >(val7
);
18226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18227 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 resultobj
= SWIG_Py_Void();
18238 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18239 PyObject
*resultobj
= 0;
18240 wxDC
*arg1
= (wxDC
*) 0 ;
18241 wxPoint
*arg2
= 0 ;
18242 wxPoint
*arg3
= 0 ;
18243 wxPoint
*arg4
= 0 ;
18249 PyObject
* obj0
= 0 ;
18250 PyObject
* obj1
= 0 ;
18251 PyObject
* obj2
= 0 ;
18252 PyObject
* obj3
= 0 ;
18253 char * kwnames
[] = {
18254 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18259 if (!SWIG_IsOK(res1
)) {
18260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18262 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18265 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18269 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18273 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18281 resultobj
= SWIG_Py_Void();
18288 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18289 PyObject
*resultobj
= 0;
18290 wxDC
*arg1
= (wxDC
*) 0 ;
18305 PyObject
* obj0
= 0 ;
18306 PyObject
* obj1
= 0 ;
18307 PyObject
* obj2
= 0 ;
18308 PyObject
* obj3
= 0 ;
18309 PyObject
* obj4
= 0 ;
18310 char * kwnames
[] = {
18311 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18316 if (!SWIG_IsOK(res1
)) {
18317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18319 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18321 if (!SWIG_IsOK(ecode2
)) {
18322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18324 arg2
= static_cast< int >(val2
);
18325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18326 if (!SWIG_IsOK(ecode3
)) {
18327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18329 arg3
= static_cast< int >(val3
);
18330 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18331 if (!SWIG_IsOK(ecode4
)) {
18332 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18334 arg4
= static_cast< int >(val4
);
18335 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18336 if (!SWIG_IsOK(ecode5
)) {
18337 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18339 arg5
= static_cast< int >(val5
);
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18342 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 resultobj
= SWIG_Py_Void();
18353 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
= 0;
18355 wxDC
*arg1
= (wxDC
*) 0 ;
18360 PyObject
* obj0
= 0 ;
18361 PyObject
* obj1
= 0 ;
18362 char * kwnames
[] = {
18363 (char *) "self",(char *) "rect", NULL
18366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18368 if (!SWIG_IsOK(res1
)) {
18369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18374 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18382 resultobj
= SWIG_Py_Void();
18389 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
= 0;
18391 wxDC
*arg1
= (wxDC
*) 0 ;
18412 PyObject
* obj0
= 0 ;
18413 PyObject
* obj1
= 0 ;
18414 PyObject
* obj2
= 0 ;
18415 PyObject
* obj3
= 0 ;
18416 PyObject
* obj4
= 0 ;
18417 PyObject
* obj5
= 0 ;
18418 PyObject
* obj6
= 0 ;
18419 char * kwnames
[] = {
18420 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18425 if (!SWIG_IsOK(res1
)) {
18426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18428 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18430 if (!SWIG_IsOK(ecode2
)) {
18431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18433 arg2
= static_cast< int >(val2
);
18434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18435 if (!SWIG_IsOK(ecode3
)) {
18436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18438 arg3
= static_cast< int >(val3
);
18439 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18440 if (!SWIG_IsOK(ecode4
)) {
18441 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18443 arg4
= static_cast< int >(val4
);
18444 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18445 if (!SWIG_IsOK(ecode5
)) {
18446 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18448 arg5
= static_cast< int >(val5
);
18449 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18450 if (!SWIG_IsOK(ecode6
)) {
18451 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18453 arg6
= static_cast< double >(val6
);
18454 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18455 if (!SWIG_IsOK(ecode7
)) {
18456 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18458 arg7
= static_cast< double >(val7
);
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18465 resultobj
= SWIG_Py_Void();
18472 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18473 PyObject
*resultobj
= 0;
18474 wxDC
*arg1
= (wxDC
*) 0 ;
18475 wxPoint
*arg2
= 0 ;
18487 PyObject
* obj0
= 0 ;
18488 PyObject
* obj1
= 0 ;
18489 PyObject
* obj2
= 0 ;
18490 PyObject
* obj3
= 0 ;
18491 PyObject
* obj4
= 0 ;
18492 char * kwnames
[] = {
18493 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18504 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18508 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18510 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18511 if (!SWIG_IsOK(ecode4
)) {
18512 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18514 arg4
= static_cast< double >(val4
);
18515 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18516 if (!SWIG_IsOK(ecode5
)) {
18517 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18519 arg5
= static_cast< double >(val5
);
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18523 wxPyEndAllowThreads(__tstate
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18526 resultobj
= SWIG_Py_Void();
18533 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
= 0;
18535 wxDC
*arg1
= (wxDC
*) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 PyObject
* obj1
= 0 ;
18546 PyObject
* obj2
= 0 ;
18547 char * kwnames
[] = {
18548 (char *) "self",(char *) "x",(char *) "y", NULL
18551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18553 if (!SWIG_IsOK(res1
)) {
18554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18556 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18558 if (!SWIG_IsOK(ecode2
)) {
18559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18561 arg2
= static_cast< int >(val2
);
18562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18563 if (!SWIG_IsOK(ecode3
)) {
18564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18566 arg3
= static_cast< int >(val3
);
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 (arg1
)->DrawPoint(arg2
,arg3
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= SWIG_Py_Void();
18580 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
= 0;
18582 wxDC
*arg1
= (wxDC
*) 0 ;
18583 wxPoint
*arg2
= 0 ;
18587 PyObject
* obj0
= 0 ;
18588 PyObject
* obj1
= 0 ;
18589 char * kwnames
[] = {
18590 (char *) "self",(char *) "pt", NULL
18593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18595 if (!SWIG_IsOK(res1
)) {
18596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18598 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18601 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 resultobj
= SWIG_Py_Void();
18616 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18617 PyObject
*resultobj
= 0;
18618 wxDC
*arg1
= (wxDC
*) 0 ;
18633 PyObject
* obj0
= 0 ;
18634 PyObject
* obj1
= 0 ;
18635 PyObject
* obj2
= 0 ;
18636 PyObject
* obj3
= 0 ;
18637 PyObject
* obj4
= 0 ;
18638 char * kwnames
[] = {
18639 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18644 if (!SWIG_IsOK(res1
)) {
18645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18647 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18649 if (!SWIG_IsOK(ecode2
)) {
18650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18652 arg2
= static_cast< int >(val2
);
18653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18654 if (!SWIG_IsOK(ecode3
)) {
18655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18657 arg3
= static_cast< int >(val3
);
18658 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18659 if (!SWIG_IsOK(ecode4
)) {
18660 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18662 arg4
= static_cast< int >(val4
);
18663 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18664 if (!SWIG_IsOK(ecode5
)) {
18665 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18667 arg5
= static_cast< int >(val5
);
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18670 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18671 wxPyEndAllowThreads(__tstate
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18674 resultobj
= SWIG_Py_Void();
18681 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
= 0;
18683 wxDC
*arg1
= (wxDC
*) 0 ;
18688 PyObject
* obj0
= 0 ;
18689 PyObject
* obj1
= 0 ;
18690 char * kwnames
[] = {
18691 (char *) "self",(char *) "rect", NULL
18694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18696 if (!SWIG_IsOK(res1
)) {
18697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18699 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18702 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18706 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18710 resultobj
= SWIG_Py_Void();
18717 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
= 0;
18719 wxDC
*arg1
= (wxDC
*) 0 ;
18720 wxPoint
*arg2
= 0 ;
18726 PyObject
* obj0
= 0 ;
18727 PyObject
* obj1
= 0 ;
18728 PyObject
* obj2
= 0 ;
18729 char * kwnames
[] = {
18730 (char *) "self",(char *) "pt",(char *) "sz", NULL
18733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18735 if (!SWIG_IsOK(res1
)) {
18736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18738 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18741 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18745 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18749 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 resultobj
= SWIG_Py_Void();
18760 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18761 PyObject
*resultobj
= 0;
18762 wxDC
*arg1
= (wxDC
*) 0 ;
18780 PyObject
* obj0
= 0 ;
18781 PyObject
* obj1
= 0 ;
18782 PyObject
* obj2
= 0 ;
18783 PyObject
* obj3
= 0 ;
18784 PyObject
* obj4
= 0 ;
18785 PyObject
* obj5
= 0 ;
18786 char * kwnames
[] = {
18787 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18792 if (!SWIG_IsOK(res1
)) {
18793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18795 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18797 if (!SWIG_IsOK(ecode2
)) {
18798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18800 arg2
= static_cast< int >(val2
);
18801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18802 if (!SWIG_IsOK(ecode3
)) {
18803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18805 arg3
= static_cast< int >(val3
);
18806 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18807 if (!SWIG_IsOK(ecode4
)) {
18808 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18810 arg4
= static_cast< int >(val4
);
18811 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18812 if (!SWIG_IsOK(ecode5
)) {
18813 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18815 arg5
= static_cast< int >(val5
);
18816 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18817 if (!SWIG_IsOK(ecode6
)) {
18818 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18820 arg6
= static_cast< double >(val6
);
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18824 wxPyEndAllowThreads(__tstate
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18827 resultobj
= SWIG_Py_Void();
18834 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18835 PyObject
*resultobj
= 0;
18836 wxDC
*arg1
= (wxDC
*) 0 ;
18844 PyObject
* obj0
= 0 ;
18845 PyObject
* obj1
= 0 ;
18846 PyObject
* obj2
= 0 ;
18847 char * kwnames
[] = {
18848 (char *) "self",(char *) "r",(char *) "radius", NULL
18851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18853 if (!SWIG_IsOK(res1
)) {
18854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18856 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18859 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18861 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18862 if (!SWIG_IsOK(ecode3
)) {
18863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18865 arg3
= static_cast< double >(val3
);
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18868 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18869 wxPyEndAllowThreads(__tstate
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18872 resultobj
= SWIG_Py_Void();
18879 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18880 PyObject
*resultobj
= 0;
18881 wxDC
*arg1
= (wxDC
*) 0 ;
18882 wxPoint
*arg2
= 0 ;
18891 PyObject
* obj0
= 0 ;
18892 PyObject
* obj1
= 0 ;
18893 PyObject
* obj2
= 0 ;
18894 PyObject
* obj3
= 0 ;
18895 char * kwnames
[] = {
18896 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18901 if (!SWIG_IsOK(res1
)) {
18902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18904 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18907 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18911 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18913 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18914 if (!SWIG_IsOK(ecode4
)) {
18915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18917 arg4
= static_cast< double >(val4
);
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18924 resultobj
= SWIG_Py_Void();
18931 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
= 0;
18933 wxDC
*arg1
= (wxDC
*) 0 ;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 PyObject
* obj2
= 0 ;
18948 PyObject
* obj3
= 0 ;
18949 char * kwnames
[] = {
18950 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18955 if (!SWIG_IsOK(res1
)) {
18956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18958 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18960 if (!SWIG_IsOK(ecode2
)) {
18961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18963 arg2
= static_cast< int >(val2
);
18964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18965 if (!SWIG_IsOK(ecode3
)) {
18966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18968 arg3
= static_cast< int >(val3
);
18969 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18970 if (!SWIG_IsOK(ecode4
)) {
18971 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18973 arg4
= static_cast< int >(val4
);
18975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18976 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18977 wxPyEndAllowThreads(__tstate
);
18978 if (PyErr_Occurred()) SWIG_fail
;
18980 resultobj
= SWIG_Py_Void();
18987 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
= 0;
18989 wxDC
*arg1
= (wxDC
*) 0 ;
18990 wxPoint
*arg2
= 0 ;
18997 PyObject
* obj0
= 0 ;
18998 PyObject
* obj1
= 0 ;
18999 PyObject
* obj2
= 0 ;
19000 char * kwnames
[] = {
19001 (char *) "self",(char *) "pt",(char *) "radius", NULL
19004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19006 if (!SWIG_IsOK(res1
)) {
19007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19009 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19012 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19015 if (!SWIG_IsOK(ecode3
)) {
19016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19018 arg3
= static_cast< int >(val3
);
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19022 wxPyEndAllowThreads(__tstate
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19025 resultobj
= SWIG_Py_Void();
19032 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
= 0;
19034 wxDC
*arg1
= (wxDC
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 PyObject
* obj1
= 0 ;
19051 PyObject
* obj2
= 0 ;
19052 PyObject
* obj3
= 0 ;
19053 PyObject
* obj4
= 0 ;
19054 char * kwnames
[] = {
19055 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19060 if (!SWIG_IsOK(res1
)) {
19061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19063 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19065 if (!SWIG_IsOK(ecode2
)) {
19066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19068 arg2
= static_cast< int >(val2
);
19069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19070 if (!SWIG_IsOK(ecode3
)) {
19071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19073 arg3
= static_cast< int >(val3
);
19074 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19075 if (!SWIG_IsOK(ecode4
)) {
19076 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19078 arg4
= static_cast< int >(val4
);
19079 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19080 if (!SWIG_IsOK(ecode5
)) {
19081 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19083 arg5
= static_cast< int >(val5
);
19085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19086 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19087 wxPyEndAllowThreads(__tstate
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19090 resultobj
= SWIG_Py_Void();
19097 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
= 0;
19099 wxDC
*arg1
= (wxDC
*) 0 ;
19104 PyObject
* obj0
= 0 ;
19105 PyObject
* obj1
= 0 ;
19106 char * kwnames
[] = {
19107 (char *) "self",(char *) "rect", NULL
19110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19112 if (!SWIG_IsOK(res1
)) {
19113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19115 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19118 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= SWIG_Py_Void();
19133 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
= 0;
19135 wxDC
*arg1
= (wxDC
*) 0 ;
19136 wxPoint
*arg2
= 0 ;
19142 PyObject
* obj0
= 0 ;
19143 PyObject
* obj1
= 0 ;
19144 PyObject
* obj2
= 0 ;
19145 char * kwnames
[] = {
19146 (char *) "self",(char *) "pt",(char *) "sz", NULL
19149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19151 if (!SWIG_IsOK(res1
)) {
19152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19154 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19157 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19161 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 resultobj
= SWIG_Py_Void();
19176 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
= 0;
19178 wxDC
*arg1
= (wxDC
*) 0 ;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 PyObject
* obj2
= 0 ;
19193 PyObject
* obj3
= 0 ;
19194 char * kwnames
[] = {
19195 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19200 if (!SWIG_IsOK(res1
)) {
19201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19203 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19205 if (!SWIG_IsOK(res2
)) {
19206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19211 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19213 if (!SWIG_IsOK(ecode3
)) {
19214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19216 arg3
= static_cast< int >(val3
);
19217 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19218 if (!SWIG_IsOK(ecode4
)) {
19219 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19221 arg4
= static_cast< int >(val4
);
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19224 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19225 wxPyEndAllowThreads(__tstate
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19228 resultobj
= SWIG_Py_Void();
19235 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19236 PyObject
*resultobj
= 0;
19237 wxDC
*arg1
= (wxDC
*) 0 ;
19239 wxPoint
*arg3
= 0 ;
19245 PyObject
* obj0
= 0 ;
19246 PyObject
* obj1
= 0 ;
19247 PyObject
* obj2
= 0 ;
19248 char * kwnames
[] = {
19249 (char *) "self",(char *) "icon",(char *) "pt", NULL
19252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19254 if (!SWIG_IsOK(res1
)) {
19255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19257 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19259 if (!SWIG_IsOK(res2
)) {
19260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19265 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19268 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19273 wxPyEndAllowThreads(__tstate
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19276 resultobj
= SWIG_Py_Void();
19283 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19284 PyObject
*resultobj
= 0;
19285 wxDC
*arg1
= (wxDC
*) 0 ;
19286 wxBitmap
*arg2
= 0 ;
19289 bool arg5
= (bool) false ;
19300 PyObject
* obj0
= 0 ;
19301 PyObject
* obj1
= 0 ;
19302 PyObject
* obj2
= 0 ;
19303 PyObject
* obj3
= 0 ;
19304 PyObject
* obj4
= 0 ;
19305 char * kwnames
[] = {
19306 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19311 if (!SWIG_IsOK(res1
)) {
19312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19314 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19315 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19316 if (!SWIG_IsOK(res2
)) {
19317 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19322 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19324 if (!SWIG_IsOK(ecode3
)) {
19325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19327 arg3
= static_cast< int >(val3
);
19328 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19329 if (!SWIG_IsOK(ecode4
)) {
19330 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19332 arg4
= static_cast< int >(val4
);
19334 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19335 if (!SWIG_IsOK(ecode5
)) {
19336 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19338 arg5
= static_cast< bool >(val5
);
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= SWIG_Py_Void();
19353 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
= 0;
19355 wxDC
*arg1
= (wxDC
*) 0 ;
19356 wxBitmap
*arg2
= 0 ;
19357 wxPoint
*arg3
= 0 ;
19358 bool arg4
= (bool) false ;
19366 PyObject
* obj0
= 0 ;
19367 PyObject
* obj1
= 0 ;
19368 PyObject
* obj2
= 0 ;
19369 PyObject
* obj3
= 0 ;
19370 char * kwnames
[] = {
19371 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19376 if (!SWIG_IsOK(res1
)) {
19377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19379 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19380 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19381 if (!SWIG_IsOK(res2
)) {
19382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19387 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19390 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19393 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19394 if (!SWIG_IsOK(ecode4
)) {
19395 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19397 arg4
= static_cast< bool >(val4
);
19400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19401 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19402 wxPyEndAllowThreads(__tstate
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19405 resultobj
= SWIG_Py_Void();
19412 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19413 PyObject
*resultobj
= 0;
19414 wxDC
*arg1
= (wxDC
*) 0 ;
19415 wxString
*arg2
= 0 ;
19420 bool temp2
= false ;
19425 PyObject
* obj0
= 0 ;
19426 PyObject
* obj1
= 0 ;
19427 PyObject
* obj2
= 0 ;
19428 PyObject
* obj3
= 0 ;
19429 char * kwnames
[] = {
19430 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19435 if (!SWIG_IsOK(res1
)) {
19436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19438 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19440 arg2
= wxString_in_helper(obj1
);
19441 if (arg2
== NULL
) SWIG_fail
;
19444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19445 if (!SWIG_IsOK(ecode3
)) {
19446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19448 arg3
= static_cast< int >(val3
);
19449 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19450 if (!SWIG_IsOK(ecode4
)) {
19451 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19453 arg4
= static_cast< int >(val4
);
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19460 resultobj
= SWIG_Py_Void();
19475 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19476 PyObject
*resultobj
= 0;
19477 wxDC
*arg1
= (wxDC
*) 0 ;
19478 wxString
*arg2
= 0 ;
19479 wxPoint
*arg3
= 0 ;
19482 bool temp2
= false ;
19484 PyObject
* obj0
= 0 ;
19485 PyObject
* obj1
= 0 ;
19486 PyObject
* obj2
= 0 ;
19487 char * kwnames
[] = {
19488 (char *) "self",(char *) "text",(char *) "pt", NULL
19491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19493 if (!SWIG_IsOK(res1
)) {
19494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19496 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19498 arg2
= wxString_in_helper(obj1
);
19499 if (arg2
== NULL
) SWIG_fail
;
19504 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= SWIG_Py_Void();
19527 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19528 PyObject
*resultobj
= 0;
19529 wxDC
*arg1
= (wxDC
*) 0 ;
19530 wxString
*arg2
= 0 ;
19536 bool temp2
= false ;
19543 PyObject
* obj0
= 0 ;
19544 PyObject
* obj1
= 0 ;
19545 PyObject
* obj2
= 0 ;
19546 PyObject
* obj3
= 0 ;
19547 PyObject
* obj4
= 0 ;
19548 char * kwnames
[] = {
19549 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19554 if (!SWIG_IsOK(res1
)) {
19555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19557 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19559 arg2
= wxString_in_helper(obj1
);
19560 if (arg2
== NULL
) SWIG_fail
;
19563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19564 if (!SWIG_IsOK(ecode3
)) {
19565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19567 arg3
= static_cast< int >(val3
);
19568 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19569 if (!SWIG_IsOK(ecode4
)) {
19570 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19572 arg4
= static_cast< int >(val4
);
19573 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19574 if (!SWIG_IsOK(ecode5
)) {
19575 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19577 arg5
= static_cast< double >(val5
);
19579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 resultobj
= SWIG_Py_Void();
19599 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
= 0;
19601 wxDC
*arg1
= (wxDC
*) 0 ;
19602 wxString
*arg2
= 0 ;
19603 wxPoint
*arg3
= 0 ;
19607 bool temp2
= false ;
19611 PyObject
* obj0
= 0 ;
19612 PyObject
* obj1
= 0 ;
19613 PyObject
* obj2
= 0 ;
19614 PyObject
* obj3
= 0 ;
19615 char * kwnames
[] = {
19616 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19621 if (!SWIG_IsOK(res1
)) {
19622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19626 arg2
= wxString_in_helper(obj1
);
19627 if (arg2
== NULL
) SWIG_fail
;
19632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19634 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19635 if (!SWIG_IsOK(ecode4
)) {
19636 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19638 arg4
= static_cast< double >(val4
);
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19645 resultobj
= SWIG_Py_Void();
19660 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
= 0;
19662 wxDC
*arg1
= (wxDC
*) 0 ;
19667 wxDC
*arg6
= (wxDC
*) 0 ;
19670 int arg9
= (int) wxCOPY
;
19671 bool arg10
= (bool) false ;
19672 int arg11
= (int) -1 ;
19673 int arg12
= (int) -1 ;
19699 PyObject
* obj0
= 0 ;
19700 PyObject
* obj1
= 0 ;
19701 PyObject
* obj2
= 0 ;
19702 PyObject
* obj3
= 0 ;
19703 PyObject
* obj4
= 0 ;
19704 PyObject
* obj5
= 0 ;
19705 PyObject
* obj6
= 0 ;
19706 PyObject
* obj7
= 0 ;
19707 PyObject
* obj8
= 0 ;
19708 PyObject
* obj9
= 0 ;
19709 PyObject
* obj10
= 0 ;
19710 PyObject
* obj11
= 0 ;
19711 char * kwnames
[] = {
19712 (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
19715 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
;
19716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19717 if (!SWIG_IsOK(res1
)) {
19718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19720 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19722 if (!SWIG_IsOK(ecode2
)) {
19723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19725 arg2
= static_cast< int >(val2
);
19726 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19727 if (!SWIG_IsOK(ecode3
)) {
19728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19730 arg3
= static_cast< int >(val3
);
19731 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19732 if (!SWIG_IsOK(ecode4
)) {
19733 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19735 arg4
= static_cast< int >(val4
);
19736 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19737 if (!SWIG_IsOK(ecode5
)) {
19738 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19740 arg5
= static_cast< int >(val5
);
19741 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19742 if (!SWIG_IsOK(res6
)) {
19743 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19745 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19746 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19747 if (!SWIG_IsOK(ecode7
)) {
19748 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19750 arg7
= static_cast< int >(val7
);
19751 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19752 if (!SWIG_IsOK(ecode8
)) {
19753 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19755 arg8
= static_cast< int >(val8
);
19757 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19758 if (!SWIG_IsOK(ecode9
)) {
19759 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19761 arg9
= static_cast< int >(val9
);
19764 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19765 if (!SWIG_IsOK(ecode10
)) {
19766 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19768 arg10
= static_cast< bool >(val10
);
19771 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19772 if (!SWIG_IsOK(ecode11
)) {
19773 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19775 arg11
= static_cast< int >(val11
);
19778 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19779 if (!SWIG_IsOK(ecode12
)) {
19780 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19782 arg12
= static_cast< int >(val12
);
19785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19786 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19799 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
= 0;
19801 wxDC
*arg1
= (wxDC
*) 0 ;
19802 wxPoint
*arg2
= 0 ;
19804 wxDC
*arg4
= (wxDC
*) 0 ;
19805 wxPoint
*arg5
= 0 ;
19806 int arg6
= (int) wxCOPY
;
19807 bool arg7
= (bool) false ;
19808 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19809 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19823 PyObject
* obj0
= 0 ;
19824 PyObject
* obj1
= 0 ;
19825 PyObject
* obj2
= 0 ;
19826 PyObject
* obj3
= 0 ;
19827 PyObject
* obj4
= 0 ;
19828 PyObject
* obj5
= 0 ;
19829 PyObject
* obj6
= 0 ;
19830 PyObject
* obj7
= 0 ;
19831 char * kwnames
[] = {
19832 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19837 if (!SWIG_IsOK(res1
)) {
19838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19840 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19847 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19849 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19850 if (!SWIG_IsOK(res4
)) {
19851 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19853 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19856 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19859 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19860 if (!SWIG_IsOK(ecode6
)) {
19861 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19863 arg6
= static_cast< int >(val6
);
19866 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19867 if (!SWIG_IsOK(ecode7
)) {
19868 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19870 arg7
= static_cast< bool >(val7
);
19875 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19880 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19881 wxPyEndAllowThreads(__tstate
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19893 SWIGINTERN PyObject
*_wrap_DC_StretchBlit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
= 0;
19895 wxDC
*arg1
= (wxDC
*) 0 ;
19900 wxDC
*arg6
= (wxDC
*) 0 ;
19905 int arg11
= (int) wxCOPY
;
19906 bool arg12
= (bool) false ;
19907 int arg13
= (int) wxDefaultCoord
;
19908 int arg14
= (int) wxDefaultCoord
;
19938 PyObject
* obj0
= 0 ;
19939 PyObject
* obj1
= 0 ;
19940 PyObject
* obj2
= 0 ;
19941 PyObject
* obj3
= 0 ;
19942 PyObject
* obj4
= 0 ;
19943 PyObject
* obj5
= 0 ;
19944 PyObject
* obj6
= 0 ;
19945 PyObject
* obj7
= 0 ;
19946 PyObject
* obj8
= 0 ;
19947 PyObject
* obj9
= 0 ;
19948 PyObject
* obj10
= 0 ;
19949 PyObject
* obj11
= 0 ;
19950 PyObject
* obj12
= 0 ;
19951 PyObject
* obj13
= 0 ;
19952 char * kwnames
[] = {
19953 (char *) "self",(char *) "dstX",(char *) "dstY",(char *) "dstWidth",(char *) "dstHeight",(char *) "source",(char *) "srcX",(char *) "srcY",(char *) "srcWidth",(char *) "srcHeight",(char *) "rop",(char *) "useMask",(char *) "srcMaskX",(char *) "srcMaskY", NULL
19956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOOOO|OOOO:DC_StretchBlit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
,&obj12
,&obj13
)) SWIG_fail
;
19957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19958 if (!SWIG_IsOK(res1
)) {
19959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlit" "', expected argument " "1"" of type '" "wxDC *""'");
19961 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19963 if (!SWIG_IsOK(ecode2
)) {
19964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_StretchBlit" "', expected argument " "2"" of type '" "int""'");
19966 arg2
= static_cast< int >(val2
);
19967 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19968 if (!SWIG_IsOK(ecode3
)) {
19969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_StretchBlit" "', expected argument " "3"" of type '" "int""'");
19971 arg3
= static_cast< int >(val3
);
19972 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19973 if (!SWIG_IsOK(ecode4
)) {
19974 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_StretchBlit" "', expected argument " "4"" of type '" "int""'");
19976 arg4
= static_cast< int >(val4
);
19977 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19978 if (!SWIG_IsOK(ecode5
)) {
19979 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_StretchBlit" "', expected argument " "5"" of type '" "int""'");
19981 arg5
= static_cast< int >(val5
);
19982 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19983 if (!SWIG_IsOK(res6
)) {
19984 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_StretchBlit" "', expected argument " "6"" of type '" "wxDC *""'");
19986 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19987 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19988 if (!SWIG_IsOK(ecode7
)) {
19989 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlit" "', expected argument " "7"" of type '" "int""'");
19991 arg7
= static_cast< int >(val7
);
19992 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19993 if (!SWIG_IsOK(ecode8
)) {
19994 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlit" "', expected argument " "8"" of type '" "int""'");
19996 arg8
= static_cast< int >(val8
);
19997 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19998 if (!SWIG_IsOK(ecode9
)) {
19999 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_StretchBlit" "', expected argument " "9"" of type '" "int""'");
20001 arg9
= static_cast< int >(val9
);
20002 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
20003 if (!SWIG_IsOK(ecode10
)) {
20004 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_StretchBlit" "', expected argument " "10"" of type '" "int""'");
20006 arg10
= static_cast< int >(val10
);
20008 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
20009 if (!SWIG_IsOK(ecode11
)) {
20010 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_StretchBlit" "', expected argument " "11"" of type '" "int""'");
20012 arg11
= static_cast< int >(val11
);
20015 ecode12
= SWIG_AsVal_bool(obj11
, &val12
);
20016 if (!SWIG_IsOK(ecode12
)) {
20017 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_StretchBlit" "', expected argument " "12"" of type '" "bool""'");
20019 arg12
= static_cast< bool >(val12
);
20022 ecode13
= SWIG_AsVal_int(obj12
, &val13
);
20023 if (!SWIG_IsOK(ecode13
)) {
20024 SWIG_exception_fail(SWIG_ArgError(ecode13
), "in method '" "DC_StretchBlit" "', expected argument " "13"" of type '" "int""'");
20026 arg13
= static_cast< int >(val13
);
20029 ecode14
= SWIG_AsVal_int(obj13
, &val14
);
20030 if (!SWIG_IsOK(ecode14
)) {
20031 SWIG_exception_fail(SWIG_ArgError(ecode14
), "in method '" "DC_StretchBlit" "', expected argument " "14"" of type '" "int""'");
20033 arg14
= static_cast< int >(val14
);
20036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20037 result
= (bool)(arg1
)->StretchBlit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
,arg13
,arg14
);
20038 wxPyEndAllowThreads(__tstate
);
20039 if (PyErr_Occurred()) SWIG_fail
;
20042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20050 SWIGINTERN PyObject
*_wrap_DC_StretchBlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
= 0;
20052 wxDC
*arg1
= (wxDC
*) 0 ;
20053 wxPoint
*arg2
= 0 ;
20055 wxDC
*arg4
= (wxDC
*) 0 ;
20056 wxPoint
*arg5
= 0 ;
20058 int arg7
= (int) wxCOPY
;
20059 bool arg8
= (bool) false ;
20060 wxPoint
const &arg9_defvalue
= wxDefaultPosition
;
20061 wxPoint
*arg9
= (wxPoint
*) &arg9_defvalue
;
20076 PyObject
* obj0
= 0 ;
20077 PyObject
* obj1
= 0 ;
20078 PyObject
* obj2
= 0 ;
20079 PyObject
* obj3
= 0 ;
20080 PyObject
* obj4
= 0 ;
20081 PyObject
* obj5
= 0 ;
20082 PyObject
* obj6
= 0 ;
20083 PyObject
* obj7
= 0 ;
20084 PyObject
* obj8
= 0 ;
20085 char * kwnames
[] = {
20086 (char *) "self",(char *) "dstPt",(char *) "dstSize",(char *) "source",(char *) "srcPt",(char *) "srcSize",(char *) "rop",(char *) "useMask",(char *) "srcMaskPt", NULL
20089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOO:DC_StretchBlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
20090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20091 if (!SWIG_IsOK(res1
)) {
20092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20094 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20097 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20101 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20103 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
20104 if (!SWIG_IsOK(res4
)) {
20105 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
20107 arg4
= reinterpret_cast< wxDC
* >(argp4
);
20110 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20114 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20117 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
20118 if (!SWIG_IsOK(ecode7
)) {
20119 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "7"" of type '" "int""'");
20121 arg7
= static_cast< int >(val7
);
20124 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
20125 if (!SWIG_IsOK(ecode8
)) {
20126 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_StretchBlitPointSize" "', expected argument " "8"" of type '" "bool""'");
20128 arg8
= static_cast< bool >(val8
);
20133 if ( ! wxPoint_helper(obj8
, &arg9
)) SWIG_fail
;
20137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 result
= (bool)(arg1
)->StretchBlit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,(wxPoint
const &)*arg9
);
20139 wxPyEndAllowThreads(__tstate
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20151 SWIGINTERN PyObject
*_wrap_DC_GetAsBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20152 PyObject
*resultobj
= 0;
20153 wxDC
*arg1
= (wxDC
*) 0 ;
20154 wxRect
*arg2
= (wxRect
*) NULL
;
20155 SwigValueWrapper
<wxBitmap
> result
;
20160 PyObject
* obj0
= 0 ;
20161 PyObject
* obj1
= 0 ;
20162 char * kwnames
[] = {
20163 (char *) "self",(char *) "subrect", NULL
20166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DC_GetAsBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20168 if (!SWIG_IsOK(res1
)) {
20169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetAsBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
20171 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20173 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
20174 if (!SWIG_IsOK(res2
)) {
20175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_GetAsBitmap" "', expected argument " "2"" of type '" "wxRect const *""'");
20177 arg2
= reinterpret_cast< wxRect
* >(argp2
);
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 result
= ((wxDC
const *)arg1
)->GetAsBitmap((wxRect
const *)arg2
);
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20192 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
= 0;
20194 wxDC
*arg1
= (wxDC
*) 0 ;
20209 PyObject
* obj0
= 0 ;
20210 PyObject
* obj1
= 0 ;
20211 PyObject
* obj2
= 0 ;
20212 PyObject
* obj3
= 0 ;
20213 PyObject
* obj4
= 0 ;
20214 char * kwnames
[] = {
20215 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20220 if (!SWIG_IsOK(res1
)) {
20221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20223 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20225 if (!SWIG_IsOK(ecode2
)) {
20226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
20228 arg2
= static_cast< int >(val2
);
20229 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20230 if (!SWIG_IsOK(ecode3
)) {
20231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
20233 arg3
= static_cast< int >(val3
);
20234 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20235 if (!SWIG_IsOK(ecode4
)) {
20236 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
20238 arg4
= static_cast< int >(val4
);
20239 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20240 if (!SWIG_IsOK(ecode5
)) {
20241 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
20243 arg5
= static_cast< int >(val5
);
20245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20246 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
20247 wxPyEndAllowThreads(__tstate
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20250 resultobj
= SWIG_Py_Void();
20257 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20258 PyObject
*resultobj
= 0;
20259 wxDC
*arg1
= (wxDC
*) 0 ;
20260 wxPoint
*arg2
= 0 ;
20266 PyObject
* obj0
= 0 ;
20267 PyObject
* obj1
= 0 ;
20268 PyObject
* obj2
= 0 ;
20269 char * kwnames
[] = {
20270 (char *) "self",(char *) "pt",(char *) "sz", NULL
20273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20275 if (!SWIG_IsOK(res1
)) {
20276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20278 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20281 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20285 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20289 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20293 resultobj
= SWIG_Py_Void();
20300 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20301 PyObject
*resultobj
= 0;
20302 wxDC
*arg1
= (wxDC
*) 0 ;
20303 wxRegion
*arg2
= 0 ;
20308 PyObject
* obj0
= 0 ;
20309 PyObject
* obj1
= 0 ;
20310 char * kwnames
[] = {
20311 (char *) "self",(char *) "region", NULL
20314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20316 if (!SWIG_IsOK(res1
)) {
20317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20319 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20320 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20321 if (!SWIG_IsOK(res2
)) {
20322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20327 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20334 resultobj
= SWIG_Py_Void();
20341 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
= 0;
20343 wxDC
*arg1
= (wxDC
*) 0 ;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20350 char * kwnames
[] = {
20351 (char *) "self",(char *) "rect", NULL
20354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20356 if (!SWIG_IsOK(res1
)) {
20357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20359 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20362 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20370 resultobj
= SWIG_Py_Void();
20377 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
= 0;
20379 wxDC
*arg1
= (wxDC
*) 0 ;
20381 wxPoint
*arg3
= (wxPoint
*) 0 ;
20382 int arg4
= (int) 0 ;
20383 int arg5
= (int) 0 ;
20390 PyObject
* obj0
= 0 ;
20391 PyObject
* obj1
= 0 ;
20392 PyObject
* obj2
= 0 ;
20393 PyObject
* obj3
= 0 ;
20394 char * kwnames
[] = {
20395 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20400 if (!SWIG_IsOK(res1
)) {
20401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20403 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20405 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20406 if (arg3
== NULL
) SWIG_fail
;
20409 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20410 if (!SWIG_IsOK(ecode4
)) {
20411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20413 arg4
= static_cast< int >(val4
);
20416 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20417 if (!SWIG_IsOK(ecode5
)) {
20418 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20420 arg5
= static_cast< int >(val5
);
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= SWIG_Py_Void();
20430 if (arg3
) delete [] arg3
;
20435 if (arg3
) delete [] arg3
;
20441 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
= 0;
20443 wxDC
*arg1
= (wxDC
*) 0 ;
20445 wxPoint
*arg3
= (wxPoint
*) 0 ;
20446 int arg4
= (int) 0 ;
20447 int arg5
= (int) 0 ;
20448 int arg6
= (int) wxODDEVEN_RULE
;
20457 PyObject
* obj0
= 0 ;
20458 PyObject
* obj1
= 0 ;
20459 PyObject
* obj2
= 0 ;
20460 PyObject
* obj3
= 0 ;
20461 PyObject
* obj4
= 0 ;
20462 char * kwnames
[] = {
20463 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20468 if (!SWIG_IsOK(res1
)) {
20469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20471 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20473 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20474 if (arg3
== NULL
) SWIG_fail
;
20477 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20478 if (!SWIG_IsOK(ecode4
)) {
20479 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20481 arg4
= static_cast< int >(val4
);
20484 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20485 if (!SWIG_IsOK(ecode5
)) {
20486 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20488 arg5
= static_cast< int >(val5
);
20491 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20492 if (!SWIG_IsOK(ecode6
)) {
20493 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20495 arg6
= static_cast< int >(val6
);
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 resultobj
= SWIG_Py_Void();
20505 if (arg3
) delete [] arg3
;
20510 if (arg3
) delete [] arg3
;
20516 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
= 0;
20518 wxDC
*arg1
= (wxDC
*) 0 ;
20519 wxString
*arg2
= 0 ;
20521 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20522 int arg5
= (int) -1 ;
20525 bool temp2
= false ;
20531 PyObject
* obj0
= 0 ;
20532 PyObject
* obj1
= 0 ;
20533 PyObject
* obj2
= 0 ;
20534 PyObject
* obj3
= 0 ;
20535 PyObject
* obj4
= 0 ;
20536 char * kwnames
[] = {
20537 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20542 if (!SWIG_IsOK(res1
)) {
20543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20545 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20547 arg2
= wxString_in_helper(obj1
);
20548 if (arg2
== NULL
) SWIG_fail
;
20553 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20556 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20557 if (!SWIG_IsOK(ecode4
)) {
20558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20560 arg4
= static_cast< int >(val4
);
20563 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20564 if (!SWIG_IsOK(ecode5
)) {
20565 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20567 arg5
= static_cast< int >(val5
);
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= SWIG_Py_Void();
20590 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
= 0;
20592 wxDC
*arg1
= (wxDC
*) 0 ;
20593 wxString
*arg2
= 0 ;
20594 wxBitmap
*arg3
= 0 ;
20596 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20597 int arg6
= (int) -1 ;
20601 bool temp2
= false ;
20609 PyObject
* obj0
= 0 ;
20610 PyObject
* obj1
= 0 ;
20611 PyObject
* obj2
= 0 ;
20612 PyObject
* obj3
= 0 ;
20613 PyObject
* obj4
= 0 ;
20614 PyObject
* obj5
= 0 ;
20615 char * kwnames
[] = {
20616 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20621 if (!SWIG_IsOK(res1
)) {
20622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20626 arg2
= wxString_in_helper(obj1
);
20627 if (arg2
== NULL
) SWIG_fail
;
20630 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20631 if (!SWIG_IsOK(res3
)) {
20632 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20637 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20640 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20643 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20644 if (!SWIG_IsOK(ecode5
)) {
20645 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20647 arg5
= static_cast< int >(val5
);
20650 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20651 if (!SWIG_IsOK(ecode6
)) {
20652 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20654 arg6
= static_cast< int >(val6
);
20657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20658 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20662 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20677 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
= 0;
20679 wxDC
*arg1
= (wxDC
*) 0 ;
20681 wxPoint
*arg3
= (wxPoint
*) 0 ;
20684 PyObject
* obj0
= 0 ;
20685 PyObject
* obj1
= 0 ;
20686 char * kwnames
[] = {
20687 (char *) "self",(char *) "points", NULL
20690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20692 if (!SWIG_IsOK(res1
)) {
20693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20697 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20698 if (arg3
== NULL
) SWIG_fail
;
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 (arg1
)->DrawSpline(arg2
,arg3
);
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= SWIG_Py_Void();
20708 if (arg3
) delete [] arg3
;
20713 if (arg3
) delete [] arg3
;
20719 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20720 PyObject
*resultobj
= 0;
20721 wxDC
*arg1
= (wxDC
*) 0 ;
20724 PyObject
*swig_obj
[1] ;
20726 if (!args
) SWIG_fail
;
20727 swig_obj
[0] = args
;
20728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20729 if (!SWIG_IsOK(res1
)) {
20730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20732 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20739 resultobj
= SWIG_Py_Void();
20746 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20747 PyObject
*resultobj
= 0;
20748 wxDC
*arg1
= (wxDC
*) 0 ;
20749 wxString
*arg2
= 0 ;
20753 bool temp2
= false ;
20754 PyObject
* obj0
= 0 ;
20755 PyObject
* obj1
= 0 ;
20756 char * kwnames
[] = {
20757 (char *) "self",(char *) "message", NULL
20760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20762 if (!SWIG_IsOK(res1
)) {
20763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20765 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20767 arg2
= wxString_in_helper(obj1
);
20768 if (arg2
== NULL
) SWIG_fail
;
20772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20773 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20794 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20795 PyObject
*resultobj
= 0;
20796 wxDC
*arg1
= (wxDC
*) 0 ;
20799 PyObject
*swig_obj
[1] ;
20801 if (!args
) SWIG_fail
;
20802 swig_obj
[0] = args
;
20803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20804 if (!SWIG_IsOK(res1
)) {
20805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20807 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20811 wxPyEndAllowThreads(__tstate
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20814 resultobj
= SWIG_Py_Void();
20821 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20822 PyObject
*resultobj
= 0;
20823 wxDC
*arg1
= (wxDC
*) 0 ;
20826 PyObject
*swig_obj
[1] ;
20828 if (!args
) SWIG_fail
;
20829 swig_obj
[0] = args
;
20830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20831 if (!SWIG_IsOK(res1
)) {
20832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20834 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 (arg1
)->StartPage();
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20841 resultobj
= SWIG_Py_Void();
20848 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20849 PyObject
*resultobj
= 0;
20850 wxDC
*arg1
= (wxDC
*) 0 ;
20853 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_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20861 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 resultobj
= SWIG_Py_Void();
20875 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
= 0;
20877 wxDC
*arg1
= (wxDC
*) 0 ;
20883 PyObject
* obj0
= 0 ;
20884 PyObject
* obj1
= 0 ;
20885 char * kwnames
[] = {
20886 (char *) "self",(char *) "font", NULL
20889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20891 if (!SWIG_IsOK(res1
)) {
20892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20894 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20896 if (!SWIG_IsOK(res2
)) {
20897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20902 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 (arg1
)->SetFont((wxFont
const &)*arg2
);
20906 wxPyEndAllowThreads(__tstate
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20909 resultobj
= SWIG_Py_Void();
20916 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20917 PyObject
*resultobj
= 0;
20918 wxDC
*arg1
= (wxDC
*) 0 ;
20924 PyObject
* obj0
= 0 ;
20925 PyObject
* obj1
= 0 ;
20926 char * kwnames
[] = {
20927 (char *) "self",(char *) "pen", NULL
20930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20932 if (!SWIG_IsOK(res1
)) {
20933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20935 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20936 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20937 if (!SWIG_IsOK(res2
)) {
20938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20941 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20943 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20946 (arg1
)->SetPen((wxPen
const &)*arg2
);
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20950 resultobj
= SWIG_Py_Void();
20957 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20958 PyObject
*resultobj
= 0;
20959 wxDC
*arg1
= (wxDC
*) 0 ;
20960 wxBrush
*arg2
= 0 ;
20965 PyObject
* obj0
= 0 ;
20966 PyObject
* obj1
= 0 ;
20967 char * kwnames
[] = {
20968 (char *) "self",(char *) "brush", NULL
20971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20973 if (!SWIG_IsOK(res1
)) {
20974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20976 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20977 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20978 if (!SWIG_IsOK(res2
)) {
20979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20984 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20987 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20991 resultobj
= SWIG_Py_Void();
20998 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
= 0;
21000 wxDC
*arg1
= (wxDC
*) 0 ;
21001 wxBrush
*arg2
= 0 ;
21006 PyObject
* obj0
= 0 ;
21007 PyObject
* obj1
= 0 ;
21008 char * kwnames
[] = {
21009 (char *) "self",(char *) "brush", NULL
21012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21014 if (!SWIG_IsOK(res1
)) {
21015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21017 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21018 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
21019 if (!SWIG_IsOK(res2
)) {
21020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
21025 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 resultobj
= SWIG_Py_Void();
21039 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
= 0;
21041 wxDC
*arg1
= (wxDC
*) 0 ;
21047 PyObject
* obj0
= 0 ;
21048 PyObject
* obj1
= 0 ;
21049 char * kwnames
[] = {
21050 (char *) "self",(char *) "mode", NULL
21053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21055 if (!SWIG_IsOK(res1
)) {
21056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
21058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21060 if (!SWIG_IsOK(ecode2
)) {
21061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
21063 arg2
= static_cast< int >(val2
);
21065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21066 (arg1
)->SetBackgroundMode(arg2
);
21067 wxPyEndAllowThreads(__tstate
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21070 resultobj
= SWIG_Py_Void();
21077 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21078 PyObject
*resultobj
= 0;
21079 wxDC
*arg1
= (wxDC
*) 0 ;
21080 wxPalette
*arg2
= 0 ;
21085 PyObject
* obj0
= 0 ;
21086 PyObject
* obj1
= 0 ;
21087 char * kwnames
[] = {
21088 (char *) "self",(char *) "palette", NULL
21091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21093 if (!SWIG_IsOK(res1
)) {
21094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
21096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21097 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
21098 if (!SWIG_IsOK(res2
)) {
21099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21102 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
21104 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= SWIG_Py_Void();
21118 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21119 PyObject
*resultobj
= 0;
21120 wxDC
*arg1
= (wxDC
*) 0 ;
21123 PyObject
*swig_obj
[1] ;
21125 if (!args
) SWIG_fail
;
21126 swig_obj
[0] = args
;
21127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21128 if (!SWIG_IsOK(res1
)) {
21129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
21131 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 (arg1
)->DestroyClippingRegion();
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 resultobj
= SWIG_Py_Void();
21145 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21146 PyObject
*resultobj
= 0;
21147 wxDC
*arg1
= (wxDC
*) 0 ;
21148 int *arg2
= (int *) 0 ;
21149 int *arg3
= (int *) 0 ;
21150 int *arg4
= (int *) 0 ;
21151 int *arg5
= (int *) 0 ;
21155 int res2
= SWIG_TMPOBJ
;
21157 int res3
= SWIG_TMPOBJ
;
21159 int res4
= SWIG_TMPOBJ
;
21161 int res5
= SWIG_TMPOBJ
;
21162 PyObject
*swig_obj
[1] ;
21168 if (!args
) SWIG_fail
;
21169 swig_obj
[0] = args
;
21170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21171 if (!SWIG_IsOK(res1
)) {
21172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
21174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21177 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21181 resultobj
= SWIG_Py_Void();
21182 if (SWIG_IsTmpObj(res2
)) {
21183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21185 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21188 if (SWIG_IsTmpObj(res3
)) {
21189 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21191 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21192 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21194 if (SWIG_IsTmpObj(res4
)) {
21195 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21197 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21198 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21200 if (SWIG_IsTmpObj(res5
)) {
21201 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21203 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21204 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21212 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21213 PyObject
*resultobj
= 0;
21214 wxDC
*arg1
= (wxDC
*) 0 ;
21218 PyObject
*swig_obj
[1] ;
21220 if (!args
) SWIG_fail
;
21221 swig_obj
[0] = args
;
21222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21223 if (!SWIG_IsOK(res1
)) {
21224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
21226 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 result
= wxDC_GetClippingRect(arg1
);
21230 wxPyEndAllowThreads(__tstate
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21233 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
21240 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21241 PyObject
*resultobj
= 0;
21242 wxDC
*arg1
= (wxDC
*) 0 ;
21246 PyObject
*swig_obj
[1] ;
21248 if (!args
) SWIG_fail
;
21249 swig_obj
[0] = args
;
21250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21251 if (!SWIG_IsOK(res1
)) {
21252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
21254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21261 resultobj
= SWIG_From_int(static_cast< int >(result
));
21268 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21269 PyObject
*resultobj
= 0;
21270 wxDC
*arg1
= (wxDC
*) 0 ;
21274 PyObject
*swig_obj
[1] ;
21276 if (!args
) SWIG_fail
;
21277 swig_obj
[0] = args
;
21278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21279 if (!SWIG_IsOK(res1
)) {
21280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21286 wxPyEndAllowThreads(__tstate
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21289 resultobj
= SWIG_From_int(static_cast< int >(result
));
21296 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21297 PyObject
*resultobj
= 0;
21298 wxDC
*arg1
= (wxDC
*) 0 ;
21299 wxString
*arg2
= 0 ;
21300 int *arg3
= (int *) 0 ;
21301 int *arg4
= (int *) 0 ;
21304 bool temp2
= false ;
21306 int res3
= SWIG_TMPOBJ
;
21308 int res4
= SWIG_TMPOBJ
;
21309 PyObject
* obj0
= 0 ;
21310 PyObject
* obj1
= 0 ;
21311 char * kwnames
[] = {
21312 (char *) "self",(char *) "string", NULL
21317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21319 if (!SWIG_IsOK(res1
)) {
21320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21322 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21324 arg2
= wxString_in_helper(obj1
);
21325 if (arg2
== NULL
) SWIG_fail
;
21329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21330 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21331 wxPyEndAllowThreads(__tstate
);
21332 if (PyErr_Occurred()) SWIG_fail
;
21334 resultobj
= SWIG_Py_Void();
21335 if (SWIG_IsTmpObj(res3
)) {
21336 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21338 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21339 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21341 if (SWIG_IsTmpObj(res4
)) {
21342 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21344 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21345 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21361 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
= 0;
21363 wxDC
*arg1
= (wxDC
*) 0 ;
21364 wxString
*arg2
= 0 ;
21365 int *arg3
= (int *) 0 ;
21366 int *arg4
= (int *) 0 ;
21367 int *arg5
= (int *) 0 ;
21368 int *arg6
= (int *) 0 ;
21369 wxFont
*arg7
= (wxFont
*) NULL
;
21372 bool temp2
= false ;
21374 int res3
= SWIG_TMPOBJ
;
21376 int res4
= SWIG_TMPOBJ
;
21378 int res5
= SWIG_TMPOBJ
;
21380 int res6
= SWIG_TMPOBJ
;
21383 PyObject
* obj0
= 0 ;
21384 PyObject
* obj1
= 0 ;
21385 PyObject
* obj2
= 0 ;
21386 char * kwnames
[] = {
21387 (char *) "self",(char *) "string",(char *) "font", NULL
21394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21396 if (!SWIG_IsOK(res1
)) {
21397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21399 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21401 arg2
= wxString_in_helper(obj1
);
21402 if (arg2
== NULL
) SWIG_fail
;
21406 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21407 if (!SWIG_IsOK(res7
)) {
21408 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21410 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21415 wxPyEndAllowThreads(__tstate
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21418 resultobj
= SWIG_Py_Void();
21419 if (SWIG_IsTmpObj(res3
)) {
21420 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21422 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21423 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21425 if (SWIG_IsTmpObj(res4
)) {
21426 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21428 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21429 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21431 if (SWIG_IsTmpObj(res5
)) {
21432 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21434 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21435 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21437 if (SWIG_IsTmpObj(res6
)) {
21438 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21440 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21441 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21457 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21458 PyObject
*resultobj
= 0;
21459 wxDC
*arg1
= (wxDC
*) 0 ;
21460 wxString
*arg2
= 0 ;
21461 int *arg3
= (int *) 0 ;
21462 int *arg4
= (int *) 0 ;
21463 int *arg5
= (int *) 0 ;
21464 wxFont
*arg6
= (wxFont
*) NULL
;
21467 bool temp2
= false ;
21469 int res3
= SWIG_TMPOBJ
;
21471 int res4
= SWIG_TMPOBJ
;
21473 int res5
= SWIG_TMPOBJ
;
21476 PyObject
* obj0
= 0 ;
21477 PyObject
* obj1
= 0 ;
21478 PyObject
* obj2
= 0 ;
21479 char * kwnames
[] = {
21480 (char *) "self",(char *) "text",(char *) "font", NULL
21486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21488 if (!SWIG_IsOK(res1
)) {
21489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21491 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21493 arg2
= wxString_in_helper(obj1
);
21494 if (arg2
== NULL
) SWIG_fail
;
21498 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21499 if (!SWIG_IsOK(res6
)) {
21500 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21502 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= SWIG_Py_Void();
21511 if (SWIG_IsTmpObj(res3
)) {
21512 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21514 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21515 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21517 if (SWIG_IsTmpObj(res4
)) {
21518 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21520 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21521 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21523 if (SWIG_IsTmpObj(res5
)) {
21524 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21526 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21527 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21543 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
= 0;
21545 wxDC
*arg1
= (wxDC
*) 0 ;
21546 wxString
*arg2
= 0 ;
21550 bool temp2
= false ;
21551 PyObject
* obj0
= 0 ;
21552 PyObject
* obj1
= 0 ;
21553 char * kwnames
[] = {
21554 (char *) "self",(char *) "text", NULL
21557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21559 if (!SWIG_IsOK(res1
)) {
21560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21562 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21564 arg2
= wxString_in_helper(obj1
);
21565 if (arg2
== NULL
) SWIG_fail
;
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21570 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21575 resultobj
= wxArrayInt2PyList_helper(result
);
21591 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21592 PyObject
*resultobj
= 0;
21593 wxDC
*arg1
= (wxDC
*) 0 ;
21597 PyObject
*swig_obj
[1] ;
21599 if (!args
) SWIG_fail
;
21600 swig_obj
[0] = args
;
21601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21602 if (!SWIG_IsOK(res1
)) {
21603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21605 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 result
= (arg1
)->GetSize();
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21612 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21619 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21620 PyObject
*resultobj
= 0;
21621 wxDC
*arg1
= (wxDC
*) 0 ;
21622 int *arg2
= (int *) 0 ;
21623 int *arg3
= (int *) 0 ;
21627 int res2
= SWIG_TMPOBJ
;
21629 int res3
= SWIG_TMPOBJ
;
21630 PyObject
*swig_obj
[1] ;
21634 if (!args
) SWIG_fail
;
21635 swig_obj
[0] = args
;
21636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21637 if (!SWIG_IsOK(res1
)) {
21638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 (arg1
)->GetSize(arg2
,arg3
);
21644 wxPyEndAllowThreads(__tstate
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21647 resultobj
= SWIG_Py_Void();
21648 if (SWIG_IsTmpObj(res2
)) {
21649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21651 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21654 if (SWIG_IsTmpObj(res3
)) {
21655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21657 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21666 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21667 PyObject
*resultobj
= 0;
21668 wxDC
*arg1
= (wxDC
*) 0 ;
21672 PyObject
*swig_obj
[1] ;
21674 if (!args
) SWIG_fail
;
21675 swig_obj
[0] = args
;
21676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21677 if (!SWIG_IsOK(res1
)) {
21678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21683 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21684 wxPyEndAllowThreads(__tstate
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21687 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21694 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21695 PyObject
*resultobj
= 0;
21696 wxDC
*arg1
= (wxDC
*) 0 ;
21697 int *arg2
= (int *) 0 ;
21698 int *arg3
= (int *) 0 ;
21702 int res2
= SWIG_TMPOBJ
;
21704 int res3
= SWIG_TMPOBJ
;
21705 PyObject
*swig_obj
[1] ;
21709 if (!args
) SWIG_fail
;
21710 swig_obj
[0] = args
;
21711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21712 if (!SWIG_IsOK(res1
)) {
21713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21715 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21722 resultobj
= SWIG_Py_Void();
21723 if (SWIG_IsTmpObj(res2
)) {
21724 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21726 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21727 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21729 if (SWIG_IsTmpObj(res3
)) {
21730 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21732 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21733 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21741 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
= 0;
21743 wxDC
*arg1
= (wxDC
*) 0 ;
21750 PyObject
* obj0
= 0 ;
21751 PyObject
* obj1
= 0 ;
21752 char * kwnames
[] = {
21753 (char *) "self",(char *) "x", NULL
21756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21758 if (!SWIG_IsOK(res1
)) {
21759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21761 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21763 if (!SWIG_IsOK(ecode2
)) {
21764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21766 arg2
= static_cast< int >(val2
);
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21773 resultobj
= SWIG_From_int(static_cast< int >(result
));
21780 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21781 PyObject
*resultobj
= 0;
21782 wxDC
*arg1
= (wxDC
*) 0 ;
21789 PyObject
* obj0
= 0 ;
21790 PyObject
* obj1
= 0 ;
21791 char * kwnames
[] = {
21792 (char *) "self",(char *) "y", NULL
21795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21797 if (!SWIG_IsOK(res1
)) {
21798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21800 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21802 if (!SWIG_IsOK(ecode2
)) {
21803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21805 arg2
= static_cast< int >(val2
);
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21808 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21809 wxPyEndAllowThreads(__tstate
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21812 resultobj
= SWIG_From_int(static_cast< int >(result
));
21819 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21820 PyObject
*resultobj
= 0;
21821 wxDC
*arg1
= (wxDC
*) 0 ;
21828 PyObject
* obj0
= 0 ;
21829 PyObject
* obj1
= 0 ;
21830 char * kwnames
[] = {
21831 (char *) "self",(char *) "x", NULL
21834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21836 if (!SWIG_IsOK(res1
)) {
21837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21839 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21841 if (!SWIG_IsOK(ecode2
)) {
21842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21844 arg2
= static_cast< int >(val2
);
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 resultobj
= SWIG_From_int(static_cast< int >(result
));
21858 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
= 0;
21860 wxDC
*arg1
= (wxDC
*) 0 ;
21867 PyObject
* obj0
= 0 ;
21868 PyObject
* obj1
= 0 ;
21869 char * kwnames
[] = {
21870 (char *) "self",(char *) "y", NULL
21873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21875 if (!SWIG_IsOK(res1
)) {
21876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21878 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21880 if (!SWIG_IsOK(ecode2
)) {
21881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21883 arg2
= static_cast< int >(val2
);
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= SWIG_From_int(static_cast< int >(result
));
21897 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21898 PyObject
*resultobj
= 0;
21899 wxDC
*arg1
= (wxDC
*) 0 ;
21906 PyObject
* obj0
= 0 ;
21907 PyObject
* obj1
= 0 ;
21908 char * kwnames
[] = {
21909 (char *) "self",(char *) "x", NULL
21912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21914 if (!SWIG_IsOK(res1
)) {
21915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21917 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21919 if (!SWIG_IsOK(ecode2
)) {
21920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21922 arg2
= static_cast< int >(val2
);
21924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21925 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21929 resultobj
= SWIG_From_int(static_cast< int >(result
));
21936 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
= 0;
21938 wxDC
*arg1
= (wxDC
*) 0 ;
21945 PyObject
* obj0
= 0 ;
21946 PyObject
* obj1
= 0 ;
21947 char * kwnames
[] = {
21948 (char *) "self",(char *) "y", NULL
21951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21953 if (!SWIG_IsOK(res1
)) {
21954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21956 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21958 if (!SWIG_IsOK(ecode2
)) {
21959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21961 arg2
= static_cast< int >(val2
);
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= SWIG_From_int(static_cast< int >(result
));
21975 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21976 PyObject
*resultobj
= 0;
21977 wxDC
*arg1
= (wxDC
*) 0 ;
21984 PyObject
* obj0
= 0 ;
21985 PyObject
* obj1
= 0 ;
21986 char * kwnames
[] = {
21987 (char *) "self",(char *) "x", NULL
21990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21992 if (!SWIG_IsOK(res1
)) {
21993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21995 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21997 if (!SWIG_IsOK(ecode2
)) {
21998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
22000 arg2
= static_cast< int >(val2
);
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 resultobj
= SWIG_From_int(static_cast< int >(result
));
22014 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
= 0;
22016 wxDC
*arg1
= (wxDC
*) 0 ;
22023 PyObject
* obj0
= 0 ;
22024 PyObject
* obj1
= 0 ;
22025 char * kwnames
[] = {
22026 (char *) "self",(char *) "y", NULL
22029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22031 if (!SWIG_IsOK(res1
)) {
22032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
22034 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22036 if (!SWIG_IsOK(ecode2
)) {
22037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
22039 arg2
= static_cast< int >(val2
);
22041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22042 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22046 resultobj
= SWIG_From_int(static_cast< int >(result
));
22053 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22054 PyObject
*resultobj
= 0;
22055 wxDC
*arg1
= (wxDC
*) 0 ;
22059 PyObject
*swig_obj
[1] ;
22061 if (!args
) SWIG_fail
;
22062 swig_obj
[0] = args
;
22063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22064 if (!SWIG_IsOK(res1
)) {
22065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
22067 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22070 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22083 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22084 PyObject
*resultobj
= 0;
22085 wxDC
*arg1
= (wxDC
*) 0 ;
22089 PyObject
*swig_obj
[1] ;
22091 if (!args
) SWIG_fail
;
22092 swig_obj
[0] = args
;
22093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22094 if (!SWIG_IsOK(res1
)) {
22095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
22097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22113 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22114 PyObject
*resultobj
= 0;
22115 wxDC
*arg1
= (wxDC
*) 0 ;
22119 PyObject
*swig_obj
[1] ;
22121 if (!args
) SWIG_fail
;
22122 swig_obj
[0] = args
;
22123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22124 if (!SWIG_IsOK(res1
)) {
22125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
22127 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 result
= (int)((wxDC
const *)arg1
)->GetDepth();
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22134 resultobj
= SWIG_From_int(static_cast< int >(result
));
22141 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22142 PyObject
*resultobj
= 0;
22143 wxDC
*arg1
= (wxDC
*) 0 ;
22147 PyObject
*swig_obj
[1] ;
22149 if (!args
) SWIG_fail
;
22150 swig_obj
[0] = args
;
22151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22152 if (!SWIG_IsOK(res1
)) {
22153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
22155 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 result
= ((wxDC
const *)arg1
)->GetPPI();
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22169 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22170 PyObject
*resultobj
= 0;
22171 wxDC
*arg1
= (wxDC
*) 0 ;
22175 PyObject
*swig_obj
[1] ;
22177 if (!args
) SWIG_fail
;
22178 swig_obj
[0] = args
;
22179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22180 if (!SWIG_IsOK(res1
)) {
22181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
22183 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 result
= (bool)((wxDC
const *)arg1
)->IsOk();
22187 wxPyEndAllowThreads(__tstate
);
22188 if (PyErr_Occurred()) SWIG_fail
;
22191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22199 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22200 PyObject
*resultobj
= 0;
22201 wxDC
*arg1
= (wxDC
*) 0 ;
22205 PyObject
*swig_obj
[1] ;
22207 if (!args
) SWIG_fail
;
22208 swig_obj
[0] = args
;
22209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22210 if (!SWIG_IsOK(res1
)) {
22211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22213 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= SWIG_From_int(static_cast< int >(result
));
22227 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22228 PyObject
*resultobj
= 0;
22229 wxDC
*arg1
= (wxDC
*) 0 ;
22230 wxBrush
*result
= 0 ;
22233 PyObject
*swig_obj
[1] ;
22235 if (!args
) SWIG_fail
;
22236 swig_obj
[0] = args
;
22237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22238 if (!SWIG_IsOK(res1
)) {
22239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
22246 result
= (wxBrush
*) &_result_ref
;
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22252 wxBrush
* resultptr
= new wxBrush(*result
);
22253 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22261 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22262 PyObject
*resultobj
= 0;
22263 wxDC
*arg1
= (wxDC
*) 0 ;
22264 wxBrush
*result
= 0 ;
22267 PyObject
*swig_obj
[1] ;
22269 if (!args
) SWIG_fail
;
22270 swig_obj
[0] = args
;
22271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22272 if (!SWIG_IsOK(res1
)) {
22273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22275 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22280 result
= (wxBrush
*) &_result_ref
;
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22286 wxBrush
* resultptr
= new wxBrush(*result
);
22287 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22295 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22296 PyObject
*resultobj
= 0;
22297 wxDC
*arg1
= (wxDC
*) 0 ;
22298 wxFont
*result
= 0 ;
22301 PyObject
*swig_obj
[1] ;
22303 if (!args
) SWIG_fail
;
22304 swig_obj
[0] = args
;
22305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22306 if (!SWIG_IsOK(res1
)) {
22307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22309 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22314 result
= (wxFont
*) &_result_ref
;
22316 wxPyEndAllowThreads(__tstate
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22320 wxFont
* resultptr
= new wxFont(*result
);
22321 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22329 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22330 PyObject
*resultobj
= 0;
22331 wxDC
*arg1
= (wxDC
*) 0 ;
22332 wxPen
*result
= 0 ;
22335 PyObject
*swig_obj
[1] ;
22337 if (!args
) SWIG_fail
;
22338 swig_obj
[0] = args
;
22339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22340 if (!SWIG_IsOK(res1
)) {
22341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22343 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22348 result
= (wxPen
*) &_result_ref
;
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22354 wxPen
* resultptr
= new wxPen(*result
);
22355 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22363 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22364 PyObject
*resultobj
= 0;
22365 wxDC
*arg1
= (wxDC
*) 0 ;
22366 wxColour
*result
= 0 ;
22369 PyObject
*swig_obj
[1] ;
22371 if (!args
) SWIG_fail
;
22372 swig_obj
[0] = args
;
22373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22374 if (!SWIG_IsOK(res1
)) {
22375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22382 result
= (wxColour
*) &_result_ref
;
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22394 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22395 PyObject
*resultobj
= 0;
22396 wxDC
*arg1
= (wxDC
*) 0 ;
22397 wxColour
*result
= 0 ;
22400 PyObject
*swig_obj
[1] ;
22402 if (!args
) SWIG_fail
;
22403 swig_obj
[0] = args
;
22404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22405 if (!SWIG_IsOK(res1
)) {
22406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22408 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22413 result
= (wxColour
*) &_result_ref
;
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22425 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
= 0;
22427 wxDC
*arg1
= (wxDC
*) 0 ;
22428 wxColour
*arg2
= 0 ;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 char * kwnames
[] = {
22435 (char *) "self",(char *) "colour", NULL
22438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22440 if (!SWIG_IsOK(res1
)) {
22441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22443 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22446 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22454 resultobj
= SWIG_Py_Void();
22461 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
= 0;
22463 wxDC
*arg1
= (wxDC
*) 0 ;
22464 wxColour
*arg2
= 0 ;
22468 PyObject
* obj0
= 0 ;
22469 PyObject
* obj1
= 0 ;
22470 char * kwnames
[] = {
22471 (char *) "self",(char *) "colour", NULL
22474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22476 if (!SWIG_IsOK(res1
)) {
22477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22479 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22482 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22486 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22490 resultobj
= SWIG_Py_Void();
22497 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22498 PyObject
*resultobj
= 0;
22499 wxDC
*arg1
= (wxDC
*) 0 ;
22503 PyObject
*swig_obj
[1] ;
22505 if (!args
) SWIG_fail
;
22506 swig_obj
[0] = args
;
22507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22508 if (!SWIG_IsOK(res1
)) {
22509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22515 wxPyEndAllowThreads(__tstate
);
22516 if (PyErr_Occurred()) SWIG_fail
;
22518 resultobj
= SWIG_From_int(static_cast< int >(result
));
22525 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
= 0;
22527 wxDC
*arg1
= (wxDC
*) 0 ;
22533 PyObject
* obj0
= 0 ;
22534 PyObject
* obj1
= 0 ;
22535 char * kwnames
[] = {
22536 (char *) "self",(char *) "mode", NULL
22539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22541 if (!SWIG_IsOK(res1
)) {
22542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22544 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22546 if (!SWIG_IsOK(ecode2
)) {
22547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22549 arg2
= static_cast< int >(val2
);
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 (arg1
)->SetMapMode(arg2
);
22553 wxPyEndAllowThreads(__tstate
);
22554 if (PyErr_Occurred()) SWIG_fail
;
22556 resultobj
= SWIG_Py_Void();
22563 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22564 PyObject
*resultobj
= 0;
22565 wxDC
*arg1
= (wxDC
*) 0 ;
22566 double *arg2
= (double *) 0 ;
22567 double *arg3
= (double *) 0 ;
22571 int res2
= SWIG_TMPOBJ
;
22573 int res3
= SWIG_TMPOBJ
;
22574 PyObject
*swig_obj
[1] ;
22578 if (!args
) SWIG_fail
;
22579 swig_obj
[0] = args
;
22580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22581 if (!SWIG_IsOK(res1
)) {
22582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22584 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 resultobj
= SWIG_Py_Void();
22592 if (SWIG_IsTmpObj(res2
)) {
22593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22595 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22596 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22598 if (SWIG_IsTmpObj(res3
)) {
22599 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22601 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22602 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22610 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
= 0;
22612 wxDC
*arg1
= (wxDC
*) 0 ;
22621 PyObject
* obj0
= 0 ;
22622 PyObject
* obj1
= 0 ;
22623 PyObject
* obj2
= 0 ;
22624 char * kwnames
[] = {
22625 (char *) "self",(char *) "x",(char *) "y", NULL
22628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22630 if (!SWIG_IsOK(res1
)) {
22631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22633 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22634 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22635 if (!SWIG_IsOK(ecode2
)) {
22636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22638 arg2
= static_cast< double >(val2
);
22639 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22640 if (!SWIG_IsOK(ecode3
)) {
22641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22643 arg3
= static_cast< double >(val3
);
22645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22646 (arg1
)->SetUserScale(arg2
,arg3
);
22647 wxPyEndAllowThreads(__tstate
);
22648 if (PyErr_Occurred()) SWIG_fail
;
22650 resultobj
= SWIG_Py_Void();
22657 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22658 PyObject
*resultobj
= 0;
22659 wxDC
*arg1
= (wxDC
*) 0 ;
22660 double *arg2
= (double *) 0 ;
22661 double *arg3
= (double *) 0 ;
22665 int res2
= SWIG_TMPOBJ
;
22667 int res3
= SWIG_TMPOBJ
;
22668 PyObject
*swig_obj
[1] ;
22672 if (!args
) SWIG_fail
;
22673 swig_obj
[0] = args
;
22674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22675 if (!SWIG_IsOK(res1
)) {
22676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22681 (arg1
)->GetLogicalScale(arg2
,arg3
);
22682 wxPyEndAllowThreads(__tstate
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 resultobj
= SWIG_Py_Void();
22686 if (SWIG_IsTmpObj(res2
)) {
22687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22689 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22692 if (SWIG_IsTmpObj(res3
)) {
22693 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22695 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22704 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22705 PyObject
*resultobj
= 0;
22706 wxDC
*arg1
= (wxDC
*) 0 ;
22715 PyObject
* obj0
= 0 ;
22716 PyObject
* obj1
= 0 ;
22717 PyObject
* obj2
= 0 ;
22718 char * kwnames
[] = {
22719 (char *) "self",(char *) "x",(char *) "y", NULL
22722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22724 if (!SWIG_IsOK(res1
)) {
22725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22727 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22728 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22729 if (!SWIG_IsOK(ecode2
)) {
22730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22732 arg2
= static_cast< double >(val2
);
22733 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22734 if (!SWIG_IsOK(ecode3
)) {
22735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22737 arg3
= static_cast< double >(val3
);
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 (arg1
)->SetLogicalScale(arg2
,arg3
);
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22744 resultobj
= SWIG_Py_Void();
22751 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22752 PyObject
*resultobj
= 0;
22753 wxDC
*arg1
= (wxDC
*) 0 ;
22757 PyObject
*swig_obj
[1] ;
22759 if (!args
) SWIG_fail
;
22760 swig_obj
[0] = args
;
22761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22762 if (!SWIG_IsOK(res1
)) {
22763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22765 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22772 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22779 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22780 PyObject
*resultobj
= 0;
22781 wxDC
*arg1
= (wxDC
*) 0 ;
22782 int *arg2
= (int *) 0 ;
22783 int *arg3
= (int *) 0 ;
22787 int res2
= SWIG_TMPOBJ
;
22789 int res3
= SWIG_TMPOBJ
;
22790 PyObject
*swig_obj
[1] ;
22794 if (!args
) SWIG_fail
;
22795 swig_obj
[0] = args
;
22796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22797 if (!SWIG_IsOK(res1
)) {
22798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22800 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22803 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 resultobj
= SWIG_Py_Void();
22808 if (SWIG_IsTmpObj(res2
)) {
22809 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22811 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22812 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22814 if (SWIG_IsTmpObj(res3
)) {
22815 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22817 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22818 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22826 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22827 PyObject
*resultobj
= 0;
22828 wxDC
*arg1
= (wxDC
*) 0 ;
22837 PyObject
* obj0
= 0 ;
22838 PyObject
* obj1
= 0 ;
22839 PyObject
* obj2
= 0 ;
22840 char * kwnames
[] = {
22841 (char *) "self",(char *) "x",(char *) "y", NULL
22844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22846 if (!SWIG_IsOK(res1
)) {
22847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22849 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22851 if (!SWIG_IsOK(ecode2
)) {
22852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22854 arg2
= static_cast< int >(val2
);
22855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22856 if (!SWIG_IsOK(ecode3
)) {
22857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22859 arg3
= static_cast< int >(val3
);
22861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22862 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22863 wxPyEndAllowThreads(__tstate
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22866 resultobj
= SWIG_Py_Void();
22873 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
= 0;
22875 wxDC
*arg1
= (wxDC
*) 0 ;
22876 wxPoint
*arg2
= 0 ;
22880 PyObject
* obj0
= 0 ;
22881 PyObject
* obj1
= 0 ;
22882 char * kwnames
[] = {
22883 (char *) "self",(char *) "point", NULL
22886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22888 if (!SWIG_IsOK(res1
)) {
22889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22891 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22894 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 resultobj
= SWIG_Py_Void();
22909 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22910 PyObject
*resultobj
= 0;
22911 wxDC
*arg1
= (wxDC
*) 0 ;
22915 PyObject
*swig_obj
[1] ;
22917 if (!args
) SWIG_fail
;
22918 swig_obj
[0] = args
;
22919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22920 if (!SWIG_IsOK(res1
)) {
22921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22923 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22927 wxPyEndAllowThreads(__tstate
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22930 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22937 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22938 PyObject
*resultobj
= 0;
22939 wxDC
*arg1
= (wxDC
*) 0 ;
22940 int *arg2
= (int *) 0 ;
22941 int *arg3
= (int *) 0 ;
22945 int res2
= SWIG_TMPOBJ
;
22947 int res3
= SWIG_TMPOBJ
;
22948 PyObject
*swig_obj
[1] ;
22952 if (!args
) SWIG_fail
;
22953 swig_obj
[0] = args
;
22954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22955 if (!SWIG_IsOK(res1
)) {
22956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22958 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22961 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 resultobj
= SWIG_Py_Void();
22966 if (SWIG_IsTmpObj(res2
)) {
22967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22969 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22972 if (SWIG_IsTmpObj(res3
)) {
22973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22975 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22984 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22985 PyObject
*resultobj
= 0;
22986 wxDC
*arg1
= (wxDC
*) 0 ;
22995 PyObject
* obj0
= 0 ;
22996 PyObject
* obj1
= 0 ;
22997 PyObject
* obj2
= 0 ;
22998 char * kwnames
[] = {
22999 (char *) "self",(char *) "x",(char *) "y", NULL
23002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23004 if (!SWIG_IsOK(res1
)) {
23005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23007 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23009 if (!SWIG_IsOK(ecode2
)) {
23010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
23012 arg2
= static_cast< int >(val2
);
23013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23014 if (!SWIG_IsOK(ecode3
)) {
23015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
23017 arg3
= static_cast< int >(val3
);
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23024 resultobj
= SWIG_Py_Void();
23031 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23032 PyObject
*resultobj
= 0;
23033 wxDC
*arg1
= (wxDC
*) 0 ;
23034 wxPoint
*arg2
= 0 ;
23038 PyObject
* obj0
= 0 ;
23039 PyObject
* obj1
= 0 ;
23040 char * kwnames
[] = {
23041 (char *) "self",(char *) "point", NULL
23044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23046 if (!SWIG_IsOK(res1
)) {
23047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23049 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23052 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23060 resultobj
= SWIG_Py_Void();
23067 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23068 PyObject
*resultobj
= 0;
23069 wxDC
*arg1
= (wxDC
*) 0 ;
23078 PyObject
* obj0
= 0 ;
23079 PyObject
* obj1
= 0 ;
23080 PyObject
* obj2
= 0 ;
23081 char * kwnames
[] = {
23082 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
23085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23087 if (!SWIG_IsOK(res1
)) {
23088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
23090 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23091 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23092 if (!SWIG_IsOK(ecode2
)) {
23093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
23095 arg2
= static_cast< bool >(val2
);
23096 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
23097 if (!SWIG_IsOK(ecode3
)) {
23098 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
23100 arg3
= static_cast< bool >(val3
);
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 (arg1
)->SetAxisOrientation(arg2
,arg3
);
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= SWIG_Py_Void();
23114 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23115 PyObject
*resultobj
= 0;
23116 wxDC
*arg1
= (wxDC
*) 0 ;
23120 PyObject
*swig_obj
[1] ;
23122 if (!args
) SWIG_fail
;
23123 swig_obj
[0] = args
;
23124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23125 if (!SWIG_IsOK(res1
)) {
23126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
23128 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23131 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
23132 wxPyEndAllowThreads(__tstate
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 resultobj
= SWIG_From_int(static_cast< int >(result
));
23142 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23143 PyObject
*resultobj
= 0;
23144 wxDC
*arg1
= (wxDC
*) 0 ;
23150 PyObject
* obj0
= 0 ;
23151 PyObject
* obj1
= 0 ;
23152 char * kwnames
[] = {
23153 (char *) "self",(char *) "function", NULL
23156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23158 if (!SWIG_IsOK(res1
)) {
23159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
23161 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23163 if (!SWIG_IsOK(ecode2
)) {
23164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
23166 arg2
= static_cast< int >(val2
);
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 (arg1
)->SetLogicalFunction(arg2
);
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23173 resultobj
= SWIG_Py_Void();
23180 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23181 PyObject
*resultobj
= 0;
23182 wxDC
*arg1
= (wxDC
*) 0 ;
23185 PyObject
*swig_obj
[1] ;
23187 if (!args
) SWIG_fail
;
23188 swig_obj
[0] = args
;
23189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23190 if (!SWIG_IsOK(res1
)) {
23191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
23193 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23196 (arg1
)->ComputeScaleAndOrigin();
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23200 resultobj
= SWIG_Py_Void();
23207 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23208 PyObject
*resultobj
= 0;
23209 wxDC
*arg1
= (wxDC
*) 0 ;
23218 PyObject
* obj0
= 0 ;
23219 PyObject
* obj1
= 0 ;
23220 PyObject
* obj2
= 0 ;
23221 char * kwnames
[] = {
23222 (char *) "self",(char *) "x",(char *) "y", NULL
23225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) 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_CalcBoundingBox" "', 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_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
23235 arg2
= static_cast< int >(val2
);
23236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23237 if (!SWIG_IsOK(ecode3
)) {
23238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
23240 arg3
= static_cast< int >(val3
);
23242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23243 (arg1
)->CalcBoundingBox(arg2
,arg3
);
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 resultobj
= SWIG_Py_Void();
23254 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
= 0;
23256 wxDC
*arg1
= (wxDC
*) 0 ;
23257 wxPoint
*arg2
= 0 ;
23261 PyObject
* obj0
= 0 ;
23262 PyObject
* obj1
= 0 ;
23263 char * kwnames
[] = {
23264 (char *) "self",(char *) "point", NULL
23267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23269 if (!SWIG_IsOK(res1
)) {
23270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23272 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23275 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23279 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23280 wxPyEndAllowThreads(__tstate
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23283 resultobj
= SWIG_Py_Void();
23290 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23291 PyObject
*resultobj
= 0;
23292 wxDC
*arg1
= (wxDC
*) 0 ;
23295 PyObject
*swig_obj
[1] ;
23297 if (!args
) SWIG_fail
;
23298 swig_obj
[0] = args
;
23299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23300 if (!SWIG_IsOK(res1
)) {
23301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23303 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23306 (arg1
)->ResetBoundingBox();
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 resultobj
= SWIG_Py_Void();
23317 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23318 PyObject
*resultobj
= 0;
23319 wxDC
*arg1
= (wxDC
*) 0 ;
23323 PyObject
*swig_obj
[1] ;
23325 if (!args
) SWIG_fail
;
23326 swig_obj
[0] = args
;
23327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23328 if (!SWIG_IsOK(res1
)) {
23329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23331 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 result
= (int)((wxDC
const *)arg1
)->MinX();
23335 wxPyEndAllowThreads(__tstate
);
23336 if (PyErr_Occurred()) SWIG_fail
;
23338 resultobj
= SWIG_From_int(static_cast< int >(result
));
23345 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23346 PyObject
*resultobj
= 0;
23347 wxDC
*arg1
= (wxDC
*) 0 ;
23351 PyObject
*swig_obj
[1] ;
23353 if (!args
) SWIG_fail
;
23354 swig_obj
[0] = args
;
23355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23356 if (!SWIG_IsOK(res1
)) {
23357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23359 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23362 result
= (int)((wxDC
const *)arg1
)->MaxX();
23363 wxPyEndAllowThreads(__tstate
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23366 resultobj
= SWIG_From_int(static_cast< int >(result
));
23373 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23374 PyObject
*resultobj
= 0;
23375 wxDC
*arg1
= (wxDC
*) 0 ;
23379 PyObject
*swig_obj
[1] ;
23381 if (!args
) SWIG_fail
;
23382 swig_obj
[0] = args
;
23383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23384 if (!SWIG_IsOK(res1
)) {
23385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23387 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 result
= (int)((wxDC
const *)arg1
)->MinY();
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= SWIG_From_int(static_cast< int >(result
));
23401 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23402 PyObject
*resultobj
= 0;
23403 wxDC
*arg1
= (wxDC
*) 0 ;
23407 PyObject
*swig_obj
[1] ;
23409 if (!args
) SWIG_fail
;
23410 swig_obj
[0] = args
;
23411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23412 if (!SWIG_IsOK(res1
)) {
23413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23415 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 result
= (int)((wxDC
const *)arg1
)->MaxY();
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= SWIG_From_int(static_cast< int >(result
));
23429 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23430 PyObject
*resultobj
= 0;
23431 wxDC
*arg1
= (wxDC
*) 0 ;
23432 int *arg2
= (int *) 0 ;
23433 int *arg3
= (int *) 0 ;
23434 int *arg4
= (int *) 0 ;
23435 int *arg5
= (int *) 0 ;
23439 int res2
= SWIG_TMPOBJ
;
23441 int res3
= SWIG_TMPOBJ
;
23443 int res4
= SWIG_TMPOBJ
;
23445 int res5
= SWIG_TMPOBJ
;
23446 PyObject
*swig_obj
[1] ;
23452 if (!args
) SWIG_fail
;
23453 swig_obj
[0] = args
;
23454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23455 if (!SWIG_IsOK(res1
)) {
23456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23461 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23462 wxPyEndAllowThreads(__tstate
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23465 resultobj
= SWIG_Py_Void();
23466 if (SWIG_IsTmpObj(res2
)) {
23467 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23469 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23472 if (SWIG_IsTmpObj(res3
)) {
23473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23475 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23476 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23478 if (SWIG_IsTmpObj(res4
)) {
23479 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23481 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23484 if (SWIG_IsTmpObj(res5
)) {
23485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23487 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23496 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23497 PyObject
*resultobj
= 0;
23498 wxDC
*arg1
= (wxDC
*) 0 ;
23499 wxLayoutDirection result
;
23502 PyObject
*swig_obj
[1] ;
23504 if (!args
) SWIG_fail
;
23505 swig_obj
[0] = args
;
23506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23507 if (!SWIG_IsOK(res1
)) {
23508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
23510 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23513 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23517 resultobj
= SWIG_From_int(static_cast< int >(result
));
23524 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
= 0;
23526 wxDC
*arg1
= (wxDC
*) 0 ;
23527 wxLayoutDirection arg2
;
23532 PyObject
* obj0
= 0 ;
23533 PyObject
* obj1
= 0 ;
23534 char * kwnames
[] = {
23535 (char *) "self",(char *) "dir", NULL
23538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23540 if (!SWIG_IsOK(res1
)) {
23541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
23543 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23545 if (!SWIG_IsOK(ecode2
)) {
23546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
23548 arg2
= static_cast< wxLayoutDirection
>(val2
);
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 (arg1
)->SetLayoutDirection(arg2
);
23552 wxPyEndAllowThreads(__tstate
);
23553 if (PyErr_Occurred()) SWIG_fail
;
23555 resultobj
= SWIG_Py_Void();
23562 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
= 0;
23564 wxDC
*arg1
= (wxDC
*) 0 ;
23565 PyObject
*arg2
= (PyObject
*) 0 ;
23566 PyObject
*arg3
= (PyObject
*) 0 ;
23567 PyObject
*arg4
= (PyObject
*) 0 ;
23568 PyObject
*result
= 0 ;
23571 PyObject
* obj0
= 0 ;
23572 PyObject
* obj1
= 0 ;
23573 PyObject
* obj2
= 0 ;
23574 PyObject
* obj3
= 0 ;
23575 char * kwnames
[] = {
23576 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23581 if (!SWIG_IsOK(res1
)) {
23582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23584 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= result
;
23601 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
= 0;
23603 wxDC
*arg1
= (wxDC
*) 0 ;
23604 PyObject
*arg2
= (PyObject
*) 0 ;
23605 PyObject
*arg3
= (PyObject
*) 0 ;
23606 PyObject
*arg4
= (PyObject
*) 0 ;
23607 PyObject
*result
= 0 ;
23610 PyObject
* obj0
= 0 ;
23611 PyObject
* obj1
= 0 ;
23612 PyObject
* obj2
= 0 ;
23613 PyObject
* obj3
= 0 ;
23614 char * kwnames
[] = {
23615 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23620 if (!SWIG_IsOK(res1
)) {
23621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23623 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23633 resultobj
= result
;
23640 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
= 0;
23642 wxDC
*arg1
= (wxDC
*) 0 ;
23643 PyObject
*arg2
= (PyObject
*) 0 ;
23644 PyObject
*arg3
= (PyObject
*) 0 ;
23645 PyObject
*arg4
= (PyObject
*) 0 ;
23646 PyObject
*result
= 0 ;
23649 PyObject
* obj0
= 0 ;
23650 PyObject
* obj1
= 0 ;
23651 PyObject
* obj2
= 0 ;
23652 PyObject
* obj3
= 0 ;
23653 char * kwnames
[] = {
23654 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23659 if (!SWIG_IsOK(res1
)) {
23660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23662 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23669 wxPyEndAllowThreads(__tstate
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23672 resultobj
= result
;
23679 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
= 0;
23681 wxDC
*arg1
= (wxDC
*) 0 ;
23682 PyObject
*arg2
= (PyObject
*) 0 ;
23683 PyObject
*arg3
= (PyObject
*) 0 ;
23684 PyObject
*arg4
= (PyObject
*) 0 ;
23685 PyObject
*result
= 0 ;
23688 PyObject
* obj0
= 0 ;
23689 PyObject
* obj1
= 0 ;
23690 PyObject
* obj2
= 0 ;
23691 PyObject
* obj3
= 0 ;
23692 char * kwnames
[] = {
23693 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23698 if (!SWIG_IsOK(res1
)) {
23699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23701 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23708 wxPyEndAllowThreads(__tstate
);
23709 if (PyErr_Occurred()) SWIG_fail
;
23711 resultobj
= result
;
23718 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23719 PyObject
*resultobj
= 0;
23720 wxDC
*arg1
= (wxDC
*) 0 ;
23721 PyObject
*arg2
= (PyObject
*) 0 ;
23722 PyObject
*arg3
= (PyObject
*) 0 ;
23723 PyObject
*arg4
= (PyObject
*) 0 ;
23724 PyObject
*result
= 0 ;
23727 PyObject
* obj0
= 0 ;
23728 PyObject
* obj1
= 0 ;
23729 PyObject
* obj2
= 0 ;
23730 PyObject
* obj3
= 0 ;
23731 char * kwnames
[] = {
23732 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23737 if (!SWIG_IsOK(res1
)) {
23738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23740 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 resultobj
= result
;
23757 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23758 PyObject
*resultobj
= 0;
23759 wxDC
*arg1
= (wxDC
*) 0 ;
23760 PyObject
*arg2
= (PyObject
*) 0 ;
23761 PyObject
*arg3
= (PyObject
*) 0 ;
23762 PyObject
*arg4
= (PyObject
*) 0 ;
23763 PyObject
*arg5
= (PyObject
*) 0 ;
23764 PyObject
*result
= 0 ;
23767 PyObject
* obj0
= 0 ;
23768 PyObject
* obj1
= 0 ;
23769 PyObject
* obj2
= 0 ;
23770 PyObject
* obj3
= 0 ;
23771 PyObject
* obj4
= 0 ;
23772 char * kwnames
[] = {
23773 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23778 if (!SWIG_IsOK(res1
)) {
23779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23781 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23792 resultobj
= result
;
23799 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23801 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23802 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23803 return SWIG_Py_Void();
23806 SWIGINTERN PyObject
*_wrap_new_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23807 PyObject
*resultobj
= 0;
23809 wxColour
*arg2
= 0 ;
23810 wxDCTextColourChanger
*result
= 0 ;
23814 PyObject
* obj0
= 0 ;
23815 PyObject
* obj1
= 0 ;
23816 char * kwnames
[] = {
23817 (char *) "dc",(char *) "col", NULL
23820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCTextColourChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23821 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23822 if (!SWIG_IsOK(res1
)) {
23823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23828 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23831 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 result
= (wxDCTextColourChanger
*)new wxDCTextColourChanger(*arg1
,(wxColour
const &)*arg2
);
23836 wxPyEndAllowThreads(__tstate
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_NEW
| 0 );
23846 SWIGINTERN PyObject
*_wrap_delete_DCTextColourChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23847 PyObject
*resultobj
= 0;
23848 wxDCTextColourChanger
*arg1
= (wxDCTextColourChanger
*) 0 ;
23851 PyObject
*swig_obj
[1] ;
23853 if (!args
) SWIG_fail
;
23854 swig_obj
[0] = args
;
23855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCTextColourChanger
, SWIG_POINTER_DISOWN
| 0 );
23856 if (!SWIG_IsOK(res1
)) {
23857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCTextColourChanger" "', expected argument " "1"" of type '" "wxDCTextColourChanger *""'");
23859 arg1
= reinterpret_cast< wxDCTextColourChanger
* >(argp1
);
23861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 wxPyEndAllowThreads(__tstate
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23867 resultobj
= SWIG_Py_Void();
23874 SWIGINTERN PyObject
*DCTextColourChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23876 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23877 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCTextColourChanger
, SWIG_NewClientData(obj
));
23878 return SWIG_Py_Void();
23881 SWIGINTERN PyObject
*DCTextColourChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23882 return SWIG_Python_InitShadowInstance(args
);
23885 SWIGINTERN PyObject
*_wrap_new_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
= 0;
23889 wxDCPenChanger
*result
= 0 ;
23894 PyObject
* obj0
= 0 ;
23895 PyObject
* obj1
= 0 ;
23896 char * kwnames
[] = {
23897 (char *) "dc",(char *) "pen", NULL
23900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCPenChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23901 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23902 if (!SWIG_IsOK(res1
)) {
23903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23908 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
23910 if (!SWIG_IsOK(res2
)) {
23911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCPenChanger" "', expected argument " "2"" of type '" "wxPen const &""'");
23916 arg2
= reinterpret_cast< wxPen
* >(argp2
);
23918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23919 result
= (wxDCPenChanger
*)new wxDCPenChanger(*arg1
,(wxPen
const &)*arg2
);
23920 wxPyEndAllowThreads(__tstate
);
23921 if (PyErr_Occurred()) SWIG_fail
;
23923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_NEW
| 0 );
23930 SWIGINTERN PyObject
*_wrap_delete_DCPenChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23931 PyObject
*resultobj
= 0;
23932 wxDCPenChanger
*arg1
= (wxDCPenChanger
*) 0 ;
23935 PyObject
*swig_obj
[1] ;
23937 if (!args
) SWIG_fail
;
23938 swig_obj
[0] = args
;
23939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCPenChanger
, SWIG_POINTER_DISOWN
| 0 );
23940 if (!SWIG_IsOK(res1
)) {
23941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCPenChanger" "', expected argument " "1"" of type '" "wxDCPenChanger *""'");
23943 arg1
= reinterpret_cast< wxDCPenChanger
* >(argp1
);
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23951 resultobj
= SWIG_Py_Void();
23958 SWIGINTERN PyObject
*DCPenChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23961 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCPenChanger
, SWIG_NewClientData(obj
));
23962 return SWIG_Py_Void();
23965 SWIGINTERN PyObject
*DCPenChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23966 return SWIG_Python_InitShadowInstance(args
);
23969 SWIGINTERN PyObject
*_wrap_new_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23970 PyObject
*resultobj
= 0;
23972 wxBrush
*arg2
= 0 ;
23973 wxDCBrushChanger
*result
= 0 ;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 char * kwnames
[] = {
23981 (char *) "dc",(char *) "brush", NULL
23984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DCBrushChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23985 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23986 if (!SWIG_IsOK(res1
)) {
23987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "1"" of type '" "wxDC &""'");
23992 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
23994 if (!SWIG_IsOK(res2
)) {
23995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
23998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCBrushChanger" "', expected argument " "2"" of type '" "wxBrush const &""'");
24000 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
24002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24003 result
= (wxDCBrushChanger
*)new wxDCBrushChanger(*arg1
,(wxBrush
const &)*arg2
);
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_NEW
| 0 );
24014 SWIGINTERN PyObject
*_wrap_delete_DCBrushChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24015 PyObject
*resultobj
= 0;
24016 wxDCBrushChanger
*arg1
= (wxDCBrushChanger
*) 0 ;
24019 PyObject
*swig_obj
[1] ;
24021 if (!args
) SWIG_fail
;
24022 swig_obj
[0] = args
;
24023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCBrushChanger
, SWIG_POINTER_DISOWN
| 0 );
24024 if (!SWIG_IsOK(res1
)) {
24025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCBrushChanger" "', expected argument " "1"" of type '" "wxDCBrushChanger *""'");
24027 arg1
= reinterpret_cast< wxDCBrushChanger
* >(argp1
);
24029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24035 resultobj
= SWIG_Py_Void();
24042 SWIGINTERN PyObject
*DCBrushChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24044 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24045 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCBrushChanger
, SWIG_NewClientData(obj
));
24046 return SWIG_Py_Void();
24049 SWIGINTERN PyObject
*DCBrushChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24050 return SWIG_Python_InitShadowInstance(args
);
24053 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24054 PyObject
*resultobj
= 0;
24056 wxRegion
*arg2
= 0 ;
24057 wxDCClipper
*result
= 0 ;
24063 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24065 if (!SWIG_IsOK(res1
)) {
24066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24071 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24072 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24073 if (!SWIG_IsOK(res2
)) {
24074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "wxRegion const &""'");
24079 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRegion
const &)*arg2
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24093 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24094 PyObject
*resultobj
= 0;
24097 wxDCClipper
*result
= 0 ;
24102 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
24103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24104 if (!SWIG_IsOK(res1
)) {
24105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24110 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24113 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,(wxRect
const &)*arg2
);
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24128 SWIGINTERN PyObject
*_wrap_new_DCClipper__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24129 PyObject
*resultobj
= 0;
24135 wxDCClipper
*result
= 0 ;
24147 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
24148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDC
, 0 );
24149 if (!SWIG_IsOK(res1
)) {
24150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCClipper" "', expected argument " "1"" of type '" "wxDC &""'");
24155 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24156 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
24157 if (!SWIG_IsOK(ecode2
)) {
24158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DCClipper" "', expected argument " "2"" of type '" "int""'");
24160 arg2
= static_cast< int >(val2
);
24161 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24162 if (!SWIG_IsOK(ecode3
)) {
24163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCClipper" "', expected argument " "3"" of type '" "int""'");
24165 arg3
= static_cast< int >(val3
);
24166 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
24167 if (!SWIG_IsOK(ecode4
)) {
24168 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCClipper" "', expected argument " "4"" of type '" "int""'");
24170 arg4
= static_cast< int >(val4
);
24171 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
24172 if (!SWIG_IsOK(ecode5
)) {
24173 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCClipper" "', expected argument " "5"" of type '" "int""'");
24175 arg5
= static_cast< int >(val5
);
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 result
= (wxDCClipper
*)new wxDCClipper(*arg1
,arg2
,arg3
,arg4
,arg5
);
24179 wxPyEndAllowThreads(__tstate
);
24180 if (PyErr_Occurred()) SWIG_fail
;
24182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_NEW
| 0 );
24189 SWIGINTERN PyObject
*_wrap_new_DCClipper(PyObject
*self
, PyObject
*args
) {
24193 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCClipper",0,5,argv
))) SWIG_fail
;
24198 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxRegion
, 0);
24199 _v
= SWIG_CheckState(res
);
24201 if (!_v
) goto check_1
;
24202 return _wrap_new_DCClipper__SWIG_0(self
, argc
, argv
);
24207 return _wrap_new_DCClipper__SWIG_1(self
, argc
, argv
);
24210 return _wrap_new_DCClipper__SWIG_2(self
, argc
, argv
);
24214 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCClipper'");
24219 SWIGINTERN PyObject
*_wrap_delete_DCClipper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24220 PyObject
*resultobj
= 0;
24221 wxDCClipper
*arg1
= (wxDCClipper
*) 0 ;
24224 PyObject
*swig_obj
[1] ;
24226 if (!args
) SWIG_fail
;
24227 swig_obj
[0] = args
;
24228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCClipper
, SWIG_POINTER_DISOWN
| 0 );
24229 if (!SWIG_IsOK(res1
)) {
24230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCClipper" "', expected argument " "1"" of type '" "wxDCClipper *""'");
24232 arg1
= reinterpret_cast< wxDCClipper
* >(argp1
);
24234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24237 wxPyEndAllowThreads(__tstate
);
24238 if (PyErr_Occurred()) SWIG_fail
;
24240 resultobj
= SWIG_Py_Void();
24247 SWIGINTERN PyObject
*DCClipper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24249 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24250 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCClipper
, SWIG_NewClientData(obj
));
24251 return SWIG_Py_Void();
24254 SWIGINTERN PyObject
*DCClipper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24255 return SWIG_Python_InitShadowInstance(args
);
24258 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24259 PyObject
*resultobj
= 0;
24260 wxScreenDC
*result
= 0 ;
24262 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
24264 if (!wxPyCheckForApp()) SWIG_fail
;
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 result
= (wxScreenDC
*)new wxScreenDC();
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
24277 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
= 0;
24279 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24280 wxWindow
*arg2
= (wxWindow
*) 0 ;
24286 PyObject
* obj0
= 0 ;
24287 PyObject
* obj1
= 0 ;
24288 char * kwnames
[] = {
24289 (char *) "self",(char *) "window", NULL
24292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24294 if (!SWIG_IsOK(res1
)) {
24295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24297 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24298 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24299 if (!SWIG_IsOK(res2
)) {
24300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
24302 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24318 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
= 0;
24320 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24321 wxRect
*arg2
= (wxRect
*) NULL
;
24327 PyObject
* obj0
= 0 ;
24328 PyObject
* obj1
= 0 ;
24329 char * kwnames
[] = {
24330 (char *) "self",(char *) "rect", NULL
24333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24335 if (!SWIG_IsOK(res1
)) {
24336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24338 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24340 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
24341 if (!SWIG_IsOK(res2
)) {
24342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
24344 arg2
= reinterpret_cast< wxRect
* >(argp2
);
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
24349 wxPyEndAllowThreads(__tstate
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24361 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24362 PyObject
*resultobj
= 0;
24363 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
24367 PyObject
*swig_obj
[1] ;
24369 if (!args
) SWIG_fail
;
24370 swig_obj
[0] = args
;
24371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
24372 if (!SWIG_IsOK(res1
)) {
24373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
24375 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
24377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24378 result
= (bool)(arg1
)->EndDrawingOnTop();
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24391 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24394 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24395 return SWIG_Py_Void();
24398 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24399 return SWIG_Python_InitShadowInstance(args
);
24402 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24403 PyObject
*resultobj
= 0;
24404 wxWindow
*arg1
= (wxWindow
*) 0 ;
24405 wxWindowDC
*result
= 0 ;
24408 PyObject
* obj0
= 0 ;
24409 char * kwnames
[] = {
24410 (char *) "win", NULL
24413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24415 if (!SWIG_IsOK(res1
)) {
24416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24418 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24420 if (!wxPyCheckForApp()) SWIG_fail
;
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24433 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24435 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24436 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24437 return SWIG_Py_Void();
24440 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24441 return SWIG_Python_InitShadowInstance(args
);
24444 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
= 0;
24446 wxWindow
*arg1
= (wxWindow
*) 0 ;
24447 wxClientDC
*result
= 0 ;
24450 PyObject
* obj0
= 0 ;
24451 char * kwnames
[] = {
24452 (char *) "win", NULL
24455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24457 if (!SWIG_IsOK(res1
)) {
24458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24460 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24462 if (!wxPyCheckForApp()) SWIG_fail
;
24463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 result
= (wxClientDC
*)new wxClientDC(arg1
);
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24475 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24478 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24479 return SWIG_Py_Void();
24482 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24483 return SWIG_Python_InitShadowInstance(args
);
24486 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
= 0;
24488 wxWindow
*arg1
= (wxWindow
*) 0 ;
24489 wxPaintDC
*result
= 0 ;
24492 PyObject
* obj0
= 0 ;
24493 char * kwnames
[] = {
24494 (char *) "win", NULL
24497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24499 if (!SWIG_IsOK(res1
)) {
24500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24502 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24504 if (!wxPyCheckForApp()) SWIG_fail
;
24505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24506 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24517 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24519 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24520 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24521 return SWIG_Py_Void();
24524 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24525 return SWIG_Python_InitShadowInstance(args
);
24528 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24529 PyObject
*resultobj
= 0;
24530 wxBitmap
&arg1_defvalue
= wxNullBitmap
;
24531 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24532 wxMemoryDC
*result
= 0 ;
24535 PyObject
* obj0
= 0 ;
24536 char * kwnames
[] = {
24537 (char *) "bitmap", NULL
24540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
24542 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
24543 if (!SWIG_IsOK(res1
)) {
24544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap &""'");
24549 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
24552 if (!wxPyCheckForApp()) SWIG_fail
;
24553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24554 result
= (wxMemoryDC
*)new wxMemoryDC(*arg1
);
24555 wxPyEndAllowThreads(__tstate
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
24565 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
= 0;
24567 wxDC
*arg1
= (wxDC
*) 0 ;
24568 wxMemoryDC
*result
= 0 ;
24571 PyObject
* obj0
= 0 ;
24572 char * kwnames
[] = {
24573 (char *) "oldDC", NULL
24576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
24577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24578 if (!SWIG_IsOK(res1
)) {
24579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
24581 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24583 if (!wxPyCheckForApp()) SWIG_fail
;
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
24586 wxPyEndAllowThreads(__tstate
);
24587 if (PyErr_Occurred()) SWIG_fail
;
24589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
24596 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24597 PyObject
*resultobj
= 0;
24598 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24599 wxBitmap
*arg2
= 0 ;
24604 PyObject
* obj0
= 0 ;
24605 PyObject
* obj1
= 0 ;
24606 char * kwnames
[] = {
24607 (char *) "self",(char *) "bitmap", NULL
24610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24612 if (!SWIG_IsOK(res1
)) {
24613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24615 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24616 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24617 if (!SWIG_IsOK(res2
)) {
24618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap &""'");
24623 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 (arg1
)->SelectObject(*arg2
);
24627 wxPyEndAllowThreads(__tstate
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24630 resultobj
= SWIG_Py_Void();
24637 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObjectAsSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24638 PyObject
*resultobj
= 0;
24639 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
24640 wxBitmap
*arg2
= 0 ;
24645 PyObject
* obj0
= 0 ;
24646 PyObject
* obj1
= 0 ;
24647 char * kwnames
[] = {
24648 (char *) "self",(char *) "bmp", NULL
24651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObjectAsSource",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
24653 if (!SWIG_IsOK(res1
)) {
24654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
24656 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
24657 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24658 if (!SWIG_IsOK(res2
)) {
24659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObjectAsSource" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24664 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24667 (arg1
)->SelectObjectAsSource((wxBitmap
const &)*arg2
);
24668 wxPyEndAllowThreads(__tstate
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24671 resultobj
= SWIG_Py_Void();
24678 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24680 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24681 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
24682 return SWIG_Py_Void();
24685 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24686 return SWIG_Python_InitShadowInstance(args
);
24689 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24690 PyObject
*resultobj
= 0;
24691 wxDC
*arg1
= (wxDC
*) 0 ;
24692 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24693 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24694 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24695 wxBufferedDC
*result
= 0 ;
24703 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
24704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24705 if (!SWIG_IsOK(res1
)) {
24706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24708 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24710 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24711 if (!SWIG_IsOK(res2
)) {
24712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24717 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24720 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24721 if (!SWIG_IsOK(ecode3
)) {
24722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24724 arg3
= static_cast< int >(val3
);
24727 if (!wxPyCheckForApp()) SWIG_fail
;
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,*arg2
,arg3
);
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24740 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24741 PyObject
*resultobj
= 0;
24742 wxDC
*arg1
= (wxDC
*) 0 ;
24744 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24745 wxBufferedDC
*result
= 0 ;
24752 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
24753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
24754 if (!SWIG_IsOK(res1
)) {
24755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
24757 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24760 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
24763 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
24764 if (!SWIG_IsOK(ecode3
)) {
24765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
24767 arg3
= static_cast< int >(val3
);
24770 if (!wxPyCheckForApp()) SWIG_fail
;
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
24783 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
24787 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
24789 if ((argc
>= 1) && (argc
<= 3)) {
24794 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxBitmap
, 0);
24795 _v
= SWIG_CheckState(res
);
24797 if (!_v
) goto check_1
;
24799 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
24803 if ((argc
>= 2) && (argc
<= 3)) {
24804 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
24808 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
24813 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24814 PyObject
*resultobj
= 0;
24815 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24818 PyObject
*swig_obj
[1] ;
24820 if (!args
) SWIG_fail
;
24821 swig_obj
[0] = args
;
24822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
24823 if (!SWIG_IsOK(res1
)) {
24824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24826 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24834 resultobj
= SWIG_Py_Void();
24841 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24842 PyObject
*resultobj
= 0;
24843 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24846 PyObject
*swig_obj
[1] ;
24848 if (!args
) SWIG_fail
;
24849 swig_obj
[0] = args
;
24850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24851 if (!SWIG_IsOK(res1
)) {
24852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24854 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24861 resultobj
= SWIG_Py_Void();
24868 SWIGINTERN PyObject
*_wrap_BufferedDC_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24869 PyObject
*resultobj
= 0;
24870 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24876 PyObject
* obj0
= 0 ;
24877 PyObject
* obj1
= 0 ;
24878 char * kwnames
[] = {
24879 (char *) "self",(char *) "style", NULL
24882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BufferedDC_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24884 if (!SWIG_IsOK(res1
)) {
24885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_SetStyle" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
24887 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24889 if (!SWIG_IsOK(ecode2
)) {
24890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BufferedDC_SetStyle" "', expected argument " "2"" of type '" "int""'");
24892 arg2
= static_cast< int >(val2
);
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 (arg1
)->SetStyle(arg2
);
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24899 resultobj
= SWIG_Py_Void();
24906 SWIGINTERN PyObject
*_wrap_BufferedDC_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24907 PyObject
*resultobj
= 0;
24908 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
24912 PyObject
*swig_obj
[1] ;
24914 if (!args
) SWIG_fail
;
24915 swig_obj
[0] = args
;
24916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
24917 if (!SWIG_IsOK(res1
)) {
24918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_GetStyle" "', expected argument " "1"" of type '" "wxBufferedDC const *""'");
24920 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
24922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24923 result
= (int)((wxBufferedDC
const *)arg1
)->GetStyle();
24924 wxPyEndAllowThreads(__tstate
);
24925 if (PyErr_Occurred()) SWIG_fail
;
24927 resultobj
= SWIG_From_int(static_cast< int >(result
));
24934 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24937 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
24938 return SWIG_Py_Void();
24941 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24942 return SWIG_Python_InitShadowInstance(args
);
24945 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
= 0;
24947 wxWindow
*arg1
= (wxWindow
*) 0 ;
24948 wxBitmap
&arg2_defvalue
= wxNullBitmap
;
24949 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
24950 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
24951 wxBufferedPaintDC
*result
= 0 ;
24958 PyObject
* obj0
= 0 ;
24959 PyObject
* obj1
= 0 ;
24960 PyObject
* obj2
= 0 ;
24961 char * kwnames
[] = {
24962 (char *) "window",(char *) "buffer",(char *) "style", NULL
24965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24967 if (!SWIG_IsOK(res1
)) {
24968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24970 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24972 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
24973 if (!SWIG_IsOK(res2
)) {
24974 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24977 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap &""'");
24979 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24983 if (!SWIG_IsOK(ecode3
)) {
24984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
24986 arg3
= static_cast< int >(val3
);
24989 if (!wxPyCheckForApp()) SWIG_fail
;
24990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24991 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,*arg2
,arg3
);
24992 wxPyEndAllowThreads(__tstate
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25002 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25004 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25005 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
25006 return SWIG_Py_Void();
25009 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25010 return SWIG_Python_InitShadowInstance(args
);
25013 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25014 PyObject
*resultobj
= 0;
25015 wxWindow
*arg1
= (wxWindow
*) 0 ;
25016 wxAutoBufferedPaintDC
*result
= 0 ;
25019 PyObject
* obj0
= 0 ;
25020 char * kwnames
[] = {
25021 (char *) "win", NULL
25024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
25025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25026 if (!SWIG_IsOK(res1
)) {
25027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
25029 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
25043 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25046 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
25047 return SWIG_Py_Void();
25050 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25051 return SWIG_Python_InitShadowInstance(args
);
25054 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
= 0;
25056 wxWindow
*arg1
= (wxWindow
*) 0 ;
25060 PyObject
* obj0
= 0 ;
25061 char * kwnames
[] = {
25062 (char *) "window", NULL
25065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
25066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25067 if (!SWIG_IsOK(res1
)) {
25068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
25070 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25078 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
25086 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25087 PyObject
*resultobj
= 0;
25090 wxMirrorDC
*result
= 0 ;
25095 PyObject
* obj0
= 0 ;
25096 PyObject
* obj1
= 0 ;
25097 char * kwnames
[] = {
25098 (char *) "dc",(char *) "mirror", NULL
25101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25102 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
25103 if (!SWIG_IsOK(res1
)) {
25104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
25109 arg1
= reinterpret_cast< wxDC
* >(argp1
);
25110 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25111 if (!SWIG_IsOK(ecode2
)) {
25112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
25114 arg2
= static_cast< bool >(val2
);
25116 if (!wxPyCheckForApp()) SWIG_fail
;
25117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25118 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
25129 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25131 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25132 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
25133 return SWIG_Py_Void();
25136 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25137 return SWIG_Python_InitShadowInstance(args
);
25140 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25141 PyObject
*resultobj
= 0;
25142 wxPrintData
*arg1
= 0 ;
25143 wxPostScriptDC
*result
= 0 ;
25146 PyObject
* obj0
= 0 ;
25147 char * kwnames
[] = {
25148 (char *) "printData", NULL
25151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
25152 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25153 if (!SWIG_IsOK(res1
)) {
25154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25159 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25161 if (!wxPyCheckForApp()) SWIG_fail
;
25162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25163 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
25164 wxPyEndAllowThreads(__tstate
);
25165 if (PyErr_Occurred()) SWIG_fail
;
25167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
25174 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25175 PyObject
*resultobj
= 0;
25176 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25177 wxPrintData
*result
= 0 ;
25180 PyObject
*swig_obj
[1] ;
25182 if (!args
) SWIG_fail
;
25183 swig_obj
[0] = args
;
25184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25185 if (!SWIG_IsOK(res1
)) {
25186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25188 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25192 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25193 result
= (wxPrintData
*) &_result_ref
;
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25205 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25206 PyObject
*resultobj
= 0;
25207 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
25208 wxPrintData
*arg2
= 0 ;
25213 PyObject
* obj0
= 0 ;
25214 PyObject
* obj1
= 0 ;
25215 char * kwnames
[] = {
25216 (char *) "self",(char *) "data", NULL
25219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
25221 if (!SWIG_IsOK(res1
)) {
25222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
25224 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
25225 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25226 if (!SWIG_IsOK(res2
)) {
25227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25232 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25235 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25236 wxPyEndAllowThreads(__tstate
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25239 resultobj
= SWIG_Py_Void();
25246 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25247 PyObject
*resultobj
= 0;
25251 PyObject
* obj0
= 0 ;
25252 char * kwnames
[] = {
25253 (char *) "ppi", NULL
25256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
25257 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25258 if (!SWIG_IsOK(ecode1
)) {
25259 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
25261 arg1
= static_cast< int >(val1
);
25263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25264 wxPostScriptDC::SetResolution(arg1
);
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25268 resultobj
= SWIG_Py_Void();
25275 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25276 PyObject
*resultobj
= 0;
25279 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
25281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 result
= (int)wxPostScriptDC::GetResolution();
25283 wxPyEndAllowThreads(__tstate
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25286 resultobj
= SWIG_From_int(static_cast< int >(result
));
25293 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25296 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
25297 return SWIG_Py_Void();
25300 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25301 return SWIG_Python_InitShadowInstance(args
);
25304 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25305 PyObject
*resultobj
= 0;
25306 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25307 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25308 wxMetaFile
*result
= 0 ;
25309 bool temp1
= false ;
25310 PyObject
* obj0
= 0 ;
25311 char * kwnames
[] = {
25312 (char *) "filename", NULL
25315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
25318 arg1
= wxString_in_helper(obj0
);
25319 if (arg1
== NULL
) SWIG_fail
;
25324 if (!wxPyCheckForApp()) SWIG_fail
;
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
25327 wxPyEndAllowThreads(__tstate
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
25345 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25346 PyObject
*resultobj
= 0;
25347 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25350 PyObject
*swig_obj
[1] ;
25352 if (!args
) SWIG_fail
;
25353 swig_obj
[0] = args
;
25354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
25355 if (!SWIG_IsOK(res1
)) {
25356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25358 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25366 resultobj
= SWIG_Py_Void();
25373 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25374 PyObject
*resultobj
= 0;
25375 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25379 PyObject
*swig_obj
[1] ;
25381 if (!args
) SWIG_fail
;
25382 swig_obj
[0] = args
;
25383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25384 if (!SWIG_IsOK(res1
)) {
25385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25387 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25390 result
= (bool)(arg1
)->IsOk();
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25403 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25404 PyObject
*resultobj
= 0;
25405 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25406 int arg2
= (int) 0 ;
25407 int arg3
= (int) 0 ;
25415 PyObject
* obj0
= 0 ;
25416 PyObject
* obj1
= 0 ;
25417 PyObject
* obj2
= 0 ;
25418 char * kwnames
[] = {
25419 (char *) "self",(char *) "width",(char *) "height", NULL
25422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25424 if (!SWIG_IsOK(res1
)) {
25425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25427 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25430 if (!SWIG_IsOK(ecode2
)) {
25431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
25433 arg2
= static_cast< int >(val2
);
25436 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25437 if (!SWIG_IsOK(ecode3
)) {
25438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
25440 arg3
= static_cast< int >(val3
);
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
25445 wxPyEndAllowThreads(__tstate
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25457 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25458 PyObject
*resultobj
= 0;
25459 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25463 PyObject
*swig_obj
[1] ;
25465 if (!args
) SWIG_fail
;
25466 swig_obj
[0] = args
;
25467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25468 if (!SWIG_IsOK(res1
)) {
25469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25471 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25474 result
= (arg1
)->GetSize();
25475 wxPyEndAllowThreads(__tstate
);
25476 if (PyErr_Occurred()) SWIG_fail
;
25478 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25485 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25486 PyObject
*resultobj
= 0;
25487 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25491 PyObject
*swig_obj
[1] ;
25493 if (!args
) SWIG_fail
;
25494 swig_obj
[0] = args
;
25495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25496 if (!SWIG_IsOK(res1
)) {
25497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25499 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 result
= (int)(arg1
)->GetWidth();
25503 wxPyEndAllowThreads(__tstate
);
25504 if (PyErr_Occurred()) SWIG_fail
;
25506 resultobj
= SWIG_From_int(static_cast< int >(result
));
25513 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25514 PyObject
*resultobj
= 0;
25515 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
25519 PyObject
*swig_obj
[1] ;
25521 if (!args
) SWIG_fail
;
25522 swig_obj
[0] = args
;
25523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25524 if (!SWIG_IsOK(res1
)) {
25525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
25527 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
25529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25530 result
= (int)(arg1
)->GetHeight();
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 resultobj
= SWIG_From_int(static_cast< int >(result
));
25541 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25544 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
25545 return SWIG_Py_Void();
25548 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25549 return SWIG_Python_InitShadowInstance(args
);
25552 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25553 PyObject
*resultobj
= 0;
25554 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25555 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25556 int arg2
= (int) 0 ;
25557 int arg3
= (int) 0 ;
25558 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25559 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25560 wxMetaFileDC
*result
= 0 ;
25561 bool temp1
= false ;
25566 bool temp4
= false ;
25567 PyObject
* obj0
= 0 ;
25568 PyObject
* obj1
= 0 ;
25569 PyObject
* obj2
= 0 ;
25570 PyObject
* obj3
= 0 ;
25571 char * kwnames
[] = {
25572 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
25575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25578 arg1
= wxString_in_helper(obj0
);
25579 if (arg1
== NULL
) SWIG_fail
;
25584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25585 if (!SWIG_IsOK(ecode2
)) {
25586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
25588 arg2
= static_cast< int >(val2
);
25591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25592 if (!SWIG_IsOK(ecode3
)) {
25593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
25595 arg3
= static_cast< int >(val3
);
25599 arg4
= wxString_in_helper(obj3
);
25600 if (arg4
== NULL
) SWIG_fail
;
25605 if (!wxPyCheckForApp()) SWIG_fail
;
25606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25607 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
25634 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25635 PyObject
*resultobj
= 0;
25636 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
25637 wxMetaFile
*result
= 0 ;
25640 PyObject
*swig_obj
[1] ;
25642 if (!args
) SWIG_fail
;
25643 swig_obj
[0] = args
;
25644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
25645 if (!SWIG_IsOK(res1
)) {
25646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
25648 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 result
= (wxMetaFile
*)(arg1
)->Close();
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
25662 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25665 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
25666 return SWIG_Py_Void();
25669 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25670 return SWIG_Python_InitShadowInstance(args
);
25673 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25674 PyObject
*resultobj
= 0;
25675 wxPrintData
*arg1
= 0 ;
25676 wxPrinterDC
*result
= 0 ;
25679 PyObject
* obj0
= 0 ;
25680 char * kwnames
[] = {
25681 (char *) "printData", NULL
25684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
25685 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25686 if (!SWIG_IsOK(res1
)) {
25687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25692 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25694 if (!wxPyCheckForApp()) SWIG_fail
;
25695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25696 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
25697 wxPyEndAllowThreads(__tstate
);
25698 if (PyErr_Occurred()) SWIG_fail
;
25700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
25707 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25709 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25710 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
25711 return SWIG_Py_Void();
25714 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25715 return SWIG_Python_InitShadowInstance(args
);
25718 SWIGINTERN PyObject
*_wrap_new_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25719 PyObject
*resultobj
= 0;
25720 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) NULL
;
25721 wxGraphicsObject
*result
= 0 ;
25724 PyObject
* obj0
= 0 ;
25725 char * kwnames
[] = {
25726 (char *) "renderer", NULL
25729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_GraphicsObject",kwnames
,&obj0
)) SWIG_fail
;
25731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25732 if (!SWIG_IsOK(res1
)) {
25733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
25735 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
25738 result
= (wxGraphicsObject
*)new wxGraphicsObject(arg1
);
25739 if (PyErr_Occurred()) SWIG_fail
;
25741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_NEW
| 0 );
25748 SWIGINTERN PyObject
*_wrap_delete_GraphicsObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25749 PyObject
*resultobj
= 0;
25750 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25753 PyObject
*swig_obj
[1] ;
25755 if (!args
) SWIG_fail
;
25756 swig_obj
[0] = args
;
25757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, SWIG_POINTER_DISOWN
| 0 );
25758 if (!SWIG_IsOK(res1
)) {
25759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsObject" "', expected argument " "1"" of type '" "wxGraphicsObject *""'");
25761 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25767 resultobj
= SWIG_Py_Void();
25774 SWIGINTERN PyObject
*_wrap_GraphicsObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25775 PyObject
*resultobj
= 0;
25776 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25780 PyObject
*swig_obj
[1] ;
25782 if (!args
) SWIG_fail
;
25783 swig_obj
[0] = args
;
25784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25785 if (!SWIG_IsOK(res1
)) {
25786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_IsNull" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25788 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25790 result
= (bool)((wxGraphicsObject
const *)arg1
)->IsNull();
25791 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25802 SWIGINTERN PyObject
*_wrap_GraphicsObject_GetRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25803 PyObject
*resultobj
= 0;
25804 wxGraphicsObject
*arg1
= (wxGraphicsObject
*) 0 ;
25805 wxGraphicsRenderer
*result
= 0 ;
25808 PyObject
*swig_obj
[1] ;
25810 if (!args
) SWIG_fail
;
25811 swig_obj
[0] = args
;
25812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsObject
, 0 | 0 );
25813 if (!SWIG_IsOK(res1
)) {
25814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsObject_GetRenderer" "', expected argument " "1"" of type '" "wxGraphicsObject const *""'");
25816 arg1
= reinterpret_cast< wxGraphicsObject
* >(argp1
);
25818 result
= (wxGraphicsRenderer
*)((wxGraphicsObject
const *)arg1
)->GetRenderer();
25819 if (PyErr_Occurred()) SWIG_fail
;
25821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
25828 SWIGINTERN PyObject
*GraphicsObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25831 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsObject
, SWIG_NewClientData(obj
));
25832 return SWIG_Py_Void();
25835 SWIGINTERN PyObject
*GraphicsObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25836 return SWIG_Python_InitShadowInstance(args
);
25839 SWIGINTERN PyObject
*_wrap_new_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25840 PyObject
*resultobj
= 0;
25841 wxGraphicsPen
*result
= 0 ;
25843 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsPen",0,0,0)) SWIG_fail
;
25845 result
= (wxGraphicsPen
*)new wxGraphicsPen();
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_NEW
| 0 );
25855 SWIGINTERN PyObject
*_wrap_delete_GraphicsPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25856 PyObject
*resultobj
= 0;
25857 wxGraphicsPen
*arg1
= (wxGraphicsPen
*) 0 ;
25860 PyObject
*swig_obj
[1] ;
25862 if (!args
) SWIG_fail
;
25863 swig_obj
[0] = args
;
25864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_DISOWN
| 0 );
25865 if (!SWIG_IsOK(res1
)) {
25866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPen" "', expected argument " "1"" of type '" "wxGraphicsPen *""'");
25868 arg1
= reinterpret_cast< wxGraphicsPen
* >(argp1
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25874 resultobj
= SWIG_Py_Void();
25881 SWIGINTERN PyObject
*GraphicsPen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25883 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25884 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPen
, SWIG_NewClientData(obj
));
25885 return SWIG_Py_Void();
25888 SWIGINTERN PyObject
*GraphicsPen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25889 return SWIG_Python_InitShadowInstance(args
);
25892 SWIGINTERN PyObject
*_wrap_new_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25893 PyObject
*resultobj
= 0;
25894 wxGraphicsBrush
*result
= 0 ;
25896 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsBrush",0,0,0)) SWIG_fail
;
25898 result
= (wxGraphicsBrush
*)new wxGraphicsBrush();
25899 if (PyErr_Occurred()) SWIG_fail
;
25901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_NEW
| 0 );
25908 SWIGINTERN PyObject
*_wrap_delete_GraphicsBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25909 PyObject
*resultobj
= 0;
25910 wxGraphicsBrush
*arg1
= (wxGraphicsBrush
*) 0 ;
25913 PyObject
*swig_obj
[1] ;
25915 if (!args
) SWIG_fail
;
25916 swig_obj
[0] = args
;
25917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_DISOWN
| 0 );
25918 if (!SWIG_IsOK(res1
)) {
25919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsBrush" "', expected argument " "1"" of type '" "wxGraphicsBrush *""'");
25921 arg1
= reinterpret_cast< wxGraphicsBrush
* >(argp1
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25927 resultobj
= SWIG_Py_Void();
25934 SWIGINTERN PyObject
*GraphicsBrush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25937 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsBrush
, SWIG_NewClientData(obj
));
25938 return SWIG_Py_Void();
25941 SWIGINTERN PyObject
*GraphicsBrush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25942 return SWIG_Python_InitShadowInstance(args
);
25945 SWIGINTERN PyObject
*_wrap_new_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25946 PyObject
*resultobj
= 0;
25947 wxGraphicsFont
*result
= 0 ;
25949 if (!SWIG_Python_UnpackTuple(args
,"new_GraphicsFont",0,0,0)) SWIG_fail
;
25951 result
= (wxGraphicsFont
*)new wxGraphicsFont();
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_NEW
| 0 );
25961 SWIGINTERN PyObject
*_wrap_delete_GraphicsFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25962 PyObject
*resultobj
= 0;
25963 wxGraphicsFont
*arg1
= (wxGraphicsFont
*) 0 ;
25966 PyObject
*swig_obj
[1] ;
25968 if (!args
) SWIG_fail
;
25969 swig_obj
[0] = args
;
25970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_DISOWN
| 0 );
25971 if (!SWIG_IsOK(res1
)) {
25972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsFont" "', expected argument " "1"" of type '" "wxGraphicsFont *""'");
25974 arg1
= reinterpret_cast< wxGraphicsFont
* >(argp1
);
25978 if (PyErr_Occurred()) SWIG_fail
;
25980 resultobj
= SWIG_Py_Void();
25987 SWIGINTERN PyObject
*GraphicsFont_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25989 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25990 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsFont
, SWIG_NewClientData(obj
));
25991 return SWIG_Py_Void();
25994 SWIGINTERN PyObject
*GraphicsFont_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25995 return SWIG_Python_InitShadowInstance(args
);
25998 SWIGINTERN PyObject
*_wrap_delete_GraphicsMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25999 PyObject
*resultobj
= 0;
26000 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26003 PyObject
*swig_obj
[1] ;
26005 if (!args
) SWIG_fail
;
26006 swig_obj
[0] = args
;
26007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_DISOWN
| 0 );
26008 if (!SWIG_IsOK(res1
)) {
26009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26011 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= SWIG_Py_Void();
26024 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Concat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
= 0;
26026 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26027 wxGraphicsMatrix
*arg2
= 0 ;
26032 PyObject
* obj0
= 0 ;
26033 PyObject
* obj1
= 0 ;
26034 char * kwnames
[] = {
26035 (char *) "self",(char *) "t", NULL
26038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Concat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26040 if (!SWIG_IsOK(res1
)) {
26041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26043 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26044 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26045 if (!SWIG_IsOK(res2
)) {
26046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_Concat" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26051 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26053 (arg1
)->Concat((wxGraphicsMatrix
const &)*arg2
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26056 resultobj
= SWIG_Py_Void();
26063 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26064 PyObject
*resultobj
= 0;
26065 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26066 wxDouble arg2
= (wxDouble
) 1.0 ;
26067 wxDouble arg3
= (wxDouble
) 0.0 ;
26068 wxDouble arg4
= (wxDouble
) 0.0 ;
26069 wxDouble arg5
= (wxDouble
) 1.0 ;
26070 wxDouble arg6
= (wxDouble
) 0.0 ;
26071 wxDouble arg7
= (wxDouble
) 0.0 ;
26086 PyObject
* obj0
= 0 ;
26087 PyObject
* obj1
= 0 ;
26088 PyObject
* obj2
= 0 ;
26089 PyObject
* obj3
= 0 ;
26090 PyObject
* obj4
= 0 ;
26091 PyObject
* obj5
= 0 ;
26092 PyObject
* obj6
= 0 ;
26093 char * kwnames
[] = {
26094 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
26097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsMatrix_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26099 if (!SWIG_IsOK(res1
)) {
26100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Set" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26102 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26104 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26105 if (!SWIG_IsOK(ecode2
)) {
26106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Set" "', expected argument " "2"" of type '" "wxDouble""'");
26108 arg2
= static_cast< wxDouble
>(val2
);
26111 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26112 if (!SWIG_IsOK(ecode3
)) {
26113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Set" "', expected argument " "3"" of type '" "wxDouble""'");
26115 arg3
= static_cast< wxDouble
>(val3
);
26118 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26119 if (!SWIG_IsOK(ecode4
)) {
26120 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsMatrix_Set" "', expected argument " "4"" of type '" "wxDouble""'");
26122 arg4
= static_cast< wxDouble
>(val4
);
26125 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26126 if (!SWIG_IsOK(ecode5
)) {
26127 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsMatrix_Set" "', expected argument " "5"" of type '" "wxDouble""'");
26129 arg5
= static_cast< wxDouble
>(val5
);
26132 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26133 if (!SWIG_IsOK(ecode6
)) {
26134 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsMatrix_Set" "', expected argument " "6"" of type '" "wxDouble""'");
26136 arg6
= static_cast< wxDouble
>(val6
);
26139 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
26140 if (!SWIG_IsOK(ecode7
)) {
26141 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsMatrix_Set" "', expected argument " "7"" of type '" "wxDouble""'");
26143 arg7
= static_cast< wxDouble
>(val7
);
26146 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26147 if (PyErr_Occurred()) SWIG_fail
;
26149 resultobj
= SWIG_Py_Void();
26156 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26157 PyObject
*resultobj
= 0;
26158 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26159 wxDouble
*arg2
= (wxDouble
*) 0 ;
26160 wxDouble
*arg3
= (wxDouble
*) 0 ;
26161 wxDouble
*arg4
= (wxDouble
*) 0 ;
26162 wxDouble
*arg5
= (wxDouble
*) 0 ;
26163 wxDouble
*arg6
= (wxDouble
*) 0 ;
26164 wxDouble
*arg7
= (wxDouble
*) 0 ;
26168 int res2
= SWIG_TMPOBJ
;
26170 int res3
= SWIG_TMPOBJ
;
26172 int res4
= SWIG_TMPOBJ
;
26174 int res5
= SWIG_TMPOBJ
;
26176 int res6
= SWIG_TMPOBJ
;
26178 int res7
= SWIG_TMPOBJ
;
26179 PyObject
*swig_obj
[1] ;
26187 if (!args
) SWIG_fail
;
26188 swig_obj
[0] = args
;
26189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26190 if (!SWIG_IsOK(res1
)) {
26191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Get" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26193 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26195 (arg1
)->Get(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26198 resultobj
= SWIG_Py_Void();
26199 if (SWIG_IsTmpObj(res2
)) {
26200 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26202 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26205 if (SWIG_IsTmpObj(res3
)) {
26206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26208 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26211 if (SWIG_IsTmpObj(res4
)) {
26212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26214 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26217 if (SWIG_IsTmpObj(res5
)) {
26218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26220 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26223 if (SWIG_IsTmpObj(res6
)) {
26224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26226 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26229 if (SWIG_IsTmpObj(res7
)) {
26230 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg7
)));
26232 int new_flags
= SWIG_IsNewObj(res7
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26233 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg7
), SWIGTYPE_p_double
, new_flags
));
26241 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Invert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26242 PyObject
*resultobj
= 0;
26243 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26246 PyObject
*swig_obj
[1] ;
26248 if (!args
) SWIG_fail
;
26249 swig_obj
[0] = args
;
26250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26251 if (!SWIG_IsOK(res1
)) {
26252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Invert" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26254 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26257 if (PyErr_Occurred()) SWIG_fail
;
26259 resultobj
= SWIG_Py_Void();
26266 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26267 PyObject
*resultobj
= 0;
26268 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26269 wxGraphicsMatrix
*arg2
= 0 ;
26275 PyObject
* obj0
= 0 ;
26276 PyObject
* obj1
= 0 ;
26277 char * kwnames
[] = {
26278 (char *) "self",(char *) "t", NULL
26281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26283 if (!SWIG_IsOK(res1
)) {
26284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26286 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26287 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
26288 if (!SWIG_IsOK(res2
)) {
26289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsMatrix_IsEqual" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
26294 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
26296 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsEqual((wxGraphicsMatrix
const &)*arg2
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26308 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_IsIdentity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26309 PyObject
*resultobj
= 0;
26310 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26314 PyObject
*swig_obj
[1] ;
26316 if (!args
) SWIG_fail
;
26317 swig_obj
[0] = args
;
26318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26319 if (!SWIG_IsOK(res1
)) {
26320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_IsIdentity" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26322 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26324 result
= (bool)((wxGraphicsMatrix
const *)arg1
)->IsIdentity();
26325 if (PyErr_Occurred()) SWIG_fail
;
26328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26336 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
= 0;
26338 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26347 PyObject
* obj0
= 0 ;
26348 PyObject
* obj1
= 0 ;
26349 PyObject
* obj2
= 0 ;
26350 char * kwnames
[] = {
26351 (char *) "self",(char *) "dx",(char *) "dy", NULL
26354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26356 if (!SWIG_IsOK(res1
)) {
26357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26359 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26360 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26361 if (!SWIG_IsOK(ecode2
)) {
26362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
26364 arg2
= static_cast< wxDouble
>(val2
);
26365 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26366 if (!SWIG_IsOK(ecode3
)) {
26367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
26369 arg3
= static_cast< wxDouble
>(val3
);
26371 (arg1
)->Translate(arg2
,arg3
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 resultobj
= SWIG_Py_Void();
26381 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
= 0;
26383 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26392 PyObject
* obj0
= 0 ;
26393 PyObject
* obj1
= 0 ;
26394 PyObject
* obj2
= 0 ;
26395 char * kwnames
[] = {
26396 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
26399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26401 if (!SWIG_IsOK(res1
)) {
26402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26404 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26405 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26406 if (!SWIG_IsOK(ecode2
)) {
26407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
26409 arg2
= static_cast< wxDouble
>(val2
);
26410 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26411 if (!SWIG_IsOK(ecode3
)) {
26412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsMatrix_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
26414 arg3
= static_cast< wxDouble
>(val3
);
26416 (arg1
)->Scale(arg2
,arg3
);
26417 if (PyErr_Occurred()) SWIG_fail
;
26419 resultobj
= SWIG_Py_Void();
26426 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26427 PyObject
*resultobj
= 0;
26428 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26434 PyObject
* obj0
= 0 ;
26435 PyObject
* obj1
= 0 ;
26436 char * kwnames
[] = {
26437 (char *) "self",(char *) "angle", NULL
26440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsMatrix_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26442 if (!SWIG_IsOK(res1
)) {
26443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "1"" of type '" "wxGraphicsMatrix *""'");
26445 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26446 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26447 if (!SWIG_IsOK(ecode2
)) {
26448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsMatrix_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
26450 arg2
= static_cast< wxDouble
>(val2
);
26452 (arg1
)->Rotate(arg2
);
26453 if (PyErr_Occurred()) SWIG_fail
;
26455 resultobj
= SWIG_Py_Void();
26462 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26463 PyObject
*resultobj
= 0;
26464 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26465 wxDouble
*arg2
= (wxDouble
*) 0 ;
26466 wxDouble
*arg3
= (wxDouble
*) 0 ;
26473 PyObject
* obj0
= 0 ;
26474 PyObject
* obj1
= 0 ;
26475 PyObject
* obj2
= 0 ;
26476 char * kwnames
[] = {
26477 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26482 if (!SWIG_IsOK(res1
)) {
26483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26485 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26486 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26488 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26489 if (!SWIG_IsOK(ecode
)) {
26490 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26492 temp2
= static_cast< wxDouble
>(val
);
26494 res2
= SWIG_AddTmpMask(ecode
);
26496 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26498 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26499 if (!SWIG_IsOK(ecode
)) {
26500 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26502 temp3
= static_cast< wxDouble
>(val
);
26504 res3
= SWIG_AddTmpMask(ecode
);
26507 ((wxGraphicsMatrix
const *)arg1
)->TransformPoint(arg2
,arg3
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26510 resultobj
= SWIG_Py_Void();
26511 if (SWIG_IsTmpObj(res2
)) {
26512 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26514 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26515 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26517 if (SWIG_IsTmpObj(res3
)) {
26518 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26520 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26521 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26529 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_TransformDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26530 PyObject
*resultobj
= 0;
26531 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26532 wxDouble
*arg2
= (wxDouble
*) 0 ;
26533 wxDouble
*arg3
= (wxDouble
*) 0 ;
26540 PyObject
* obj0
= 0 ;
26541 PyObject
* obj1
= 0 ;
26542 PyObject
* obj2
= 0 ;
26543 char * kwnames
[] = {
26544 (char *) "self",(char *) "INOUT",(char *) "INOUT", NULL
26547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsMatrix_TransformDistance",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26549 if (!SWIG_IsOK(res1
)) {
26550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26552 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26553 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_double
,0))))) {
26555 int ecode
= SWIG_AsVal_double(obj1
, &val
);
26556 if (!SWIG_IsOK(ecode
)) {
26557 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "2"" of type '" "wxDouble""'");
26559 temp2
= static_cast< wxDouble
>(val
);
26561 res2
= SWIG_AddTmpMask(ecode
);
26563 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_double
,0))))) {
26565 int ecode
= SWIG_AsVal_double(obj2
, &val
);
26566 if (!SWIG_IsOK(ecode
)) {
26567 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "GraphicsMatrix_TransformDistance" "', expected argument " "3"" of type '" "wxDouble""'");
26569 temp3
= static_cast< wxDouble
>(val
);
26571 res3
= SWIG_AddTmpMask(ecode
);
26574 ((wxGraphicsMatrix
const *)arg1
)->TransformDistance(arg2
,arg3
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26577 resultobj
= SWIG_Py_Void();
26578 if (SWIG_IsTmpObj(res2
)) {
26579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
26581 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
26584 if (SWIG_IsTmpObj(res3
)) {
26585 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26587 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26588 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26596 SWIGINTERN PyObject
*_wrap_GraphicsMatrix_GetNativeMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26597 PyObject
*resultobj
= 0;
26598 wxGraphicsMatrix
*arg1
= (wxGraphicsMatrix
*) 0 ;
26602 PyObject
*swig_obj
[1] ;
26604 if (!args
) SWIG_fail
;
26605 swig_obj
[0] = args
;
26606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0 );
26607 if (!SWIG_IsOK(res1
)) {
26608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsMatrix_GetNativeMatrix" "', expected argument " "1"" of type '" "wxGraphicsMatrix const *""'");
26610 arg1
= reinterpret_cast< wxGraphicsMatrix
* >(argp1
);
26612 result
= (void *)((wxGraphicsMatrix
const *)arg1
)->GetNativeMatrix();
26613 if (PyErr_Occurred()) SWIG_fail
;
26615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
26622 SWIGINTERN PyObject
*GraphicsMatrix_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26625 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsMatrix
, SWIG_NewClientData(obj
));
26626 return SWIG_Py_Void();
26629 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26630 PyObject
*resultobj
= 0;
26631 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26634 PyObject
*swig_obj
[1] ;
26636 if (!args
) SWIG_fail
;
26637 swig_obj
[0] = args
;
26638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
26639 if (!SWIG_IsOK(res1
)) {
26640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26642 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26648 resultobj
= SWIG_Py_Void();
26655 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26656 PyObject
*resultobj
= 0;
26657 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26667 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26669 if (!SWIG_IsOK(res1
)) {
26670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26672 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26673 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26674 if (!SWIG_IsOK(ecode2
)) {
26675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26677 arg2
= static_cast< wxDouble
>(val2
);
26678 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26679 if (!SWIG_IsOK(ecode3
)) {
26680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26682 arg3
= static_cast< wxDouble
>(val3
);
26684 (arg1
)->MoveToPoint(arg2
,arg3
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26687 resultobj
= SWIG_Py_Void();
26694 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26695 PyObject
*resultobj
= 0;
26696 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26697 wxPoint2D
*arg2
= 0 ;
26702 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26704 if (!SWIG_IsOK(res1
)) {
26705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26707 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26710 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26713 (arg1
)->MoveToPoint((wxPoint2D
const &)*arg2
);
26714 if (PyErr_Occurred()) SWIG_fail
;
26716 resultobj
= SWIG_Py_Void();
26723 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*self
, PyObject
*args
) {
26727 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_MoveToPoint",0,3,argv
))) SWIG_fail
;
26730 return _wrap_GraphicsPath_MoveToPoint__SWIG_1(self
, argc
, argv
);
26733 return _wrap_GraphicsPath_MoveToPoint__SWIG_0(self
, argc
, argv
);
26737 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_MoveToPoint'");
26742 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26743 PyObject
*resultobj
= 0;
26744 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26754 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26756 if (!SWIG_IsOK(res1
)) {
26757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26759 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26760 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26761 if (!SWIG_IsOK(ecode2
)) {
26762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26764 arg2
= static_cast< wxDouble
>(val2
);
26765 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26766 if (!SWIG_IsOK(ecode3
)) {
26767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26769 arg3
= static_cast< wxDouble
>(val3
);
26771 (arg1
)->AddLineToPoint(arg2
,arg3
);
26772 if (PyErr_Occurred()) SWIG_fail
;
26774 resultobj
= SWIG_Py_Void();
26781 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26782 PyObject
*resultobj
= 0;
26783 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26784 wxPoint2D
*arg2
= 0 ;
26789 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26791 if (!SWIG_IsOK(res1
)) {
26792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26794 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26797 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26800 (arg1
)->AddLineToPoint((wxPoint2D
const &)*arg2
);
26801 if (PyErr_Occurred()) SWIG_fail
;
26803 resultobj
= SWIG_Py_Void();
26810 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*self
, PyObject
*args
) {
26814 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddLineToPoint",0,3,argv
))) SWIG_fail
;
26817 return _wrap_GraphicsPath_AddLineToPoint__SWIG_1(self
, argc
, argv
);
26820 return _wrap_GraphicsPath_AddLineToPoint__SWIG_0(self
, argc
, argv
);
26824 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddLineToPoint'");
26829 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26830 PyObject
*resultobj
= 0;
26831 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26853 if ((nobjs
< 7) || (nobjs
> 7)) SWIG_fail
;
26854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26855 if (!SWIG_IsOK(res1
)) {
26856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26858 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26859 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
26860 if (!SWIG_IsOK(ecode2
)) {
26861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
26863 arg2
= static_cast< wxDouble
>(val2
);
26864 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
26865 if (!SWIG_IsOK(ecode3
)) {
26866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
26868 arg3
= static_cast< wxDouble
>(val3
);
26869 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
26870 if (!SWIG_IsOK(ecode4
)) {
26871 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
26873 arg4
= static_cast< wxDouble
>(val4
);
26874 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
26875 if (!SWIG_IsOK(ecode5
)) {
26876 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
26878 arg5
= static_cast< wxDouble
>(val5
);
26879 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
26880 if (!SWIG_IsOK(ecode6
)) {
26881 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
26883 arg6
= static_cast< wxDouble
>(val6
);
26884 ecode7
= SWIG_AsVal_double(swig_obj
[6], &val7
);
26885 if (!SWIG_IsOK(ecode7
)) {
26886 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
26888 arg7
= static_cast< wxDouble
>(val7
);
26890 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26891 if (PyErr_Occurred()) SWIG_fail
;
26893 resultobj
= SWIG_Py_Void();
26900 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26901 PyObject
*resultobj
= 0;
26902 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26903 wxPoint2D
*arg2
= 0 ;
26904 wxPoint2D
*arg3
= 0 ;
26905 wxPoint2D
*arg4
= 0 ;
26912 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26914 if (!SWIG_IsOK(res1
)) {
26915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26917 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26920 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26924 if ( ! wxPoint2D_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
26928 if ( ! wxPoint2D_helper(swig_obj
[3], &arg4
)) SWIG_fail
;
26931 (arg1
)->AddCurveToPoint((wxPoint2D
const &)*arg2
,(wxPoint2D
const &)*arg3
,(wxPoint2D
const &)*arg4
);
26932 if (PyErr_Occurred()) SWIG_fail
;
26934 resultobj
= SWIG_Py_Void();
26941 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*self
, PyObject
*args
) {
26945 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddCurveToPoint",0,7,argv
))) SWIG_fail
;
26948 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_1(self
, argc
, argv
);
26951 return _wrap_GraphicsPath_AddCurveToPoint__SWIG_0(self
, argc
, argv
);
26955 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddCurveToPoint'");
26960 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26961 PyObject
*resultobj
= 0;
26962 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
26963 wxGraphicsPath
*arg2
= 0 ;
26968 PyObject
* obj0
= 0 ;
26969 PyObject
* obj1
= 0 ;
26970 char * kwnames
[] = {
26971 (char *) "self",(char *) "path", NULL
26974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_AddPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
26976 if (!SWIG_IsOK(res1
)) {
26977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
26979 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
26980 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
26981 if (!SWIG_IsOK(res2
)) {
26982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_AddPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
26987 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
26989 (arg1
)->AddPath((wxGraphicsPath
const &)*arg2
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26992 resultobj
= SWIG_Py_Void();
26999 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27000 PyObject
*resultobj
= 0;
27001 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27004 PyObject
*swig_obj
[1] ;
27006 if (!args
) SWIG_fail
;
27007 swig_obj
[0] = args
;
27008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27009 if (!SWIG_IsOK(res1
)) {
27010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27012 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27014 (arg1
)->CloseSubpath();
27015 if (PyErr_Occurred()) SWIG_fail
;
27017 resultobj
= SWIG_Py_Void();
27024 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27025 PyObject
*resultobj
= 0;
27026 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27030 PyObject
*swig_obj
[1] ;
27032 if (!args
) SWIG_fail
;
27033 swig_obj
[0] = args
;
27034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27035 if (!SWIG_IsOK(res1
)) {
27036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27038 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27040 result
= ((wxGraphicsPath
const *)arg1
)->GetCurrentPoint();
27041 if (PyErr_Occurred()) SWIG_fail
;
27043 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
27050 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27051 PyObject
*resultobj
= 0;
27052 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27058 bool arg7
= (bool) true ;
27074 if ((nobjs
< 6) || (nobjs
> 7)) SWIG_fail
;
27075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27076 if (!SWIG_IsOK(res1
)) {
27077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27079 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27080 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27081 if (!SWIG_IsOK(ecode2
)) {
27082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
27084 arg2
= static_cast< wxDouble
>(val2
);
27085 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27086 if (!SWIG_IsOK(ecode3
)) {
27087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27089 arg3
= static_cast< wxDouble
>(val3
);
27090 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27091 if (!SWIG_IsOK(ecode4
)) {
27092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27094 arg4
= static_cast< wxDouble
>(val4
);
27095 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27096 if (!SWIG_IsOK(ecode5
)) {
27097 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27099 arg5
= static_cast< wxDouble
>(val5
);
27100 ecode6
= SWIG_AsVal_double(swig_obj
[5], &val6
);
27101 if (!SWIG_IsOK(ecode6
)) {
27102 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
27104 arg6
= static_cast< wxDouble
>(val6
);
27106 ecode7
= SWIG_AsVal_bool(swig_obj
[6], &val7
);
27107 if (!SWIG_IsOK(ecode7
)) {
27108 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
27110 arg7
= static_cast< bool >(val7
);
27113 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27116 resultobj
= SWIG_Py_Void();
27123 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27124 PyObject
*resultobj
= 0;
27125 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27126 wxPoint2D
*arg2
= 0 ;
27130 bool arg6
= (bool) true ;
27143 if ((nobjs
< 5) || (nobjs
> 6)) SWIG_fail
;
27144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27145 if (!SWIG_IsOK(res1
)) {
27146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27148 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27151 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27153 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27154 if (!SWIG_IsOK(ecode3
)) {
27155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
27157 arg3
= static_cast< wxDouble
>(val3
);
27158 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
27159 if (!SWIG_IsOK(ecode4
)) {
27160 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
27162 arg4
= static_cast< wxDouble
>(val4
);
27163 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
27164 if (!SWIG_IsOK(ecode5
)) {
27165 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
27167 arg5
= static_cast< wxDouble
>(val5
);
27169 ecode6
= SWIG_AsVal_bool(swig_obj
[5], &val6
);
27170 if (!SWIG_IsOK(ecode6
)) {
27171 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "bool""'");
27173 arg6
= static_cast< bool >(val6
);
27176 (arg1
)->AddArc((wxPoint2D
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 resultobj
= SWIG_Py_Void();
27186 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*self
, PyObject
*args
) {
27190 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_AddArc",0,7,argv
))) SWIG_fail
;
27192 if ((argc
>= 5) && (argc
<= 6)) {
27196 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27199 if (!_v
) goto check_1
;
27203 int res
= SWIG_AsVal_bool(argv
[5], NULL
);
27204 _v
= SWIG_CheckState(res
);
27207 if (!_v
) goto check_1
;
27209 return _wrap_GraphicsPath_AddArc__SWIG_1(self
, argc
, argv
);
27213 if ((argc
>= 6) && (argc
<= 7)) {
27214 return _wrap_GraphicsPath_AddArc__SWIG_0(self
, argc
, argv
);
27218 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_AddArc'");
27223 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
= 0;
27225 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27240 PyObject
* obj0
= 0 ;
27241 PyObject
* obj1
= 0 ;
27242 PyObject
* obj2
= 0 ;
27243 PyObject
* obj3
= 0 ;
27244 PyObject
* obj4
= 0 ;
27245 char * kwnames
[] = {
27246 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
27249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27251 if (!SWIG_IsOK(res1
)) {
27252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27254 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27255 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27256 if (!SWIG_IsOK(ecode2
)) {
27257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27259 arg2
= static_cast< wxDouble
>(val2
);
27260 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27261 if (!SWIG_IsOK(ecode3
)) {
27262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27264 arg3
= static_cast< wxDouble
>(val3
);
27265 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27266 if (!SWIG_IsOK(ecode4
)) {
27267 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27269 arg4
= static_cast< wxDouble
>(val4
);
27270 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27271 if (!SWIG_IsOK(ecode5
)) {
27272 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27274 arg5
= static_cast< wxDouble
>(val5
);
27276 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27279 resultobj
= SWIG_Py_Void();
27286 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27287 PyObject
*resultobj
= 0;
27288 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27303 PyObject
* obj0
= 0 ;
27304 PyObject
* obj1
= 0 ;
27305 PyObject
* obj2
= 0 ;
27306 PyObject
* obj3
= 0 ;
27307 PyObject
* obj4
= 0 ;
27308 char * kwnames
[] = {
27309 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27314 if (!SWIG_IsOK(res1
)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27317 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27318 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27319 if (!SWIG_IsOK(ecode2
)) {
27320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27322 arg2
= static_cast< wxDouble
>(val2
);
27323 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27324 if (!SWIG_IsOK(ecode3
)) {
27325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27327 arg3
= static_cast< wxDouble
>(val3
);
27328 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27329 if (!SWIG_IsOK(ecode4
)) {
27330 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27332 arg4
= static_cast< wxDouble
>(val4
);
27333 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27334 if (!SWIG_IsOK(ecode5
)) {
27335 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27337 arg5
= static_cast< wxDouble
>(val5
);
27339 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27342 resultobj
= SWIG_Py_Void();
27349 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27350 PyObject
*resultobj
= 0;
27351 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27363 PyObject
* obj0
= 0 ;
27364 PyObject
* obj1
= 0 ;
27365 PyObject
* obj2
= 0 ;
27366 PyObject
* obj3
= 0 ;
27367 char * kwnames
[] = {
27368 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
27371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27373 if (!SWIG_IsOK(res1
)) {
27374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27376 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27377 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27378 if (!SWIG_IsOK(ecode2
)) {
27379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
27381 arg2
= static_cast< wxDouble
>(val2
);
27382 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27383 if (!SWIG_IsOK(ecode3
)) {
27384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
27386 arg3
= static_cast< wxDouble
>(val3
);
27387 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27388 if (!SWIG_IsOK(ecode4
)) {
27389 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
27391 arg4
= static_cast< wxDouble
>(val4
);
27393 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27396 resultobj
= SWIG_Py_Void();
27403 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27404 PyObject
*resultobj
= 0;
27405 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27423 PyObject
* obj0
= 0 ;
27424 PyObject
* obj1
= 0 ;
27425 PyObject
* obj2
= 0 ;
27426 PyObject
* obj3
= 0 ;
27427 PyObject
* obj4
= 0 ;
27428 PyObject
* obj5
= 0 ;
27429 char * kwnames
[] = {
27430 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
27433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27435 if (!SWIG_IsOK(res1
)) {
27436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27438 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27439 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27440 if (!SWIG_IsOK(ecode2
)) {
27441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
27443 arg2
= static_cast< wxDouble
>(val2
);
27444 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27445 if (!SWIG_IsOK(ecode3
)) {
27446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
27448 arg3
= static_cast< wxDouble
>(val3
);
27449 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27450 if (!SWIG_IsOK(ecode4
)) {
27451 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
27453 arg4
= static_cast< wxDouble
>(val4
);
27454 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27455 if (!SWIG_IsOK(ecode5
)) {
27456 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
27458 arg5
= static_cast< wxDouble
>(val5
);
27459 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27460 if (!SWIG_IsOK(ecode6
)) {
27461 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
27463 arg6
= static_cast< wxDouble
>(val6
);
27465 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27468 resultobj
= SWIG_Py_Void();
27475 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27476 PyObject
*resultobj
= 0;
27477 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27492 PyObject
* obj0
= 0 ;
27493 PyObject
* obj1
= 0 ;
27494 PyObject
* obj2
= 0 ;
27495 PyObject
* obj3
= 0 ;
27496 PyObject
* obj4
= 0 ;
27497 char * kwnames
[] = {
27498 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
27501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27503 if (!SWIG_IsOK(res1
)) {
27504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27506 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27507 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27508 if (!SWIG_IsOK(ecode2
)) {
27509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
27511 arg2
= static_cast< wxDouble
>(val2
);
27512 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27513 if (!SWIG_IsOK(ecode3
)) {
27514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
27516 arg3
= static_cast< wxDouble
>(val3
);
27517 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27518 if (!SWIG_IsOK(ecode4
)) {
27519 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
27521 arg4
= static_cast< wxDouble
>(val4
);
27522 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27523 if (!SWIG_IsOK(ecode5
)) {
27524 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
27526 arg5
= static_cast< wxDouble
>(val5
);
27528 (arg1
)->AddEllipse(arg2
,arg3
,arg4
,arg5
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27531 resultobj
= SWIG_Py_Void();
27538 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27539 PyObject
*resultobj
= 0;
27540 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27558 PyObject
* obj0
= 0 ;
27559 PyObject
* obj1
= 0 ;
27560 PyObject
* obj2
= 0 ;
27561 PyObject
* obj3
= 0 ;
27562 PyObject
* obj4
= 0 ;
27563 PyObject
* obj5
= 0 ;
27564 char * kwnames
[] = {
27565 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
27568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27570 if (!SWIG_IsOK(res1
)) {
27571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27573 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27574 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
27575 if (!SWIG_IsOK(ecode2
)) {
27576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
27578 arg2
= static_cast< wxDouble
>(val2
);
27579 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
27580 if (!SWIG_IsOK(ecode3
)) {
27581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
27583 arg3
= static_cast< wxDouble
>(val3
);
27584 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
27585 if (!SWIG_IsOK(ecode4
)) {
27586 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
27588 arg4
= static_cast< wxDouble
>(val4
);
27589 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
27590 if (!SWIG_IsOK(ecode5
)) {
27591 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
27593 arg5
= static_cast< wxDouble
>(val5
);
27594 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
27595 if (!SWIG_IsOK(ecode6
)) {
27596 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
27598 arg6
= static_cast< wxDouble
>(val6
);
27600 (arg1
)->AddRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27603 resultobj
= SWIG_Py_Void();
27610 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27611 PyObject
*resultobj
= 0;
27612 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27616 PyObject
*swig_obj
[1] ;
27618 if (!args
) SWIG_fail
;
27619 swig_obj
[0] = args
;
27620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27621 if (!SWIG_IsOK(res1
)) {
27622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27624 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27626 result
= (void *)((wxGraphicsPath
const *)arg1
)->GetNativePath();
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
27636 SWIGINTERN PyObject
*_wrap_GraphicsPath_UnGetNativePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27637 PyObject
*resultobj
= 0;
27638 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27639 void *arg2
= (void *) 0 ;
27643 PyObject
* obj0
= 0 ;
27644 PyObject
* obj1
= 0 ;
27645 char * kwnames
[] = {
27646 (char *) "self",(char *) "p", NULL
27649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_UnGetNativePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27651 if (!SWIG_IsOK(res1
)) {
27652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27654 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27655 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
27656 if (!SWIG_IsOK(res2
)) {
27657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_UnGetNativePath" "', expected argument " "2"" of type '" "void *""'");
27660 ((wxGraphicsPath
const *)arg1
)->UnGetNativePath(arg2
);
27661 if (PyErr_Occurred()) SWIG_fail
;
27663 resultobj
= SWIG_Py_Void();
27670 SWIGINTERN PyObject
*_wrap_GraphicsPath_Transform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27671 PyObject
*resultobj
= 0;
27672 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27673 wxGraphicsMatrix
*arg2
= 0 ;
27678 PyObject
* obj0
= 0 ;
27679 PyObject
* obj1
= 0 ;
27680 char * kwnames
[] = {
27681 (char *) "self",(char *) "matrix", NULL
27684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsPath_Transform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27686 if (!SWIG_IsOK(res1
)) {
27687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Transform" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
27689 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
27691 if (!SWIG_IsOK(res2
)) {
27692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsPath_Transform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
27697 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
27699 (arg1
)->Transform((wxGraphicsMatrix
const &)*arg2
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27702 resultobj
= SWIG_Py_Void();
27709 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27710 PyObject
*resultobj
= 0;
27711 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27715 PyObject
*swig_obj
[1] ;
27717 if (!args
) SWIG_fail
;
27718 swig_obj
[0] = args
;
27719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27720 if (!SWIG_IsOK(res1
)) {
27721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetBox" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27723 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27725 result
= ((wxGraphicsPath
const *)arg1
)->GetBox();
27726 if (PyErr_Occurred()) SWIG_fail
;
27728 resultobj
= SWIG_NewPointerObj((new wxRect2D(static_cast< const wxRect2D
& >(result
))), SWIGTYPE_p_wxRect2D
, SWIG_POINTER_OWN
| 0 );
27735 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27736 PyObject
*resultobj
= 0;
27737 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27740 int arg4
= (int) wxODDEVEN_RULE
;
27751 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
27752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27753 if (!SWIG_IsOK(res1
)) {
27754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27756 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27757 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
27758 if (!SWIG_IsOK(ecode2
)) {
27759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_Contains" "', expected argument " "2"" of type '" "wxDouble""'");
27761 arg2
= static_cast< wxDouble
>(val2
);
27762 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
27763 if (!SWIG_IsOK(ecode3
)) {
27764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "wxDouble""'");
27766 arg3
= static_cast< wxDouble
>(val3
);
27768 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27769 if (!SWIG_IsOK(ecode4
)) {
27770 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_Contains" "', expected argument " "4"" of type '" "int""'");
27772 arg4
= static_cast< int >(val4
);
27775 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains(arg2
,arg3
,arg4
);
27776 if (PyErr_Occurred()) SWIG_fail
;
27779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27787 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27788 PyObject
*resultobj
= 0;
27789 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
27790 wxPoint2D
*arg2
= 0 ;
27791 int arg3
= (int) wxODDEVEN_RULE
;
27799 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
27800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
27801 if (!SWIG_IsOK(res1
)) {
27802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_Contains" "', expected argument " "1"" of type '" "wxGraphicsPath const *""'");
27804 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
27807 if ( ! wxPoint2D_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
27810 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27811 if (!SWIG_IsOK(ecode3
)) {
27812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_Contains" "', expected argument " "3"" of type '" "int""'");
27814 arg3
= static_cast< int >(val3
);
27817 result
= (bool)((wxGraphicsPath
const *)arg1
)->Contains((wxPoint2D
const &)*arg2
,arg3
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27829 SWIGINTERN PyObject
*_wrap_GraphicsPath_Contains(PyObject
*self
, PyObject
*args
) {
27833 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsPath_Contains",0,4,argv
))) SWIG_fail
;
27835 if ((argc
>= 2) && (argc
<= 3)) {
27839 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint2D"), 2);
27842 if (!_v
) goto check_1
;
27846 int res
= SWIG_AsVal_int(argv
[2], NULL
);
27847 _v
= SWIG_CheckState(res
);
27850 if (!_v
) goto check_1
;
27852 return _wrap_GraphicsPath_Contains__SWIG_1(self
, argc
, argv
);
27856 if ((argc
>= 3) && (argc
<= 4)) {
27857 return _wrap_GraphicsPath_Contains__SWIG_0(self
, argc
, argv
);
27861 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsPath_Contains'");
27866 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27868 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27869 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
27870 return SWIG_Py_Void();
27873 SWIGINTERN
int NullGraphicsPen_set(PyObject
*) {
27874 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPen is read-only.");
27879 SWIGINTERN PyObject
*NullGraphicsPen_get(void) {
27880 PyObject
*pyobj
= 0;
27882 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPen
), SWIGTYPE_p_wxGraphicsPen
, 0 );
27887 SWIGINTERN
int NullGraphicsBrush_set(PyObject
*) {
27888 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsBrush is read-only.");
27893 SWIGINTERN PyObject
*NullGraphicsBrush_get(void) {
27894 PyObject
*pyobj
= 0;
27896 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsBrush
), SWIGTYPE_p_wxGraphicsBrush
, 0 );
27901 SWIGINTERN
int NullGraphicsFont_set(PyObject
*) {
27902 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsFont is read-only.");
27907 SWIGINTERN PyObject
*NullGraphicsFont_get(void) {
27908 PyObject
*pyobj
= 0;
27910 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsFont
), SWIGTYPE_p_wxGraphicsFont
, 0 );
27915 SWIGINTERN
int NullGraphicsMatrix_set(PyObject
*) {
27916 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsMatrix is read-only.");
27921 SWIGINTERN PyObject
*NullGraphicsMatrix_get(void) {
27922 PyObject
*pyobj
= 0;
27924 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsMatrix
), SWIGTYPE_p_wxGraphicsMatrix
, 0 );
27929 SWIGINTERN
int NullGraphicsPath_set(PyObject
*) {
27930 SWIG_Error(SWIG_AttributeError
,"Variable NullGraphicsPath is read-only.");
27935 SWIGINTERN PyObject
*NullGraphicsPath_get(void) {
27936 PyObject
*pyobj
= 0;
27938 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullGraphicsPath
), SWIGTYPE_p_wxGraphicsPath
, 0 );
27943 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27944 PyObject
*resultobj
= 0;
27945 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
27948 PyObject
*swig_obj
[1] ;
27950 if (!args
) SWIG_fail
;
27951 swig_obj
[0] = args
;
27952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
27953 if (!SWIG_IsOK(res1
)) {
27954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
27956 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
27960 if (PyErr_Occurred()) SWIG_fail
;
27962 resultobj
= SWIG_Py_Void();
27969 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27970 PyObject
*resultobj
= 0;
27971 wxWindowDC
*arg1
= 0 ;
27972 wxGraphicsContext
*result
= 0 ;
27976 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
27977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
27978 if (!SWIG_IsOK(res1
)) {
27979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
27984 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
27986 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
27996 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27997 PyObject
*resultobj
= 0;
27998 wxWindow
*arg1
= (wxWindow
*) 0 ;
27999 wxGraphicsContext
*result
= 0 ;
28003 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
28004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28005 if (!SWIG_IsOK(res1
)) {
28006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
28008 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28010 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
28011 if (PyErr_Occurred()) SWIG_fail
;
28013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28020 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
28024 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
28029 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
28030 _v
= SWIG_CheckState(res
);
28032 if (!_v
) goto check_1
;
28033 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
28038 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
28042 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
28047 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28048 PyObject
*resultobj
= 0;
28049 wxGraphicsContext
*result
= 0 ;
28051 if (!SWIG_Python_UnpackTuple(args
,"GraphicsContext_CreateMeasuringContext",0,0,0)) SWIG_fail
;
28053 result
= (wxGraphicsContext
*)wxGraphicsContext::Create();
28054 if (PyErr_Occurred()) SWIG_fail
;
28056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28063 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28064 PyObject
*resultobj
= 0;
28065 void *arg1
= (void *) 0 ;
28066 wxGraphicsContext
*result
= 0 ;
28068 PyObject
* obj0
= 0 ;
28069 char * kwnames
[] = {
28070 (char *) "context", NULL
28073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
28074 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28075 if (!SWIG_IsOK(res1
)) {
28076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
28079 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
28089 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28090 PyObject
*resultobj
= 0;
28091 void *arg1
= (void *) 0 ;
28092 wxGraphicsContext
*result
= 0 ;
28094 PyObject
* obj0
= 0 ;
28095 char * kwnames
[] = {
28096 (char *) "window", NULL
28099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNativeWindow",kwnames
,&obj0
)) SWIG_fail
;
28100 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
28101 if (!SWIG_IsOK(res1
)) {
28102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNativeWindow" "', expected argument " "1"" of type '" "void *""'");
28105 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNativeWindow(arg1
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28115 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28116 PyObject
*resultobj
= 0;
28117 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28118 wxGraphicsPath result
;
28121 PyObject
*swig_obj
[1] ;
28123 if (!args
) SWIG_fail
;
28124 swig_obj
[0] = args
;
28125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28126 if (!SWIG_IsOK(res1
)) {
28127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28129 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28131 result
= (arg1
)->CreatePath();
28132 if (PyErr_Occurred()) SWIG_fail
;
28134 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
28141 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28142 PyObject
*resultobj
= 0;
28143 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28145 wxGraphicsPen result
;
28150 PyObject
* obj0
= 0 ;
28151 PyObject
* obj1
= 0 ;
28152 char * kwnames
[] = {
28153 (char *) "self",(char *) "pen", NULL
28156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28158 if (!SWIG_IsOK(res1
)) {
28159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28161 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28162 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
28163 if (!SWIG_IsOK(res2
)) {
28164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
28169 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28171 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
28172 if (PyErr_Occurred()) SWIG_fail
;
28174 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
28181 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28182 PyObject
*resultobj
= 0;
28183 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28184 wxBrush
*arg2
= 0 ;
28185 wxGraphicsBrush result
;
28190 PyObject
* obj0
= 0 ;
28191 PyObject
* obj1
= 0 ;
28192 char * kwnames
[] = {
28193 (char *) "self",(char *) "brush", NULL
28196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28198 if (!SWIG_IsOK(res1
)) {
28199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28201 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28202 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
28203 if (!SWIG_IsOK(res2
)) {
28204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
28209 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28211 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
28212 if (PyErr_Occurred()) SWIG_fail
;
28214 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28221 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28222 PyObject
*resultobj
= 0;
28223 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28228 wxColour
*arg6
= 0 ;
28229 wxColour
*arg7
= 0 ;
28230 wxGraphicsBrush result
;
28243 PyObject
* obj0
= 0 ;
28244 PyObject
* obj1
= 0 ;
28245 PyObject
* obj2
= 0 ;
28246 PyObject
* obj3
= 0 ;
28247 PyObject
* obj4
= 0 ;
28248 PyObject
* obj5
= 0 ;
28249 PyObject
* obj6
= 0 ;
28250 char * kwnames
[] = {
28251 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
28254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28256 if (!SWIG_IsOK(res1
)) {
28257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28259 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28260 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28261 if (!SWIG_IsOK(ecode2
)) {
28262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28264 arg2
= static_cast< wxDouble
>(val2
);
28265 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28266 if (!SWIG_IsOK(ecode3
)) {
28267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28269 arg3
= static_cast< wxDouble
>(val3
);
28270 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28271 if (!SWIG_IsOK(ecode4
)) {
28272 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28274 arg4
= static_cast< wxDouble
>(val4
);
28275 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28276 if (!SWIG_IsOK(ecode5
)) {
28277 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28279 arg5
= static_cast< wxDouble
>(val5
);
28282 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28286 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28289 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
28290 if (PyErr_Occurred()) SWIG_fail
;
28292 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28299 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28300 PyObject
*resultobj
= 0;
28301 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28307 wxColour
*arg7
= 0 ;
28308 wxColour
*arg8
= 0 ;
28309 wxGraphicsBrush result
;
28324 PyObject
* obj0
= 0 ;
28325 PyObject
* obj1
= 0 ;
28326 PyObject
* obj2
= 0 ;
28327 PyObject
* obj3
= 0 ;
28328 PyObject
* obj4
= 0 ;
28329 PyObject
* obj5
= 0 ;
28330 PyObject
* obj6
= 0 ;
28331 PyObject
* obj7
= 0 ;
28332 char * kwnames
[] = {
28333 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
28336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28338 if (!SWIG_IsOK(res1
)) {
28339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28341 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28342 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28343 if (!SWIG_IsOK(ecode2
)) {
28344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
28346 arg2
= static_cast< wxDouble
>(val2
);
28347 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28348 if (!SWIG_IsOK(ecode3
)) {
28349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
28351 arg3
= static_cast< wxDouble
>(val3
);
28352 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28353 if (!SWIG_IsOK(ecode4
)) {
28354 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
28356 arg4
= static_cast< wxDouble
>(val4
);
28357 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28358 if (!SWIG_IsOK(ecode5
)) {
28359 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
28361 arg5
= static_cast< wxDouble
>(val5
);
28362 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28363 if (!SWIG_IsOK(ecode6
)) {
28364 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
28366 arg6
= static_cast< wxDouble
>(val6
);
28369 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
28373 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
28376 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
28377 if (PyErr_Occurred()) SWIG_fail
;
28379 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
28386 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28387 PyObject
*resultobj
= 0;
28388 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28390 wxColour
const &arg3_defvalue
= *wxBLACK
;
28391 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
28392 wxGraphicsFont result
;
28398 PyObject
* obj0
= 0 ;
28399 PyObject
* obj1
= 0 ;
28400 PyObject
* obj2
= 0 ;
28401 char * kwnames
[] = {
28402 (char *) "self",(char *) "font",(char *) "col", NULL
28405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28407 if (!SWIG_IsOK(res1
)) {
28408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28410 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28411 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
28412 if (!SWIG_IsOK(res2
)) {
28413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28416 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
28418 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28422 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28426 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
28427 if (PyErr_Occurred()) SWIG_fail
;
28429 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
28436 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28437 PyObject
*resultobj
= 0;
28438 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28439 wxDouble arg2
= (wxDouble
) 1.0 ;
28440 wxDouble arg3
= (wxDouble
) 0.0 ;
28441 wxDouble arg4
= (wxDouble
) 0.0 ;
28442 wxDouble arg5
= (wxDouble
) 1.0 ;
28443 wxDouble arg6
= (wxDouble
) 0.0 ;
28444 wxDouble arg7
= (wxDouble
) 0.0 ;
28445 wxGraphicsMatrix result
;
28460 PyObject
* obj0
= 0 ;
28461 PyObject
* obj1
= 0 ;
28462 PyObject
* obj2
= 0 ;
28463 PyObject
* obj3
= 0 ;
28464 PyObject
* obj4
= 0 ;
28465 PyObject
* obj5
= 0 ;
28466 PyObject
* obj6
= 0 ;
28467 char * kwnames
[] = {
28468 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
28471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsContext_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28473 if (!SWIG_IsOK(res1
)) {
28474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28476 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28478 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28479 if (!SWIG_IsOK(ecode2
)) {
28480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
28482 arg2
= static_cast< wxDouble
>(val2
);
28485 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28486 if (!SWIG_IsOK(ecode3
)) {
28487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
28489 arg3
= static_cast< wxDouble
>(val3
);
28492 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28493 if (!SWIG_IsOK(ecode4
)) {
28494 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
28496 arg4
= static_cast< wxDouble
>(val4
);
28499 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28500 if (!SWIG_IsOK(ecode5
)) {
28501 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
28503 arg5
= static_cast< wxDouble
>(val5
);
28506 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
28507 if (!SWIG_IsOK(ecode6
)) {
28508 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
28510 arg6
= static_cast< wxDouble
>(val6
);
28513 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
28514 if (!SWIG_IsOK(ecode7
)) {
28515 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsContext_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
28517 arg7
= static_cast< wxDouble
>(val7
);
28520 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
28521 if (PyErr_Occurred()) SWIG_fail
;
28523 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
28530 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28531 PyObject
*resultobj
= 0;
28532 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28535 PyObject
*swig_obj
[1] ;
28537 if (!args
) SWIG_fail
;
28538 swig_obj
[0] = args
;
28539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28540 if (!SWIG_IsOK(res1
)) {
28541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28543 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28545 (arg1
)->PushState();
28546 if (PyErr_Occurred()) SWIG_fail
;
28548 resultobj
= SWIG_Py_Void();
28555 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28556 PyObject
*resultobj
= 0;
28557 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28560 PyObject
*swig_obj
[1] ;
28562 if (!args
) SWIG_fail
;
28563 swig_obj
[0] = args
;
28564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28565 if (!SWIG_IsOK(res1
)) {
28566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28568 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28570 (arg1
)->PopState();
28571 if (PyErr_Occurred()) SWIG_fail
;
28573 resultobj
= SWIG_Py_Void();
28580 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28581 PyObject
*resultobj
= 0;
28582 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28583 wxRegion
*arg2
= 0 ;
28588 PyObject
* obj0
= 0 ;
28589 PyObject
* obj1
= 0 ;
28590 char * kwnames
[] = {
28591 (char *) "self",(char *) "region", NULL
28594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28596 if (!SWIG_IsOK(res1
)) {
28597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28599 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
28601 if (!SWIG_IsOK(res2
)) {
28602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
28607 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
28609 (arg1
)->Clip((wxRegion
const &)*arg2
);
28610 if (PyErr_Occurred()) SWIG_fail
;
28612 resultobj
= SWIG_Py_Void();
28619 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28620 PyObject
*resultobj
= 0;
28621 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28636 PyObject
* obj0
= 0 ;
28637 PyObject
* obj1
= 0 ;
28638 PyObject
* obj2
= 0 ;
28639 PyObject
* obj3
= 0 ;
28640 PyObject
* obj4
= 0 ;
28641 char * kwnames
[] = {
28642 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28647 if (!SWIG_IsOK(res1
)) {
28648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28650 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28651 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28652 if (!SWIG_IsOK(ecode2
)) {
28653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
28655 arg2
= static_cast< wxDouble
>(val2
);
28656 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28657 if (!SWIG_IsOK(ecode3
)) {
28658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
28660 arg3
= static_cast< wxDouble
>(val3
);
28661 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
28662 if (!SWIG_IsOK(ecode4
)) {
28663 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
28665 arg4
= static_cast< wxDouble
>(val4
);
28666 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
28667 if (!SWIG_IsOK(ecode5
)) {
28668 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
28670 arg5
= static_cast< wxDouble
>(val5
);
28672 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28675 resultobj
= SWIG_Py_Void();
28682 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28683 PyObject
*resultobj
= 0;
28684 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28687 PyObject
*swig_obj
[1] ;
28689 if (!args
) SWIG_fail
;
28690 swig_obj
[0] = args
;
28691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28692 if (!SWIG_IsOK(res1
)) {
28693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28695 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28697 (arg1
)->ResetClip();
28698 if (PyErr_Occurred()) SWIG_fail
;
28700 resultobj
= SWIG_Py_Void();
28707 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28708 PyObject
*resultobj
= 0;
28709 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28713 PyObject
*swig_obj
[1] ;
28715 if (!args
) SWIG_fail
;
28716 swig_obj
[0] = args
;
28717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28718 if (!SWIG_IsOK(res1
)) {
28719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28721 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28723 result
= (void *)(arg1
)->GetNativeContext();
28724 if (PyErr_Occurred()) SWIG_fail
;
28726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
28733 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28734 PyObject
*resultobj
= 0;
28735 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28739 PyObject
*swig_obj
[1] ;
28741 if (!args
) SWIG_fail
;
28742 swig_obj
[0] = args
;
28743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28744 if (!SWIG_IsOK(res1
)) {
28745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
28747 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28749 result
= (int)((wxGraphicsContext
const *)arg1
)->GetLogicalFunction();
28750 if (PyErr_Occurred()) SWIG_fail
;
28752 resultobj
= SWIG_From_int(static_cast< int >(result
));
28759 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28760 PyObject
*resultobj
= 0;
28761 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28768 PyObject
* obj0
= 0 ;
28769 PyObject
* obj1
= 0 ;
28770 char * kwnames
[] = {
28771 (char *) "self",(char *) "function", NULL
28774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28776 if (!SWIG_IsOK(res1
)) {
28777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28779 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28781 if (!SWIG_IsOK(ecode2
)) {
28782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
28784 arg2
= static_cast< int >(val2
);
28786 result
= (bool)(arg1
)->SetLogicalFunction(arg2
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28798 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28799 PyObject
*resultobj
= 0;
28800 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28809 PyObject
* obj0
= 0 ;
28810 PyObject
* obj1
= 0 ;
28811 PyObject
* obj2
= 0 ;
28812 char * kwnames
[] = {
28813 (char *) "self",(char *) "dx",(char *) "dy", NULL
28816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28818 if (!SWIG_IsOK(res1
)) {
28819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28821 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28822 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28823 if (!SWIG_IsOK(ecode2
)) {
28824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
28826 arg2
= static_cast< wxDouble
>(val2
);
28827 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28828 if (!SWIG_IsOK(ecode3
)) {
28829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
28831 arg3
= static_cast< wxDouble
>(val3
);
28833 (arg1
)->Translate(arg2
,arg3
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28836 resultobj
= SWIG_Py_Void();
28843 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28844 PyObject
*resultobj
= 0;
28845 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28854 PyObject
* obj0
= 0 ;
28855 PyObject
* obj1
= 0 ;
28856 PyObject
* obj2
= 0 ;
28857 char * kwnames
[] = {
28858 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
28861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28863 if (!SWIG_IsOK(res1
)) {
28864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28866 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28867 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28868 if (!SWIG_IsOK(ecode2
)) {
28869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
28871 arg2
= static_cast< wxDouble
>(val2
);
28872 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
28873 if (!SWIG_IsOK(ecode3
)) {
28874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
28876 arg3
= static_cast< wxDouble
>(val3
);
28878 (arg1
)->Scale(arg2
,arg3
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= SWIG_Py_Void();
28888 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28889 PyObject
*resultobj
= 0;
28890 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28896 PyObject
* obj0
= 0 ;
28897 PyObject
* obj1
= 0 ;
28898 char * kwnames
[] = {
28899 (char *) "self",(char *) "angle", NULL
28902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28904 if (!SWIG_IsOK(res1
)) {
28905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28907 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28908 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
28909 if (!SWIG_IsOK(ecode2
)) {
28910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
28912 arg2
= static_cast< wxDouble
>(val2
);
28914 (arg1
)->Rotate(arg2
);
28915 if (PyErr_Occurred()) SWIG_fail
;
28917 resultobj
= SWIG_Py_Void();
28924 SWIGINTERN PyObject
*_wrap_GraphicsContext_ConcatTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28925 PyObject
*resultobj
= 0;
28926 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28927 wxGraphicsMatrix
*arg2
= 0 ;
28932 PyObject
* obj0
= 0 ;
28933 PyObject
* obj1
= 0 ;
28934 char * kwnames
[] = {
28935 (char *) "self",(char *) "matrix", NULL
28938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ConcatTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28940 if (!SWIG_IsOK(res1
)) {
28941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28943 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28944 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28945 if (!SWIG_IsOK(res2
)) {
28946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ConcatTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28951 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28953 (arg1
)->ConcatTransform((wxGraphicsMatrix
const &)*arg2
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28956 resultobj
= SWIG_Py_Void();
28963 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28964 PyObject
*resultobj
= 0;
28965 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
28966 wxGraphicsMatrix
*arg2
= 0 ;
28971 PyObject
* obj0
= 0 ;
28972 PyObject
* obj1
= 0 ;
28973 char * kwnames
[] = {
28974 (char *) "self",(char *) "matrix", NULL
28977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTransform",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
28979 if (!SWIG_IsOK(res1
)) {
28980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
28982 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
28983 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsMatrix
, 0 | 0);
28984 if (!SWIG_IsOK(res2
)) {
28985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetTransform" "', expected argument " "2"" of type '" "wxGraphicsMatrix const &""'");
28990 arg2
= reinterpret_cast< wxGraphicsMatrix
* >(argp2
);
28992 (arg1
)->SetTransform((wxGraphicsMatrix
const &)*arg2
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28995 resultobj
= SWIG_Py_Void();
29002 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTransform(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29003 PyObject
*resultobj
= 0;
29004 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29005 wxGraphicsMatrix result
;
29008 PyObject
*swig_obj
[1] ;
29010 if (!args
) SWIG_fail
;
29011 swig_obj
[0] = args
;
29012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29013 if (!SWIG_IsOK(res1
)) {
29014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTransform" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29016 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29018 result
= ((wxGraphicsContext
const *)arg1
)->GetTransform();
29019 if (PyErr_Occurred()) SWIG_fail
;
29021 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
29028 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29029 PyObject
*resultobj
= 0;
29030 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29031 wxGraphicsPen
*arg2
= 0 ;
29037 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29039 if (!SWIG_IsOK(res1
)) {
29040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29042 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29043 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsPen
, 0 | 0);
29044 if (!SWIG_IsOK(res2
)) {
29045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxGraphicsPen const &""'");
29050 arg2
= reinterpret_cast< wxGraphicsPen
* >(argp2
);
29052 (arg1
)->SetPen((wxGraphicsPen
const &)*arg2
);
29053 if (PyErr_Occurred()) SWIG_fail
;
29055 resultobj
= SWIG_Py_Void();
29062 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29063 PyObject
*resultobj
= 0;
29064 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29071 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29073 if (!SWIG_IsOK(res1
)) {
29074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29076 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29077 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
29078 if (!SWIG_IsOK(res2
)) {
29079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
29084 arg2
= reinterpret_cast< wxPen
* >(argp2
);
29086 (arg1
)->SetPen((wxPen
const &)*arg2
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29089 resultobj
= SWIG_Py_Void();
29096 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*self
, PyObject
*args
) {
29100 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetPen",0,2,argv
))) SWIG_fail
;
29105 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsPen
, 0);
29106 _v
= SWIG_CheckState(res
);
29108 if (!_v
) goto check_1
;
29109 return _wrap_GraphicsContext_SetPen__SWIG_0(self
, argc
, argv
);
29114 return _wrap_GraphicsContext_SetPen__SWIG_1(self
, argc
, argv
);
29118 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetPen'");
29123 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29124 PyObject
*resultobj
= 0;
29125 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29126 wxGraphicsBrush
*arg2
= 0 ;
29132 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29134 if (!SWIG_IsOK(res1
)) {
29135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29137 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29138 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29139 if (!SWIG_IsOK(res2
)) {
29140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxGraphicsBrush const &""'");
29145 arg2
= reinterpret_cast< wxGraphicsBrush
* >(argp2
);
29147 (arg1
)->SetBrush((wxGraphicsBrush
const &)*arg2
);
29148 if (PyErr_Occurred()) SWIG_fail
;
29150 resultobj
= SWIG_Py_Void();
29157 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29158 PyObject
*resultobj
= 0;
29159 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29160 wxBrush
*arg2
= 0 ;
29166 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29168 if (!SWIG_IsOK(res1
)) {
29169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29171 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29172 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
29173 if (!SWIG_IsOK(res2
)) {
29174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
29179 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
29181 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29184 resultobj
= SWIG_Py_Void();
29191 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*self
, PyObject
*args
) {
29195 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetBrush",0,2,argv
))) SWIG_fail
;
29200 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsBrush
, 0);
29201 _v
= SWIG_CheckState(res
);
29203 if (!_v
) goto check_1
;
29204 return _wrap_GraphicsContext_SetBrush__SWIG_0(self
, argc
, argv
);
29209 return _wrap_GraphicsContext_SetBrush__SWIG_1(self
, argc
, argv
);
29213 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetBrush'");
29218 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29219 PyObject
*resultobj
= 0;
29220 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29221 wxGraphicsFont
*arg2
= 0 ;
29227 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
29228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29229 if (!SWIG_IsOK(res1
)) {
29230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29232 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29233 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxGraphicsFont
, 0 | 0);
29234 if (!SWIG_IsOK(res2
)) {
29235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxGraphicsFont const &""'");
29240 arg2
= reinterpret_cast< wxGraphicsFont
* >(argp2
);
29242 (arg1
)->SetFont((wxGraphicsFont
const &)*arg2
);
29243 if (PyErr_Occurred()) SWIG_fail
;
29245 resultobj
= SWIG_Py_Void();
29252 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29253 PyObject
*resultobj
= 0;
29254 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29256 wxColour
const &arg3_defvalue
= *wxBLACK
;
29257 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
29264 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29266 if (!SWIG_IsOK(res1
)) {
29267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29269 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29270 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
29271 if (!SWIG_IsOK(res2
)) {
29272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
29277 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29281 if ( ! wxColour_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
29285 (arg1
)->SetFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29288 resultobj
= SWIG_Py_Void();
29295 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*self
, PyObject
*args
) {
29299 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_SetFont",0,3,argv
))) SWIG_fail
;
29304 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxGraphicsFont
, 0);
29305 _v
= SWIG_CheckState(res
);
29307 if (!_v
) goto check_1
;
29308 return _wrap_GraphicsContext_SetFont__SWIG_0(self
, argc
, argv
);
29312 if ((argc
>= 2) && (argc
<= 3)) {
29313 return _wrap_GraphicsContext_SetFont__SWIG_1(self
, argc
, argv
);
29317 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_SetFont'");
29322 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29323 PyObject
*resultobj
= 0;
29324 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29325 wxGraphicsPath
*arg2
= 0 ;
29330 PyObject
* obj0
= 0 ;
29331 PyObject
* obj1
= 0 ;
29332 char * kwnames
[] = {
29333 (char *) "self",(char *) "path", NULL
29336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29338 if (!SWIG_IsOK(res1
)) {
29339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29341 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29342 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29343 if (!SWIG_IsOK(res2
)) {
29344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29349 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29351 (arg1
)->StrokePath((wxGraphicsPath
const &)*arg2
);
29352 if (PyErr_Occurred()) SWIG_fail
;
29354 resultobj
= SWIG_Py_Void();
29361 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29362 PyObject
*resultobj
= 0;
29363 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29364 wxGraphicsPath
*arg2
= 0 ;
29365 int arg3
= (int) wxODDEVEN_RULE
;
29372 PyObject
* obj0
= 0 ;
29373 PyObject
* obj1
= 0 ;
29374 PyObject
* obj2
= 0 ;
29375 char * kwnames
[] = {
29376 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29381 if (!SWIG_IsOK(res1
)) {
29382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29384 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29385 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29386 if (!SWIG_IsOK(res2
)) {
29387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29392 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29395 if (!SWIG_IsOK(ecode3
)) {
29396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
29398 arg3
= static_cast< int >(val3
);
29401 (arg1
)->FillPath((wxGraphicsPath
const &)*arg2
,arg3
);
29402 if (PyErr_Occurred()) SWIG_fail
;
29404 resultobj
= SWIG_Py_Void();
29411 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29412 PyObject
*resultobj
= 0;
29413 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29414 wxGraphicsPath
*arg2
= 0 ;
29415 int arg3
= (int) wxODDEVEN_RULE
;
29422 PyObject
* obj0
= 0 ;
29423 PyObject
* obj1
= 0 ;
29424 PyObject
* obj2
= 0 ;
29425 char * kwnames
[] = {
29426 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
29429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29431 if (!SWIG_IsOK(res1
)) {
29432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29434 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29435 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGraphicsPath
, 0 | 0);
29436 if (!SWIG_IsOK(res2
)) {
29437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const &""'");
29442 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
29444 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29445 if (!SWIG_IsOK(ecode3
)) {
29446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
29448 arg3
= static_cast< int >(val3
);
29451 (arg1
)->DrawPath((wxGraphicsPath
const &)*arg2
,arg3
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29454 resultobj
= SWIG_Py_Void();
29461 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29462 PyObject
*resultobj
= 0;
29463 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29464 wxString
*arg2
= 0 ;
29467 wxGraphicsBrush
const &arg5_defvalue
= wxNullGraphicsBrush
;
29468 wxGraphicsBrush
*arg5
= (wxGraphicsBrush
*) &arg5_defvalue
;
29471 bool temp2
= false ;
29478 PyObject
* obj0
= 0 ;
29479 PyObject
* obj1
= 0 ;
29480 PyObject
* obj2
= 0 ;
29481 PyObject
* obj3
= 0 ;
29482 PyObject
* obj4
= 0 ;
29483 char * kwnames
[] = {
29484 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "backgroundBrush", NULL
29487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29489 if (!SWIG_IsOK(res1
)) {
29490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29492 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29494 arg2
= wxString_in_helper(obj1
);
29495 if (arg2
== NULL
) SWIG_fail
;
29498 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29499 if (!SWIG_IsOK(ecode3
)) {
29500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
29502 arg3
= static_cast< wxDouble
>(val3
);
29503 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29504 if (!SWIG_IsOK(ecode4
)) {
29505 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
29507 arg4
= static_cast< wxDouble
>(val4
);
29509 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29510 if (!SWIG_IsOK(res5
)) {
29511 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxGraphicsBrush const &""'");
29516 arg5
= reinterpret_cast< wxGraphicsBrush
* >(argp5
);
29519 wxGraphicsContext_DrawText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,(wxGraphicsBrush
const &)*arg5
);
29520 if (PyErr_Occurred()) SWIG_fail
;
29522 resultobj
= SWIG_Py_Void();
29537 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29538 PyObject
*resultobj
= 0;
29539 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29540 wxString
*arg2
= 0 ;
29544 wxGraphicsBrush
const &arg6_defvalue
= wxNullGraphicsBrush
;
29545 wxGraphicsBrush
*arg6
= (wxGraphicsBrush
*) &arg6_defvalue
;
29548 bool temp2
= false ;
29557 PyObject
* obj0
= 0 ;
29558 PyObject
* obj1
= 0 ;
29559 PyObject
* obj2
= 0 ;
29560 PyObject
* obj3
= 0 ;
29561 PyObject
* obj4
= 0 ;
29562 PyObject
* obj5
= 0 ;
29563 char * kwnames
[] = {
29564 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle",(char *) "backgroundBrush", NULL
29567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29569 if (!SWIG_IsOK(res1
)) {
29570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29572 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29574 arg2
= wxString_in_helper(obj1
);
29575 if (arg2
== NULL
) SWIG_fail
;
29578 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29579 if (!SWIG_IsOK(ecode3
)) {
29580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
29582 arg3
= static_cast< wxDouble
>(val3
);
29583 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29584 if (!SWIG_IsOK(ecode4
)) {
29585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
29587 arg4
= static_cast< wxDouble
>(val4
);
29588 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29589 if (!SWIG_IsOK(ecode5
)) {
29590 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
29592 arg5
= static_cast< wxDouble
>(val5
);
29594 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxGraphicsBrush
, 0 | 0);
29595 if (!SWIG_IsOK(res6
)) {
29596 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "6"" of type '" "wxGraphicsBrush const &""'");
29601 arg6
= reinterpret_cast< wxGraphicsBrush
* >(argp6
);
29604 wxGraphicsContext_DrawRotatedText(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,(wxGraphicsBrush
const &)*arg6
);
29605 if (PyErr_Occurred()) SWIG_fail
;
29607 resultobj
= SWIG_Py_Void();
29622 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29623 PyObject
*resultobj
= 0;
29624 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29625 wxString
*arg2
= 0 ;
29626 wxDouble
*arg3
= (wxDouble
*) 0 ;
29627 wxDouble
*arg4
= (wxDouble
*) 0 ;
29628 wxDouble
*arg5
= (wxDouble
*) 0 ;
29629 wxDouble
*arg6
= (wxDouble
*) 0 ;
29632 bool temp2
= false ;
29634 int res3
= SWIG_TMPOBJ
;
29636 int res4
= SWIG_TMPOBJ
;
29638 int res5
= SWIG_TMPOBJ
;
29640 int res6
= SWIG_TMPOBJ
;
29641 PyObject
* obj0
= 0 ;
29642 PyObject
* obj1
= 0 ;
29643 char * kwnames
[] = {
29644 (char *) "self",(char *) "text", NULL
29651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetFullTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29653 if (!SWIG_IsOK(res1
)) {
29654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetFullTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
29656 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29658 arg2
= wxString_in_helper(obj1
);
29659 if (arg2
== NULL
) SWIG_fail
;
29663 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29664 if (PyErr_Occurred()) SWIG_fail
;
29666 resultobj
= SWIG_Py_Void();
29667 if (SWIG_IsTmpObj(res3
)) {
29668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
29670 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
29673 if (SWIG_IsTmpObj(res4
)) {
29674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
29676 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29677 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
29679 if (SWIG_IsTmpObj(res5
)) {
29680 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
29682 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
29685 if (SWIG_IsTmpObj(res6
)) {
29686 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
29688 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
29705 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29706 PyObject
*resultobj
= 0;
29707 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29708 wxString
*arg2
= 0 ;
29709 PyObject
*result
= 0 ;
29712 bool temp2
= false ;
29713 PyObject
* obj0
= 0 ;
29714 PyObject
* obj1
= 0 ;
29715 char * kwnames
[] = {
29716 (char *) "self",(char *) "text", NULL
29719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29721 if (!SWIG_IsOK(res1
)) {
29722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29724 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29726 arg2
= wxString_in_helper(obj1
);
29727 if (arg2
== NULL
) SWIG_fail
;
29731 result
= (PyObject
*)wxGraphicsContext_GetTextExtent(arg1
,(wxString
const &)*arg2
);
29732 if (PyErr_Occurred()) SWIG_fail
;
29734 resultobj
= result
;
29749 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29750 PyObject
*resultobj
= 0;
29751 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29752 wxString
*arg2
= 0 ;
29753 wxArrayDouble result
;
29756 bool temp2
= false ;
29757 PyObject
* obj0
= 0 ;
29758 PyObject
* obj1
= 0 ;
29759 char * kwnames
[] = {
29760 (char *) "self",(char *) "text", NULL
29763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29765 if (!SWIG_IsOK(res1
)) {
29766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29768 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29770 arg2
= wxString_in_helper(obj1
);
29771 if (arg2
== NULL
) SWIG_fail
;
29775 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= wxArrayDouble2PyList_helper(result
);
29795 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29796 PyObject
*resultobj
= 0;
29797 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29798 wxBitmap
*arg2
= 0 ;
29815 PyObject
* obj0
= 0 ;
29816 PyObject
* obj1
= 0 ;
29817 PyObject
* obj2
= 0 ;
29818 PyObject
* obj3
= 0 ;
29819 PyObject
* obj4
= 0 ;
29820 PyObject
* obj5
= 0 ;
29821 char * kwnames
[] = {
29822 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29827 if (!SWIG_IsOK(res1
)) {
29828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29830 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29831 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
29832 if (!SWIG_IsOK(res2
)) {
29833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29836 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
29838 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29839 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29840 if (!SWIG_IsOK(ecode3
)) {
29841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
29843 arg3
= static_cast< wxDouble
>(val3
);
29844 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29845 if (!SWIG_IsOK(ecode4
)) {
29846 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
29848 arg4
= static_cast< wxDouble
>(val4
);
29849 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29850 if (!SWIG_IsOK(ecode5
)) {
29851 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
29853 arg5
= static_cast< wxDouble
>(val5
);
29854 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29855 if (!SWIG_IsOK(ecode6
)) {
29856 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
29858 arg6
= static_cast< wxDouble
>(val6
);
29860 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29861 if (PyErr_Occurred()) SWIG_fail
;
29863 resultobj
= SWIG_Py_Void();
29870 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29871 PyObject
*resultobj
= 0;
29872 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29890 PyObject
* obj0
= 0 ;
29891 PyObject
* obj1
= 0 ;
29892 PyObject
* obj2
= 0 ;
29893 PyObject
* obj3
= 0 ;
29894 PyObject
* obj4
= 0 ;
29895 PyObject
* obj5
= 0 ;
29896 char * kwnames
[] = {
29897 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29902 if (!SWIG_IsOK(res1
)) {
29903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29905 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29906 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
29907 if (!SWIG_IsOK(res2
)) {
29908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
29913 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
29914 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29915 if (!SWIG_IsOK(ecode3
)) {
29916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
29918 arg3
= static_cast< wxDouble
>(val3
);
29919 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29920 if (!SWIG_IsOK(ecode4
)) {
29921 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
29923 arg4
= static_cast< wxDouble
>(val4
);
29924 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29925 if (!SWIG_IsOK(ecode5
)) {
29926 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
29928 arg5
= static_cast< wxDouble
>(val5
);
29929 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29930 if (!SWIG_IsOK(ecode6
)) {
29931 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
29933 arg6
= static_cast< wxDouble
>(val6
);
29935 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
29936 if (PyErr_Occurred()) SWIG_fail
;
29938 resultobj
= SWIG_Py_Void();
29945 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29946 PyObject
*resultobj
= 0;
29947 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
29962 PyObject
* obj0
= 0 ;
29963 PyObject
* obj1
= 0 ;
29964 PyObject
* obj2
= 0 ;
29965 PyObject
* obj3
= 0 ;
29966 PyObject
* obj4
= 0 ;
29967 char * kwnames
[] = {
29968 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
29973 if (!SWIG_IsOK(res1
)) {
29974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
29976 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
29977 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
29978 if (!SWIG_IsOK(ecode2
)) {
29979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
29981 arg2
= static_cast< wxDouble
>(val2
);
29982 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29983 if (!SWIG_IsOK(ecode3
)) {
29984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
29986 arg3
= static_cast< wxDouble
>(val3
);
29987 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29988 if (!SWIG_IsOK(ecode4
)) {
29989 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
29991 arg4
= static_cast< wxDouble
>(val4
);
29992 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29993 if (!SWIG_IsOK(ecode5
)) {
29994 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
29996 arg5
= static_cast< wxDouble
>(val5
);
29998 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30001 resultobj
= SWIG_Py_Void();
30008 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30009 PyObject
*resultobj
= 0;
30010 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30012 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30015 PyObject
* obj0
= 0 ;
30016 PyObject
* obj1
= 0 ;
30017 char * kwnames
[] = {
30018 (char *) "self",(char *) "points", NULL
30021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30023 if (!SWIG_IsOK(res1
)) {
30024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30026 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30028 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30029 if (arg3
== NULL
) SWIG_fail
;
30032 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
30033 if (PyErr_Occurred()) SWIG_fail
;
30035 resultobj
= SWIG_Py_Void();
30037 if (arg3
) delete [] arg3
;
30042 if (arg3
) delete [] arg3
;
30048 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30049 PyObject
*resultobj
= 0;
30050 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30051 PyObject
*arg2
= (PyObject
*) 0 ;
30052 PyObject
*arg3
= (PyObject
*) 0 ;
30055 PyObject
* obj0
= 0 ;
30056 PyObject
* obj1
= 0 ;
30057 PyObject
* obj2
= 0 ;
30058 char * kwnames
[] = {
30059 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
30062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30064 if (!SWIG_IsOK(res1
)) {
30065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30067 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30071 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30074 resultobj
= SWIG_Py_Void();
30081 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30082 PyObject
*resultobj
= 0;
30083 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30085 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
30086 int arg4
= (int) wxODDEVEN_RULE
;
30091 PyObject
* obj0
= 0 ;
30092 PyObject
* obj1
= 0 ;
30093 PyObject
* obj2
= 0 ;
30094 char * kwnames
[] = {
30095 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
30098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30100 if (!SWIG_IsOK(res1
)) {
30101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30103 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30105 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
30106 if (arg3
== NULL
) SWIG_fail
;
30109 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30110 if (!SWIG_IsOK(ecode4
)) {
30111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
30113 arg4
= static_cast< int >(val4
);
30116 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
30117 if (PyErr_Occurred()) SWIG_fail
;
30119 resultobj
= SWIG_Py_Void();
30121 if (arg3
) delete [] arg3
;
30126 if (arg3
) delete [] arg3
;
30132 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30133 PyObject
*resultobj
= 0;
30134 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30149 PyObject
* obj0
= 0 ;
30150 PyObject
* obj1
= 0 ;
30151 PyObject
* obj2
= 0 ;
30152 PyObject
* obj3
= 0 ;
30153 PyObject
* obj4
= 0 ;
30154 char * kwnames
[] = {
30155 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30160 if (!SWIG_IsOK(res1
)) {
30161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30163 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30164 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30165 if (!SWIG_IsOK(ecode2
)) {
30166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30168 arg2
= static_cast< wxDouble
>(val2
);
30169 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30170 if (!SWIG_IsOK(ecode3
)) {
30171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30173 arg3
= static_cast< wxDouble
>(val3
);
30174 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30175 if (!SWIG_IsOK(ecode4
)) {
30176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30178 arg4
= static_cast< wxDouble
>(val4
);
30179 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30180 if (!SWIG_IsOK(ecode5
)) {
30181 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30183 arg5
= static_cast< wxDouble
>(val5
);
30185 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
30186 if (PyErr_Occurred()) SWIG_fail
;
30188 resultobj
= SWIG_Py_Void();
30195 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30196 PyObject
*resultobj
= 0;
30197 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30212 PyObject
* obj0
= 0 ;
30213 PyObject
* obj1
= 0 ;
30214 PyObject
* obj2
= 0 ;
30215 PyObject
* obj3
= 0 ;
30216 PyObject
* obj4
= 0 ;
30217 char * kwnames
[] = {
30218 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
30221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30223 if (!SWIG_IsOK(res1
)) {
30224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30226 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30227 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30228 if (!SWIG_IsOK(ecode2
)) {
30229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
30231 arg2
= static_cast< wxDouble
>(val2
);
30232 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30233 if (!SWIG_IsOK(ecode3
)) {
30234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
30236 arg3
= static_cast< wxDouble
>(val3
);
30237 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30238 if (!SWIG_IsOK(ecode4
)) {
30239 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
30241 arg4
= static_cast< wxDouble
>(val4
);
30242 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30243 if (!SWIG_IsOK(ecode5
)) {
30244 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
30246 arg5
= static_cast< wxDouble
>(val5
);
30248 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30249 if (PyErr_Occurred()) SWIG_fail
;
30251 resultobj
= SWIG_Py_Void();
30258 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30259 PyObject
*resultobj
= 0;
30260 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30278 PyObject
* obj0
= 0 ;
30279 PyObject
* obj1
= 0 ;
30280 PyObject
* obj2
= 0 ;
30281 PyObject
* obj3
= 0 ;
30282 PyObject
* obj4
= 0 ;
30283 PyObject
* obj5
= 0 ;
30284 char * kwnames
[] = {
30285 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
30288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30290 if (!SWIG_IsOK(res1
)) {
30291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
30293 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30294 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30295 if (!SWIG_IsOK(ecode2
)) {
30296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
30298 arg2
= static_cast< wxDouble
>(val2
);
30299 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30300 if (!SWIG_IsOK(ecode3
)) {
30301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
30303 arg3
= static_cast< wxDouble
>(val3
);
30304 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30305 if (!SWIG_IsOK(ecode4
)) {
30306 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
30308 arg4
= static_cast< wxDouble
>(val4
);
30309 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30310 if (!SWIG_IsOK(ecode5
)) {
30311 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
30313 arg5
= static_cast< wxDouble
>(val5
);
30314 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30315 if (!SWIG_IsOK(ecode6
)) {
30316 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
30318 arg6
= static_cast< wxDouble
>(val6
);
30320 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
30321 if (PyErr_Occurred()) SWIG_fail
;
30323 resultobj
= SWIG_Py_Void();
30330 SWIGINTERN PyObject
*_wrap_GraphicsContext_ShouldOffset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30331 PyObject
*resultobj
= 0;
30332 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
30336 PyObject
*swig_obj
[1] ;
30338 if (!args
) SWIG_fail
;
30339 swig_obj
[0] = args
;
30340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30341 if (!SWIG_IsOK(res1
)) {
30342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ShouldOffset" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
30344 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
30346 result
= (bool)((wxGraphicsContext
const *)arg1
)->ShouldOffset();
30347 if (PyErr_Occurred()) SWIG_fail
;
30350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30358 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30360 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30361 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
30362 return SWIG_Py_Void();
30365 SWIGINTERN PyObject
*_wrap_delete_GraphicsRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30366 PyObject
*resultobj
= 0;
30367 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30370 PyObject
*swig_obj
[1] ;
30372 if (!args
) SWIG_fail
;
30373 swig_obj
[0] = args
;
30374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, SWIG_POINTER_DISOWN
| 0 );
30375 if (!SWIG_IsOK(res1
)) {
30376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsRenderer" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30378 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30382 if (PyErr_Occurred()) SWIG_fail
;
30384 resultobj
= SWIG_Py_Void();
30391 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_GetDefaultRenderer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30392 PyObject
*resultobj
= 0;
30393 wxGraphicsRenderer
*result
= 0 ;
30395 if (!SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_GetDefaultRenderer",0,0,0)) SWIG_fail
;
30397 result
= (wxGraphicsRenderer
*)wxGraphicsRenderer::GetDefaultRenderer();
30398 if (PyErr_Occurred()) SWIG_fail
;
30400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30407 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30408 PyObject
*resultobj
= 0;
30409 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30410 wxWindowDC
*arg2
= 0 ;
30411 wxGraphicsContext
*result
= 0 ;
30417 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30419 if (!SWIG_IsOK(res1
)) {
30420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30422 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30423 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
30424 if (!SWIG_IsOK(res2
)) {
30425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindowDC const &""'");
30430 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
30432 result
= (wxGraphicsContext
*)(arg1
)->CreateContext((wxWindowDC
const &)*arg2
);
30433 if (PyErr_Occurred()) SWIG_fail
;
30435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30442 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30443 PyObject
*resultobj
= 0;
30444 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30445 wxWindow
*arg2
= (wxWindow
*) 0 ;
30446 wxGraphicsContext
*result
= 0 ;
30452 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30454 if (!SWIG_IsOK(res1
)) {
30455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30457 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30458 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30459 if (!SWIG_IsOK(res2
)) {
30460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContext" "', expected argument " "2"" of type '" "wxWindow *""'");
30462 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30464 result
= (wxGraphicsContext
*)(arg1
)->CreateContext(arg2
);
30465 if (PyErr_Occurred()) SWIG_fail
;
30467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30474 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContext(PyObject
*self
, PyObject
*args
) {
30478 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsRenderer_CreateContext",0,2,argv
))) SWIG_fail
;
30483 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxWindowDC
, 0);
30484 _v
= SWIG_CheckState(res
);
30486 if (!_v
) goto check_1
;
30487 return _wrap_GraphicsRenderer_CreateContext__SWIG_0(self
, argc
, argv
);
30492 return _wrap_GraphicsRenderer_CreateContext__SWIG_1(self
, argc
, argv
);
30496 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsRenderer_CreateContext'");
30501 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMeasuringContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30502 PyObject
*resultobj
= 0;
30503 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30504 wxGraphicsContext
*result
= 0 ;
30507 PyObject
*swig_obj
[1] ;
30509 if (!args
) SWIG_fail
;
30510 swig_obj
[0] = args
;
30511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30512 if (!SWIG_IsOK(res1
)) {
30513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMeasuringContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30515 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30517 result
= (wxGraphicsContext
*)(arg1
)->CreateMeasuringContext();
30518 if (PyErr_Occurred()) SWIG_fail
;
30520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
30527 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30528 PyObject
*resultobj
= 0;
30529 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30530 void *arg2
= (void *) 0 ;
30531 wxGraphicsContext
*result
= 0 ;
30535 PyObject
* obj0
= 0 ;
30536 PyObject
* obj1
= 0 ;
30537 char * kwnames
[] = {
30538 (char *) "self",(char *) "context", NULL
30541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30543 if (!SWIG_IsOK(res1
)) {
30544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30546 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30547 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30548 if (!SWIG_IsOK(res2
)) {
30549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeContext" "', expected argument " "2"" of type '" "void *""'");
30552 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeContext(arg2
);
30553 if (PyErr_Occurred()) SWIG_fail
;
30555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30562 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateContextFromNativeWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30563 PyObject
*resultobj
= 0;
30564 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30565 void *arg2
= (void *) 0 ;
30566 wxGraphicsContext
*result
= 0 ;
30570 PyObject
* obj0
= 0 ;
30571 PyObject
* obj1
= 0 ;
30572 char * kwnames
[] = {
30573 (char *) "self",(char *) "window", NULL
30576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateContextFromNativeWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30578 if (!SWIG_IsOK(res1
)) {
30579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30581 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30582 res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
), 0, 0);
30583 if (!SWIG_IsOK(res2
)) {
30584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateContextFromNativeWindow" "', expected argument " "2"" of type '" "void *""'");
30587 result
= (wxGraphicsContext
*)(arg1
)->CreateContextFromNativeWindow(arg2
);
30588 if (PyErr_Occurred()) SWIG_fail
;
30590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_OWN
| 0 );
30597 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30598 PyObject
*resultobj
= 0;
30599 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30600 wxGraphicsPath result
;
30603 PyObject
*swig_obj
[1] ;
30605 if (!args
) SWIG_fail
;
30606 swig_obj
[0] = args
;
30607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30608 if (!SWIG_IsOK(res1
)) {
30609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30611 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30613 result
= (arg1
)->CreatePath();
30614 if (PyErr_Occurred()) SWIG_fail
;
30616 resultobj
= SWIG_NewPointerObj((new wxGraphicsPath(static_cast< const wxGraphicsPath
& >(result
))), SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_OWN
| 0 );
30623 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateMatrix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30624 PyObject
*resultobj
= 0;
30625 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30626 wxDouble arg2
= (wxDouble
) 1.0 ;
30627 wxDouble arg3
= (wxDouble
) 0.0 ;
30628 wxDouble arg4
= (wxDouble
) 0.0 ;
30629 wxDouble arg5
= (wxDouble
) 1.0 ;
30630 wxDouble arg6
= (wxDouble
) 0.0 ;
30631 wxDouble arg7
= (wxDouble
) 0.0 ;
30632 wxGraphicsMatrix result
;
30647 PyObject
* obj0
= 0 ;
30648 PyObject
* obj1
= 0 ;
30649 PyObject
* obj2
= 0 ;
30650 PyObject
* obj3
= 0 ;
30651 PyObject
* obj4
= 0 ;
30652 PyObject
* obj5
= 0 ;
30653 PyObject
* obj6
= 0 ;
30654 char * kwnames
[] = {
30655 (char *) "self",(char *) "a",(char *) "b",(char *) "c",(char *) "d",(char *) "tx",(char *) "ty", NULL
30658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GraphicsRenderer_CreateMatrix",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30660 if (!SWIG_IsOK(res1
)) {
30661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30663 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30665 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30666 if (!SWIG_IsOK(ecode2
)) {
30667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "2"" of type '" "wxDouble""'");
30669 arg2
= static_cast< wxDouble
>(val2
);
30672 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30673 if (!SWIG_IsOK(ecode3
)) {
30674 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "3"" of type '" "wxDouble""'");
30676 arg3
= static_cast< wxDouble
>(val3
);
30679 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30680 if (!SWIG_IsOK(ecode4
)) {
30681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "4"" of type '" "wxDouble""'");
30683 arg4
= static_cast< wxDouble
>(val4
);
30686 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30687 if (!SWIG_IsOK(ecode5
)) {
30688 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "5"" of type '" "wxDouble""'");
30690 arg5
= static_cast< wxDouble
>(val5
);
30693 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30694 if (!SWIG_IsOK(ecode6
)) {
30695 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "6"" of type '" "wxDouble""'");
30697 arg6
= static_cast< wxDouble
>(val6
);
30700 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
30701 if (!SWIG_IsOK(ecode7
)) {
30702 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsRenderer_CreateMatrix" "', expected argument " "7"" of type '" "wxDouble""'");
30704 arg7
= static_cast< wxDouble
>(val7
);
30707 result
= (arg1
)->CreateMatrix(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30708 if (PyErr_Occurred()) SWIG_fail
;
30710 resultobj
= SWIG_NewPointerObj((new wxGraphicsMatrix(static_cast< const wxGraphicsMatrix
& >(result
))), SWIGTYPE_p_wxGraphicsMatrix
, SWIG_POINTER_OWN
| 0 );
30717 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30718 PyObject
*resultobj
= 0;
30719 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30721 wxGraphicsPen result
;
30726 PyObject
* obj0
= 0 ;
30727 PyObject
* obj1
= 0 ;
30728 char * kwnames
[] = {
30729 (char *) "self",(char *) "pen", NULL
30732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreatePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30734 if (!SWIG_IsOK(res1
)) {
30735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30737 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30738 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
30739 if (!SWIG_IsOK(res2
)) {
30740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreatePen" "', expected argument " "2"" of type '" "wxPen const &""'");
30745 arg2
= reinterpret_cast< wxPen
* >(argp2
);
30747 result
= (arg1
)->CreatePen((wxPen
const &)*arg2
);
30748 if (PyErr_Occurred()) SWIG_fail
;
30750 resultobj
= SWIG_NewPointerObj((new wxGraphicsPen(static_cast< const wxGraphicsPen
& >(result
))), SWIGTYPE_p_wxGraphicsPen
, SWIG_POINTER_OWN
| 0 );
30757 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30758 PyObject
*resultobj
= 0;
30759 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30760 wxBrush
*arg2
= 0 ;
30761 wxGraphicsBrush result
;
30766 PyObject
* obj0
= 0 ;
30767 PyObject
* obj1
= 0 ;
30768 char * kwnames
[] = {
30769 (char *) "self",(char *) "brush", NULL
30772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsRenderer_CreateBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30774 if (!SWIG_IsOK(res1
)) {
30775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30777 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30778 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
30779 if (!SWIG_IsOK(res2
)) {
30780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
30785 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
30787 result
= (arg1
)->CreateBrush((wxBrush
const &)*arg2
);
30788 if (PyErr_Occurred()) SWIG_fail
;
30790 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30797 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30798 PyObject
*resultobj
= 0;
30799 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30804 wxColour
*arg6
= 0 ;
30805 wxColour
*arg7
= 0 ;
30806 wxGraphicsBrush result
;
30819 PyObject
* obj0
= 0 ;
30820 PyObject
* obj1
= 0 ;
30821 PyObject
* obj2
= 0 ;
30822 PyObject
* obj3
= 0 ;
30823 PyObject
* obj4
= 0 ;
30824 PyObject
* obj5
= 0 ;
30825 PyObject
* obj6
= 0 ;
30826 char * kwnames
[] = {
30827 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
30830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsRenderer_CreateLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30832 if (!SWIG_IsOK(res1
)) {
30833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30835 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30836 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30837 if (!SWIG_IsOK(ecode2
)) {
30838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30840 arg2
= static_cast< wxDouble
>(val2
);
30841 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30842 if (!SWIG_IsOK(ecode3
)) {
30843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30845 arg3
= static_cast< wxDouble
>(val3
);
30846 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30847 if (!SWIG_IsOK(ecode4
)) {
30848 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30850 arg4
= static_cast< wxDouble
>(val4
);
30851 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30852 if (!SWIG_IsOK(ecode5
)) {
30853 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30855 arg5
= static_cast< wxDouble
>(val5
);
30858 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
30862 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30865 result
= (arg1
)->CreateLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30868 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30875 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30876 PyObject
*resultobj
= 0;
30877 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30883 wxColour
*arg7
= 0 ;
30884 wxColour
*arg8
= 0 ;
30885 wxGraphicsBrush result
;
30900 PyObject
* obj0
= 0 ;
30901 PyObject
* obj1
= 0 ;
30902 PyObject
* obj2
= 0 ;
30903 PyObject
* obj3
= 0 ;
30904 PyObject
* obj4
= 0 ;
30905 PyObject
* obj5
= 0 ;
30906 PyObject
* obj6
= 0 ;
30907 PyObject
* obj7
= 0 ;
30908 char * kwnames
[] = {
30909 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
30912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsRenderer_CreateRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
30913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30914 if (!SWIG_IsOK(res1
)) {
30915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30917 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30918 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
30919 if (!SWIG_IsOK(ecode2
)) {
30920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
30922 arg2
= static_cast< wxDouble
>(val2
);
30923 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
30924 if (!SWIG_IsOK(ecode3
)) {
30925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
30927 arg3
= static_cast< wxDouble
>(val3
);
30928 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30929 if (!SWIG_IsOK(ecode4
)) {
30930 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
30932 arg4
= static_cast< wxDouble
>(val4
);
30933 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30934 if (!SWIG_IsOK(ecode5
)) {
30935 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
30937 arg5
= static_cast< wxDouble
>(val5
);
30938 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
30939 if (!SWIG_IsOK(ecode6
)) {
30940 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsRenderer_CreateRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
30942 arg6
= static_cast< wxDouble
>(val6
);
30945 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
30949 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
30952 result
= (arg1
)->CreateRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
30953 if (PyErr_Occurred()) SWIG_fail
;
30955 resultobj
= SWIG_NewPointerObj((new wxGraphicsBrush(static_cast< const wxGraphicsBrush
& >(result
))), SWIGTYPE_p_wxGraphicsBrush
, SWIG_POINTER_OWN
| 0 );
30962 SWIGINTERN PyObject
*_wrap_GraphicsRenderer_CreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30963 PyObject
*resultobj
= 0;
30964 wxGraphicsRenderer
*arg1
= (wxGraphicsRenderer
*) 0 ;
30966 wxColour
const &arg3_defvalue
= *wxBLACK
;
30967 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
30968 wxGraphicsFont result
;
30974 PyObject
* obj0
= 0 ;
30975 PyObject
* obj1
= 0 ;
30976 PyObject
* obj2
= 0 ;
30977 char * kwnames
[] = {
30978 (char *) "self",(char *) "font",(char *) "col", NULL
30981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsRenderer_CreateFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsRenderer
, 0 | 0 );
30983 if (!SWIG_IsOK(res1
)) {
30984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "1"" of type '" "wxGraphicsRenderer *""'");
30986 arg1
= reinterpret_cast< wxGraphicsRenderer
* >(argp1
);
30987 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
30988 if (!SWIG_IsOK(res2
)) {
30989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30992 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsRenderer_CreateFont" "', expected argument " "2"" of type '" "wxFont const &""'");
30994 arg2
= reinterpret_cast< wxFont
* >(argp2
);
30998 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31002 result
= (arg1
)->CreateFont((wxFont
const &)*arg2
,(wxColour
const &)*arg3
);
31003 if (PyErr_Occurred()) SWIG_fail
;
31005 resultobj
= SWIG_NewPointerObj((new wxGraphicsFont(static_cast< const wxGraphicsFont
& >(result
))), SWIGTYPE_p_wxGraphicsFont
, SWIG_POINTER_OWN
| 0 );
31012 SWIGINTERN PyObject
*GraphicsRenderer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31014 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31015 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsRenderer
, SWIG_NewClientData(obj
));
31016 return SWIG_Py_Void();
31019 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31020 PyObject
*resultobj
= 0;
31021 wxWindowDC
*arg1
= 0 ;
31022 wxGCDC
*result
= 0 ;
31026 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
31028 if (!SWIG_IsOK(res1
)) {
31029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
31034 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
31036 if (!wxPyCheckForApp()) SWIG_fail
;
31037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31038 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
31039 wxPyEndAllowThreads(__tstate
);
31040 if (PyErr_Occurred()) SWIG_fail
;
31042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31049 SWIGINTERN PyObject
*_wrap_new_GCDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31050 PyObject
*resultobj
= 0;
31051 wxWindow
*arg1
= (wxWindow
*) 0 ;
31052 wxGCDC
*result
= 0 ;
31056 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31058 if (!SWIG_IsOK(res1
)) {
31059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindow *""'");
31061 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31063 if (!wxPyCheckForApp()) SWIG_fail
;
31064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31065 result
= (wxGCDC
*)new wxGCDC(arg1
);
31066 wxPyEndAllowThreads(__tstate
);
31067 if (PyErr_Occurred()) SWIG_fail
;
31069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
31076 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*self
, PyObject
*args
) {
31080 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_GCDC",0,1,argv
))) SWIG_fail
;
31085 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
31086 _v
= SWIG_CheckState(res
);
31088 if (!_v
) goto check_1
;
31089 return _wrap_new_GCDC__SWIG_0(self
, argc
, argv
);
31094 return _wrap_new_GCDC__SWIG_1(self
, argc
, argv
);
31098 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_GCDC'");
31103 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31104 PyObject
*resultobj
= 0;
31105 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31108 PyObject
*swig_obj
[1] ;
31110 if (!args
) SWIG_fail
;
31111 swig_obj
[0] = args
;
31112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
31113 if (!SWIG_IsOK(res1
)) {
31114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
31116 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31120 if (PyErr_Occurred()) SWIG_fail
;
31122 resultobj
= SWIG_Py_Void();
31129 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31130 PyObject
*resultobj
= 0;
31131 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31132 wxGraphicsContext
*result
= 0 ;
31135 PyObject
*swig_obj
[1] ;
31137 if (!args
) SWIG_fail
;
31138 swig_obj
[0] = args
;
31139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31140 if (!SWIG_IsOK(res1
)) {
31141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31143 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31145 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
31146 if (PyErr_Occurred()) SWIG_fail
;
31148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31155 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31156 PyObject
*resultobj
= 0;
31157 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
31158 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
31163 PyObject
* obj0
= 0 ;
31164 PyObject
* obj1
= 0 ;
31165 char * kwnames
[] = {
31166 (char *) "self",(char *) "ctx", NULL
31169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
31171 if (!SWIG_IsOK(res1
)) {
31172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
31174 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
31175 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
31176 if (!SWIG_IsOK(res2
)) {
31177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
31179 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
31181 (arg1
)->SetGraphicsContext(arg2
);
31182 if (PyErr_Occurred()) SWIG_fail
;
31184 resultobj
= SWIG_Py_Void();
31191 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31193 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31194 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
31195 return SWIG_Py_Void();
31198 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31199 return SWIG_Python_InitShadowInstance(args
);
31202 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31203 PyObject
*resultobj
= 0;
31204 wxOverlay
*result
= 0 ;
31206 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
31208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31209 result
= (wxOverlay
*)new wxOverlay();
31210 wxPyEndAllowThreads(__tstate
);
31211 if (PyErr_Occurred()) SWIG_fail
;
31213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
31220 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31221 PyObject
*resultobj
= 0;
31222 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31225 PyObject
*swig_obj
[1] ;
31227 if (!args
) SWIG_fail
;
31228 swig_obj
[0] = args
;
31229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
31230 if (!SWIG_IsOK(res1
)) {
31231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
31233 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31238 wxPyEndAllowThreads(__tstate
);
31239 if (PyErr_Occurred()) SWIG_fail
;
31241 resultobj
= SWIG_Py_Void();
31248 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31249 PyObject
*resultobj
= 0;
31250 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
31253 PyObject
*swig_obj
[1] ;
31255 if (!args
) SWIG_fail
;
31256 swig_obj
[0] = args
;
31257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
31258 if (!SWIG_IsOK(res1
)) {
31259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
31261 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31265 wxPyEndAllowThreads(__tstate
);
31266 if (PyErr_Occurred()) SWIG_fail
;
31268 resultobj
= SWIG_Py_Void();
31275 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31277 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31278 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
31279 return SWIG_Py_Void();
31282 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31283 return SWIG_Python_InitShadowInstance(args
);
31286 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31287 PyObject
*resultobj
= 0;
31288 wxOverlay
*arg1
= 0 ;
31289 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31294 wxDCOverlay
*result
= 0 ;
31308 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
31309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31310 if (!SWIG_IsOK(res1
)) {
31311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31316 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31317 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31318 if (!SWIG_IsOK(res2
)) {
31319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31321 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31322 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
31323 if (!SWIG_IsOK(ecode3
)) {
31324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
31326 arg3
= static_cast< int >(val3
);
31327 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
31328 if (!SWIG_IsOK(ecode4
)) {
31329 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
31331 arg4
= static_cast< int >(val4
);
31332 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
31333 if (!SWIG_IsOK(ecode5
)) {
31334 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
31336 arg5
= static_cast< int >(val5
);
31337 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
31338 if (!SWIG_IsOK(ecode6
)) {
31339 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
31341 arg6
= static_cast< int >(val6
);
31343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31344 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
31345 wxPyEndAllowThreads(__tstate
);
31346 if (PyErr_Occurred()) SWIG_fail
;
31348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31355 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31356 PyObject
*resultobj
= 0;
31357 wxOverlay
*arg1
= 0 ;
31358 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
31359 wxDCOverlay
*result
= 0 ;
31365 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
31367 if (!SWIG_IsOK(res1
)) {
31368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
31373 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
31374 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
31375 if (!SWIG_IsOK(res2
)) {
31376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
31378 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
31380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31381 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
31382 wxPyEndAllowThreads(__tstate
);
31383 if (PyErr_Occurred()) SWIG_fail
;
31385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
31392 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
31396 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
31399 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
31402 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
31406 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
31411 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31412 PyObject
*resultobj
= 0;
31413 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31416 PyObject
*swig_obj
[1] ;
31418 if (!args
) SWIG_fail
;
31419 swig_obj
[0] = args
;
31420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
31421 if (!SWIG_IsOK(res1
)) {
31422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31424 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31429 wxPyEndAllowThreads(__tstate
);
31430 if (PyErr_Occurred()) SWIG_fail
;
31432 resultobj
= SWIG_Py_Void();
31439 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31440 PyObject
*resultobj
= 0;
31441 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
31444 PyObject
*swig_obj
[1] ;
31446 if (!args
) SWIG_fail
;
31447 swig_obj
[0] = args
;
31448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
31449 if (!SWIG_IsOK(res1
)) {
31450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
31452 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
31454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31456 wxPyEndAllowThreads(__tstate
);
31457 if (PyErr_Occurred()) SWIG_fail
;
31459 resultobj
= SWIG_Py_Void();
31466 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31469 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
31470 return SWIG_Py_Void();
31473 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31474 return SWIG_Python_InitShadowInstance(args
);
31477 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31478 PyObject
*resultobj
= 0;
31481 int arg3
= (int) true ;
31482 int arg4
= (int) 1 ;
31483 wxImageList
*result
= 0 ;
31492 PyObject
* obj0
= 0 ;
31493 PyObject
* obj1
= 0 ;
31494 PyObject
* obj2
= 0 ;
31495 PyObject
* obj3
= 0 ;
31496 char * kwnames
[] = {
31497 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
31500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31501 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31502 if (!SWIG_IsOK(ecode1
)) {
31503 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
31505 arg1
= static_cast< int >(val1
);
31506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31507 if (!SWIG_IsOK(ecode2
)) {
31508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
31510 arg2
= static_cast< int >(val2
);
31512 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31513 if (!SWIG_IsOK(ecode3
)) {
31514 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
31516 arg3
= static_cast< int >(val3
);
31519 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31520 if (!SWIG_IsOK(ecode4
)) {
31521 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
31523 arg4
= static_cast< int >(val4
);
31526 if (!wxPyCheckForApp()) SWIG_fail
;
31527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31528 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
31529 wxPyEndAllowThreads(__tstate
);
31530 if (PyErr_Occurred()) SWIG_fail
;
31532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
31539 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31540 PyObject
*resultobj
= 0;
31541 wxImageList
*arg1
= (wxImageList
*) 0 ;
31544 PyObject
*swig_obj
[1] ;
31546 if (!args
) SWIG_fail
;
31547 swig_obj
[0] = args
;
31548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
31549 if (!SWIG_IsOK(res1
)) {
31550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
31552 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31557 wxPyEndAllowThreads(__tstate
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31560 resultobj
= SWIG_Py_Void();
31567 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31568 PyObject
*resultobj
= 0;
31569 wxImageList
*arg1
= (wxImageList
*) 0 ;
31570 wxBitmap
*arg2
= 0 ;
31571 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31572 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31580 PyObject
* obj0
= 0 ;
31581 PyObject
* obj1
= 0 ;
31582 PyObject
* obj2
= 0 ;
31583 char * kwnames
[] = {
31584 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
31587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31589 if (!SWIG_IsOK(res1
)) {
31590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
31592 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31594 if (!SWIG_IsOK(res2
)) {
31595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31600 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31602 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31603 if (!SWIG_IsOK(res3
)) {
31604 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31609 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31613 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31614 wxPyEndAllowThreads(__tstate
);
31615 if (PyErr_Occurred()) SWIG_fail
;
31617 resultobj
= SWIG_From_int(static_cast< int >(result
));
31624 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31625 PyObject
*resultobj
= 0;
31626 wxImageList
*arg1
= (wxImageList
*) 0 ;
31627 wxBitmap
*arg2
= 0 ;
31628 wxColour
*arg3
= 0 ;
31635 PyObject
* obj0
= 0 ;
31636 PyObject
* obj1
= 0 ;
31637 PyObject
* obj2
= 0 ;
31638 char * kwnames
[] = {
31639 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
31642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31644 if (!SWIG_IsOK(res1
)) {
31645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
31647 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31648 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31649 if (!SWIG_IsOK(res2
)) {
31650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31655 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31658 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31662 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
31663 wxPyEndAllowThreads(__tstate
);
31664 if (PyErr_Occurred()) SWIG_fail
;
31666 resultobj
= SWIG_From_int(static_cast< int >(result
));
31673 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31674 PyObject
*resultobj
= 0;
31675 wxImageList
*arg1
= (wxImageList
*) 0 ;
31682 PyObject
* obj0
= 0 ;
31683 PyObject
* obj1
= 0 ;
31684 char * kwnames
[] = {
31685 (char *) "self",(char *) "icon", NULL
31688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31690 if (!SWIG_IsOK(res1
)) {
31691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
31693 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
31695 if (!SWIG_IsOK(res2
)) {
31696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
31701 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
31703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31704 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
31705 wxPyEndAllowThreads(__tstate
);
31706 if (PyErr_Occurred()) SWIG_fail
;
31708 resultobj
= SWIG_From_int(static_cast< int >(result
));
31715 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31716 PyObject
*resultobj
= 0;
31717 wxImageList
*arg1
= (wxImageList
*) 0 ;
31719 SwigValueWrapper
<wxBitmap
> result
;
31724 PyObject
* obj0
= 0 ;
31725 PyObject
* obj1
= 0 ;
31726 char * kwnames
[] = {
31727 (char *) "self",(char *) "index", NULL
31730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31732 if (!SWIG_IsOK(res1
)) {
31733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
31735 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31737 if (!SWIG_IsOK(ecode2
)) {
31738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
31740 arg2
= static_cast< int >(val2
);
31742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31743 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
31744 wxPyEndAllowThreads(__tstate
);
31745 if (PyErr_Occurred()) SWIG_fail
;
31747 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31754 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31755 PyObject
*resultobj
= 0;
31756 wxImageList
*arg1
= (wxImageList
*) 0 ;
31763 PyObject
* obj0
= 0 ;
31764 PyObject
* obj1
= 0 ;
31765 char * kwnames
[] = {
31766 (char *) "self",(char *) "index", NULL
31769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31771 if (!SWIG_IsOK(res1
)) {
31772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
31774 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31776 if (!SWIG_IsOK(ecode2
)) {
31777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
31779 arg2
= static_cast< int >(val2
);
31781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31782 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
31783 wxPyEndAllowThreads(__tstate
);
31784 if (PyErr_Occurred()) SWIG_fail
;
31786 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
31793 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31794 PyObject
*resultobj
= 0;
31795 wxImageList
*arg1
= (wxImageList
*) 0 ;
31797 wxBitmap
*arg3
= 0 ;
31798 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
31799 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
31809 PyObject
* obj0
= 0 ;
31810 PyObject
* obj1
= 0 ;
31811 PyObject
* obj2
= 0 ;
31812 PyObject
* obj3
= 0 ;
31813 char * kwnames
[] = {
31814 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
31817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31819 if (!SWIG_IsOK(res1
)) {
31820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
31822 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31824 if (!SWIG_IsOK(ecode2
)) {
31825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
31827 arg2
= static_cast< int >(val2
);
31828 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31829 if (!SWIG_IsOK(res3
)) {
31830 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
31835 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
31837 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31838 if (!SWIG_IsOK(res4
)) {
31839 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
31844 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
31847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31848 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
31849 wxPyEndAllowThreads(__tstate
);
31850 if (PyErr_Occurred()) SWIG_fail
;
31853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31861 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31862 PyObject
*resultobj
= 0;
31863 wxImageList
*arg1
= (wxImageList
*) 0 ;
31868 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
31869 bool arg7
= (bool) (bool)false ;
31885 PyObject
* obj0
= 0 ;
31886 PyObject
* obj1
= 0 ;
31887 PyObject
* obj2
= 0 ;
31888 PyObject
* obj3
= 0 ;
31889 PyObject
* obj4
= 0 ;
31890 PyObject
* obj5
= 0 ;
31891 PyObject
* obj6
= 0 ;
31892 char * kwnames
[] = {
31893 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
31896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31898 if (!SWIG_IsOK(res1
)) {
31899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
31901 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31903 if (!SWIG_IsOK(ecode2
)) {
31904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
31906 arg2
= static_cast< int >(val2
);
31907 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31908 if (!SWIG_IsOK(res3
)) {
31909 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
31914 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31915 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31916 if (!SWIG_IsOK(ecode4
)) {
31917 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
31919 arg4
= static_cast< int >(val4
);
31920 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31921 if (!SWIG_IsOK(ecode5
)) {
31922 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
31924 arg5
= static_cast< int >(val5
);
31926 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31927 if (!SWIG_IsOK(ecode6
)) {
31928 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
31930 arg6
= static_cast< int >(val6
);
31933 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
31934 if (!SWIG_IsOK(ecode7
)) {
31935 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
31937 arg7
= static_cast< bool >(val7
);
31940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31941 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
31942 wxPyEndAllowThreads(__tstate
);
31943 if (PyErr_Occurred()) SWIG_fail
;
31946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31954 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31955 PyObject
*resultobj
= 0;
31956 wxImageList
*arg1
= (wxImageList
*) 0 ;
31960 PyObject
*swig_obj
[1] ;
31962 if (!args
) SWIG_fail
;
31963 swig_obj
[0] = args
;
31964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31965 if (!SWIG_IsOK(res1
)) {
31966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
31968 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
31970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31971 result
= (int)(arg1
)->GetImageCount();
31972 wxPyEndAllowThreads(__tstate
);
31973 if (PyErr_Occurred()) SWIG_fail
;
31975 resultobj
= SWIG_From_int(static_cast< int >(result
));
31982 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31983 PyObject
*resultobj
= 0;
31984 wxImageList
*arg1
= (wxImageList
*) 0 ;
31991 PyObject
* obj0
= 0 ;
31992 PyObject
* obj1
= 0 ;
31993 char * kwnames
[] = {
31994 (char *) "self",(char *) "index", NULL
31997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
31999 if (!SWIG_IsOK(res1
)) {
32000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
32002 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32004 if (!SWIG_IsOK(ecode2
)) {
32005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
32007 arg2
= static_cast< int >(val2
);
32009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32010 result
= (bool)(arg1
)->Remove(arg2
);
32011 wxPyEndAllowThreads(__tstate
);
32012 if (PyErr_Occurred()) SWIG_fail
;
32015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32023 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32024 PyObject
*resultobj
= 0;
32025 wxImageList
*arg1
= (wxImageList
*) 0 ;
32029 PyObject
*swig_obj
[1] ;
32031 if (!args
) SWIG_fail
;
32032 swig_obj
[0] = args
;
32033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32034 if (!SWIG_IsOK(res1
)) {
32035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
32037 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32040 result
= (bool)(arg1
)->RemoveAll();
32041 wxPyEndAllowThreads(__tstate
);
32042 if (PyErr_Occurred()) SWIG_fail
;
32045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32053 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32054 PyObject
*resultobj
= 0;
32055 wxImageList
*arg1
= (wxImageList
*) 0 ;
32064 int res3
= SWIG_TMPOBJ
;
32066 int res4
= SWIG_TMPOBJ
;
32067 PyObject
* obj0
= 0 ;
32068 PyObject
* obj1
= 0 ;
32069 char * kwnames
[] = {
32070 (char *) "self",(char *) "index", NULL
32075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
32077 if (!SWIG_IsOK(res1
)) {
32078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
32080 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
32081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32082 if (!SWIG_IsOK(ecode2
)) {
32083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
32085 arg2
= static_cast< int >(val2
);
32087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32088 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
32089 wxPyEndAllowThreads(__tstate
);
32090 if (PyErr_Occurred()) SWIG_fail
;
32092 resultobj
= SWIG_Py_Void();
32093 if (SWIG_IsTmpObj(res3
)) {
32094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32096 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32097 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32099 if (SWIG_IsTmpObj(res4
)) {
32100 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
32102 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32103 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
32111 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32114 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
32115 return SWIG_Py_Void();
32118 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32119 return SWIG_Python_InitShadowInstance(args
);
32122 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32123 PyObject
*resultobj
= 0;
32124 wxStockGDI
*result
= 0 ;
32126 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
32128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32129 result
= (wxStockGDI
*)new wxStockGDI();
32130 wxPyEndAllowThreads(__tstate
);
32131 if (PyErr_Occurred()) SWIG_fail
;
32133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
32140 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32141 PyObject
*resultobj
= 0;
32142 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32145 PyObject
*swig_obj
[1] ;
32147 if (!args
) SWIG_fail
;
32148 swig_obj
[0] = args
;
32149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
32150 if (!SWIG_IsOK(res1
)) {
32151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32153 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32158 wxPyEndAllowThreads(__tstate
);
32159 if (PyErr_Occurred()) SWIG_fail
;
32161 resultobj
= SWIG_Py_Void();
32168 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32169 PyObject
*resultobj
= 0;
32171 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
32173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32174 wxStockGDI::DeleteAll();
32175 wxPyEndAllowThreads(__tstate
);
32176 if (PyErr_Occurred()) SWIG_fail
;
32178 resultobj
= SWIG_Py_Void();
32185 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32186 PyObject
*resultobj
= 0;
32187 wxStockGDI
*result
= 0 ;
32189 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
32191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32193 wxStockGDI
&_result_ref
= wxStockGDI::instance();
32194 result
= (wxStockGDI
*) &_result_ref
;
32196 wxPyEndAllowThreads(__tstate
);
32197 if (PyErr_Occurred()) SWIG_fail
;
32199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32206 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32207 PyObject
*resultobj
= 0;
32208 wxStockGDI::Item arg1
;
32209 wxBrush
*result
= 0 ;
32212 PyObject
* obj0
= 0 ;
32213 char * kwnames
[] = {
32214 (char *) "item", NULL
32217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
32218 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32219 if (!SWIG_IsOK(ecode1
)) {
32220 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32222 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32225 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
32226 wxPyEndAllowThreads(__tstate
);
32227 if (PyErr_Occurred()) SWIG_fail
;
32229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32236 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32237 PyObject
*resultobj
= 0;
32238 wxStockGDI::Item arg1
;
32239 wxColour
*result
= 0 ;
32242 PyObject
* obj0
= 0 ;
32243 char * kwnames
[] = {
32244 (char *) "item", NULL
32247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
32248 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32249 if (!SWIG_IsOK(ecode1
)) {
32250 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32252 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32255 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
32256 wxPyEndAllowThreads(__tstate
);
32257 if (PyErr_Occurred()) SWIG_fail
;
32259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
32266 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32267 PyObject
*resultobj
= 0;
32268 wxStockGDI::Item arg1
;
32269 wxCursor
*result
= 0 ;
32272 PyObject
* obj0
= 0 ;
32273 char * kwnames
[] = {
32274 (char *) "item", NULL
32277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
32278 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32279 if (!SWIG_IsOK(ecode1
)) {
32280 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32282 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32285 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
32286 wxPyEndAllowThreads(__tstate
);
32287 if (PyErr_Occurred()) SWIG_fail
;
32289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
32296 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32297 PyObject
*resultobj
= 0;
32298 wxStockGDI::Item arg1
;
32299 wxPen
*result
= 0 ;
32302 PyObject
* obj0
= 0 ;
32303 char * kwnames
[] = {
32304 (char *) "item", NULL
32307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
32308 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32309 if (!SWIG_IsOK(ecode1
)) {
32310 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
32312 arg1
= static_cast< wxStockGDI::Item
>(val1
);
32314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32315 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
32316 wxPyEndAllowThreads(__tstate
);
32317 if (PyErr_Occurred()) SWIG_fail
;
32319 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32326 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32327 PyObject
*resultobj
= 0;
32328 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
32329 wxStockGDI::Item arg2
;
32330 wxFont
*result
= 0 ;
32335 PyObject
* obj0
= 0 ;
32336 PyObject
* obj1
= 0 ;
32337 char * kwnames
[] = {
32338 (char *) "self",(char *) "item", NULL
32341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
32343 if (!SWIG_IsOK(res1
)) {
32344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
32346 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
32347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32348 if (!SWIG_IsOK(ecode2
)) {
32349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
32351 arg2
= static_cast< wxStockGDI::Item
>(val2
);
32353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32354 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
32355 wxPyEndAllowThreads(__tstate
);
32356 if (PyErr_Occurred()) SWIG_fail
;
32358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32365 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32368 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
32369 return SWIG_Py_Void();
32372 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32373 return SWIG_Python_InitShadowInstance(args
);
32376 SWIGINTERN
int NullBitmap_set(PyObject
*) {
32377 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
32382 SWIGINTERN PyObject
*NullBitmap_get(void) {
32383 PyObject
*pyobj
= 0;
32385 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
32390 SWIGINTERN
int NullIcon_set(PyObject
*) {
32391 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
32396 SWIGINTERN PyObject
*NullIcon_get(void) {
32397 PyObject
*pyobj
= 0;
32399 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
32404 SWIGINTERN
int NullCursor_set(PyObject
*) {
32405 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
32410 SWIGINTERN PyObject
*NullCursor_get(void) {
32411 PyObject
*pyobj
= 0;
32413 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
32418 SWIGINTERN
int NullPen_set(PyObject
*) {
32419 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
32424 SWIGINTERN PyObject
*NullPen_get(void) {
32425 PyObject
*pyobj
= 0;
32427 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
32432 SWIGINTERN
int NullBrush_set(PyObject
*) {
32433 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
32438 SWIGINTERN PyObject
*NullBrush_get(void) {
32439 PyObject
*pyobj
= 0;
32441 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
32446 SWIGINTERN
int NullPalette_set(PyObject
*) {
32447 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
32452 SWIGINTERN PyObject
*NullPalette_get(void) {
32453 PyObject
*pyobj
= 0;
32455 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
32460 SWIGINTERN
int NullFont_set(PyObject
*) {
32461 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
32466 SWIGINTERN PyObject
*NullFont_get(void) {
32467 PyObject
*pyobj
= 0;
32469 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
32474 SWIGINTERN
int NullColour_set(PyObject
*) {
32475 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
32480 SWIGINTERN PyObject
*NullColour_get(void) {
32481 PyObject
*pyobj
= 0;
32483 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
32488 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32489 PyObject
*resultobj
= 0;
32490 wxGDIObjListBase
*result
= 0 ;
32492 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
32494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32495 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
32496 wxPyEndAllowThreads(__tstate
);
32497 if (PyErr_Occurred()) SWIG_fail
;
32499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
32506 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32507 PyObject
*resultobj
= 0;
32508 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
32511 PyObject
*swig_obj
[1] ;
32513 if (!args
) SWIG_fail
;
32514 swig_obj
[0] = args
;
32515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
32516 if (!SWIG_IsOK(res1
)) {
32517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
32519 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
32521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32524 wxPyEndAllowThreads(__tstate
);
32525 if (PyErr_Occurred()) SWIG_fail
;
32527 resultobj
= SWIG_Py_Void();
32534 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32536 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32537 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
32538 return SWIG_Py_Void();
32541 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32542 return SWIG_Python_InitShadowInstance(args
);
32545 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32546 PyObject
*resultobj
= 0;
32547 wxPenList
*arg1
= (wxPenList
*) 0 ;
32548 wxColour
*arg2
= 0 ;
32551 wxPen
*result
= 0 ;
32559 PyObject
* obj0
= 0 ;
32560 PyObject
* obj1
= 0 ;
32561 PyObject
* obj2
= 0 ;
32562 PyObject
* obj3
= 0 ;
32563 char * kwnames
[] = {
32564 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
32567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
32569 if (!SWIG_IsOK(res1
)) {
32570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
32572 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
32575 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32577 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32578 if (!SWIG_IsOK(ecode3
)) {
32579 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
32581 arg3
= static_cast< int >(val3
);
32582 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32583 if (!SWIG_IsOK(ecode4
)) {
32584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
32586 arg4
= static_cast< int >(val4
);
32588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32589 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
32590 wxPyEndAllowThreads(__tstate
);
32591 if (PyErr_Occurred()) SWIG_fail
;
32593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
32600 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32603 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
32604 return SWIG_Py_Void();
32607 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32608 PyObject
*resultobj
= 0;
32609 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
32610 wxColour
*arg2
= 0 ;
32611 int arg3
= (int) wxSOLID
;
32612 wxBrush
*result
= 0 ;
32618 PyObject
* obj0
= 0 ;
32619 PyObject
* obj1
= 0 ;
32620 PyObject
* obj2
= 0 ;
32621 char * kwnames
[] = {
32622 (char *) "self",(char *) "colour",(char *) "style", NULL
32625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
32627 if (!SWIG_IsOK(res1
)) {
32628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
32630 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
32633 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32637 if (!SWIG_IsOK(ecode3
)) {
32638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
32640 arg3
= static_cast< int >(val3
);
32643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32644 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
32645 wxPyEndAllowThreads(__tstate
);
32646 if (PyErr_Occurred()) SWIG_fail
;
32648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
32655 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32657 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32658 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
32659 return SWIG_Py_Void();
32662 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32663 PyObject
*resultobj
= 0;
32664 wxFontList
*arg1
= (wxFontList
*) 0 ;
32669 bool arg6
= (bool) false ;
32670 wxString
const &arg7_defvalue
= wxPyEmptyString
;
32671 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32672 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
32673 wxFont
*result
= 0 ;
32686 bool temp7
= false ;
32689 PyObject
* obj0
= 0 ;
32690 PyObject
* obj1
= 0 ;
32691 PyObject
* obj2
= 0 ;
32692 PyObject
* obj3
= 0 ;
32693 PyObject
* obj4
= 0 ;
32694 PyObject
* obj5
= 0 ;
32695 PyObject
* obj6
= 0 ;
32696 PyObject
* obj7
= 0 ;
32697 char * kwnames
[] = {
32698 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
32701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
32703 if (!SWIG_IsOK(res1
)) {
32704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
32706 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
32707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32708 if (!SWIG_IsOK(ecode2
)) {
32709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
32711 arg2
= static_cast< int >(val2
);
32712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32713 if (!SWIG_IsOK(ecode3
)) {
32714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
32716 arg3
= static_cast< int >(val3
);
32717 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32718 if (!SWIG_IsOK(ecode4
)) {
32719 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
32721 arg4
= static_cast< int >(val4
);
32722 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32723 if (!SWIG_IsOK(ecode5
)) {
32724 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
32726 arg5
= static_cast< int >(val5
);
32728 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
32729 if (!SWIG_IsOK(ecode6
)) {
32730 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
32732 arg6
= static_cast< bool >(val6
);
32736 arg7
= wxString_in_helper(obj6
);
32737 if (arg7
== NULL
) SWIG_fail
;
32742 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
32743 if (!SWIG_IsOK(ecode8
)) {
32744 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
32746 arg8
= static_cast< wxFontEncoding
>(val8
);
32749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32750 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
32751 wxPyEndAllowThreads(__tstate
);
32752 if (PyErr_Occurred()) SWIG_fail
;
32754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
32769 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32771 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32772 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
32773 return SWIG_Py_Void();
32776 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32777 PyObject
*resultobj
= 0;
32778 wxColourDatabase
*result
= 0 ;
32780 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
32782 if (!wxPyCheckForApp()) SWIG_fail
;
32783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32784 result
= (wxColourDatabase
*)new wxColourDatabase();
32785 wxPyEndAllowThreads(__tstate
);
32786 if (PyErr_Occurred()) SWIG_fail
;
32788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
32795 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32796 PyObject
*resultobj
= 0;
32797 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32800 PyObject
*swig_obj
[1] ;
32802 if (!args
) SWIG_fail
;
32803 swig_obj
[0] = args
;
32804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
32805 if (!SWIG_IsOK(res1
)) {
32806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32808 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32813 wxPyEndAllowThreads(__tstate
);
32814 if (PyErr_Occurred()) SWIG_fail
;
32816 resultobj
= SWIG_Py_Void();
32823 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32824 PyObject
*resultobj
= 0;
32825 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32826 wxString
*arg2
= 0 ;
32830 bool temp2
= false ;
32831 PyObject
* obj0
= 0 ;
32832 PyObject
* obj1
= 0 ;
32833 char * kwnames
[] = {
32834 (char *) "self",(char *) "name", NULL
32837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32839 if (!SWIG_IsOK(res1
)) {
32840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32842 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32844 arg2
= wxString_in_helper(obj1
);
32845 if (arg2
== NULL
) SWIG_fail
;
32849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32850 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
32851 wxPyEndAllowThreads(__tstate
);
32852 if (PyErr_Occurred()) SWIG_fail
;
32854 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32869 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32870 PyObject
*resultobj
= 0;
32871 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32872 wxColour
*arg2
= 0 ;
32877 PyObject
* obj0
= 0 ;
32878 PyObject
* obj1
= 0 ;
32879 char * kwnames
[] = {
32880 (char *) "self",(char *) "colour", NULL
32883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32885 if (!SWIG_IsOK(res1
)) {
32886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
32888 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32891 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32895 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
32896 wxPyEndAllowThreads(__tstate
);
32897 if (PyErr_Occurred()) SWIG_fail
;
32901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32912 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32913 PyObject
*resultobj
= 0;
32914 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32915 wxString
*arg2
= 0 ;
32916 wxColour
*arg3
= 0 ;
32919 bool temp2
= false ;
32921 PyObject
* obj0
= 0 ;
32922 PyObject
* obj1
= 0 ;
32923 PyObject
* obj2
= 0 ;
32924 char * kwnames
[] = {
32925 (char *) "self",(char *) "name",(char *) "colour", NULL
32928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32930 if (!SWIG_IsOK(res1
)) {
32931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32933 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32935 arg2
= wxString_in_helper(obj1
);
32936 if (arg2
== NULL
) SWIG_fail
;
32941 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32945 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
32946 wxPyEndAllowThreads(__tstate
);
32947 if (PyErr_Occurred()) SWIG_fail
;
32949 resultobj
= SWIG_Py_Void();
32964 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32965 PyObject
*resultobj
= 0;
32966 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
32967 wxString
*arg2
= 0 ;
32973 bool temp2
= false ;
32980 PyObject
* obj0
= 0 ;
32981 PyObject
* obj1
= 0 ;
32982 PyObject
* obj2
= 0 ;
32983 PyObject
* obj3
= 0 ;
32984 PyObject
* obj4
= 0 ;
32985 char * kwnames
[] = {
32986 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
32989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
32991 if (!SWIG_IsOK(res1
)) {
32992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
32994 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
32996 arg2
= wxString_in_helper(obj1
);
32997 if (arg2
== NULL
) SWIG_fail
;
33000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33001 if (!SWIG_IsOK(ecode3
)) {
33002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
33004 arg3
= static_cast< int >(val3
);
33005 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33006 if (!SWIG_IsOK(ecode4
)) {
33007 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
33009 arg4
= static_cast< int >(val4
);
33010 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33011 if (!SWIG_IsOK(ecode5
)) {
33012 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
33014 arg5
= static_cast< int >(val5
);
33016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33017 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33018 wxPyEndAllowThreads(__tstate
);
33019 if (PyErr_Occurred()) SWIG_fail
;
33021 resultobj
= SWIG_Py_Void();
33036 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33039 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
33040 return SWIG_Py_Void();
33043 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33044 return SWIG_Python_InitShadowInstance(args
);
33047 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33048 PyObject
*resultobj
= 0;
33049 wxFontList
*result
= 0 ;
33051 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
33053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33054 result
= (wxFontList
*)_wxPyInitTheFontList();
33055 wxPyEndAllowThreads(__tstate
);
33056 if (PyErr_Occurred()) SWIG_fail
;
33058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
33065 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33066 PyObject
*resultobj
= 0;
33067 wxPenList
*result
= 0 ;
33069 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
33071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33072 result
= (wxPenList
*)_wxPyInitThePenList();
33073 wxPyEndAllowThreads(__tstate
);
33074 if (PyErr_Occurred()) SWIG_fail
;
33076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
33083 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33084 PyObject
*resultobj
= 0;
33085 wxBrushList
*result
= 0 ;
33087 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
33089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33090 result
= (wxBrushList
*)_wxPyInitTheBrushList();
33091 wxPyEndAllowThreads(__tstate
);
33092 if (PyErr_Occurred()) SWIG_fail
;
33094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
33101 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33102 PyObject
*resultobj
= 0;
33103 wxColourDatabase
*result
= 0 ;
33105 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
33107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33108 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
33109 wxPyEndAllowThreads(__tstate
);
33110 if (PyErr_Occurred()) SWIG_fail
;
33112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
33119 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33120 PyObject
*resultobj
= 0;
33121 wxEffects
*result
= 0 ;
33123 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
33125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33126 result
= (wxEffects
*)new wxEffects();
33127 wxPyEndAllowThreads(__tstate
);
33128 if (PyErr_Occurred()) SWIG_fail
;
33130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
33137 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33138 PyObject
*resultobj
= 0;
33139 wxEffects
*arg1
= (wxEffects
*) 0 ;
33143 PyObject
*swig_obj
[1] ;
33145 if (!args
) SWIG_fail
;
33146 swig_obj
[0] = args
;
33147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33148 if (!SWIG_IsOK(res1
)) {
33149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33151 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33154 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
33155 wxPyEndAllowThreads(__tstate
);
33156 if (PyErr_Occurred()) SWIG_fail
;
33158 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33165 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33166 PyObject
*resultobj
= 0;
33167 wxEffects
*arg1
= (wxEffects
*) 0 ;
33171 PyObject
*swig_obj
[1] ;
33173 if (!args
) SWIG_fail
;
33174 swig_obj
[0] = args
;
33175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33176 if (!SWIG_IsOK(res1
)) {
33177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33179 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33182 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
33183 wxPyEndAllowThreads(__tstate
);
33184 if (PyErr_Occurred()) SWIG_fail
;
33186 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33193 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33194 PyObject
*resultobj
= 0;
33195 wxEffects
*arg1
= (wxEffects
*) 0 ;
33199 PyObject
*swig_obj
[1] ;
33201 if (!args
) SWIG_fail
;
33202 swig_obj
[0] = args
;
33203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33204 if (!SWIG_IsOK(res1
)) {
33205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
33207 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33210 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
33211 wxPyEndAllowThreads(__tstate
);
33212 if (PyErr_Occurred()) SWIG_fail
;
33214 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33221 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33222 PyObject
*resultobj
= 0;
33223 wxEffects
*arg1
= (wxEffects
*) 0 ;
33227 PyObject
*swig_obj
[1] ;
33229 if (!args
) SWIG_fail
;
33230 swig_obj
[0] = args
;
33231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33232 if (!SWIG_IsOK(res1
)) {
33233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33235 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33238 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
33239 wxPyEndAllowThreads(__tstate
);
33240 if (PyErr_Occurred()) SWIG_fail
;
33242 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33249 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33250 PyObject
*resultobj
= 0;
33251 wxEffects
*arg1
= (wxEffects
*) 0 ;
33255 PyObject
*swig_obj
[1] ;
33257 if (!args
) SWIG_fail
;
33258 swig_obj
[0] = args
;
33259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33260 if (!SWIG_IsOK(res1
)) {
33261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
33263 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33266 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
33267 wxPyEndAllowThreads(__tstate
);
33268 if (PyErr_Occurred()) SWIG_fail
;
33270 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
33277 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33278 PyObject
*resultobj
= 0;
33279 wxEffects
*arg1
= (wxEffects
*) 0 ;
33280 wxColour
*arg2
= 0 ;
33284 PyObject
* obj0
= 0 ;
33285 PyObject
* obj1
= 0 ;
33286 char * kwnames
[] = {
33287 (char *) "self",(char *) "c", NULL
33290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33292 if (!SWIG_IsOK(res1
)) {
33293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33295 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33298 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33302 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
33303 wxPyEndAllowThreads(__tstate
);
33304 if (PyErr_Occurred()) SWIG_fail
;
33306 resultobj
= SWIG_Py_Void();
33313 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33314 PyObject
*resultobj
= 0;
33315 wxEffects
*arg1
= (wxEffects
*) 0 ;
33316 wxColour
*arg2
= 0 ;
33320 PyObject
* obj0
= 0 ;
33321 PyObject
* obj1
= 0 ;
33322 char * kwnames
[] = {
33323 (char *) "self",(char *) "c", NULL
33326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33328 if (!SWIG_IsOK(res1
)) {
33329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33331 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33334 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33338 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
33339 wxPyEndAllowThreads(__tstate
);
33340 if (PyErr_Occurred()) SWIG_fail
;
33342 resultobj
= SWIG_Py_Void();
33349 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33350 PyObject
*resultobj
= 0;
33351 wxEffects
*arg1
= (wxEffects
*) 0 ;
33352 wxColour
*arg2
= 0 ;
33356 PyObject
* obj0
= 0 ;
33357 PyObject
* obj1
= 0 ;
33358 char * kwnames
[] = {
33359 (char *) "self",(char *) "c", NULL
33362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33364 if (!SWIG_IsOK(res1
)) {
33365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
33367 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33370 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33374 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
33375 wxPyEndAllowThreads(__tstate
);
33376 if (PyErr_Occurred()) SWIG_fail
;
33378 resultobj
= SWIG_Py_Void();
33385 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33386 PyObject
*resultobj
= 0;
33387 wxEffects
*arg1
= (wxEffects
*) 0 ;
33388 wxColour
*arg2
= 0 ;
33392 PyObject
* obj0
= 0 ;
33393 PyObject
* obj1
= 0 ;
33394 char * kwnames
[] = {
33395 (char *) "self",(char *) "c", NULL
33398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33400 if (!SWIG_IsOK(res1
)) {
33401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33403 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33406 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33410 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
33411 wxPyEndAllowThreads(__tstate
);
33412 if (PyErr_Occurred()) SWIG_fail
;
33414 resultobj
= SWIG_Py_Void();
33421 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33422 PyObject
*resultobj
= 0;
33423 wxEffects
*arg1
= (wxEffects
*) 0 ;
33424 wxColour
*arg2
= 0 ;
33428 PyObject
* obj0
= 0 ;
33429 PyObject
* obj1
= 0 ;
33430 char * kwnames
[] = {
33431 (char *) "self",(char *) "c", NULL
33434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33436 if (!SWIG_IsOK(res1
)) {
33437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
33439 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33442 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33446 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
33447 wxPyEndAllowThreads(__tstate
);
33448 if (PyErr_Occurred()) SWIG_fail
;
33450 resultobj
= SWIG_Py_Void();
33457 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33458 PyObject
*resultobj
= 0;
33459 wxEffects
*arg1
= (wxEffects
*) 0 ;
33460 wxColour
*arg2
= 0 ;
33461 wxColour
*arg3
= 0 ;
33462 wxColour
*arg4
= 0 ;
33463 wxColour
*arg5
= 0 ;
33464 wxColour
*arg6
= 0 ;
33472 PyObject
* obj0
= 0 ;
33473 PyObject
* obj1
= 0 ;
33474 PyObject
* obj2
= 0 ;
33475 PyObject
* obj3
= 0 ;
33476 PyObject
* obj4
= 0 ;
33477 PyObject
* obj5
= 0 ;
33478 char * kwnames
[] = {
33479 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
33482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
33487 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33490 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33494 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
33498 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
33502 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
33506 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
33509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33510 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
33511 wxPyEndAllowThreads(__tstate
);
33512 if (PyErr_Occurred()) SWIG_fail
;
33514 resultobj
= SWIG_Py_Void();
33521 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33522 PyObject
*resultobj
= 0;
33523 wxEffects
*arg1
= (wxEffects
*) 0 ;
33526 int arg4
= (int) 1 ;
33534 PyObject
* obj0
= 0 ;
33535 PyObject
* obj1
= 0 ;
33536 PyObject
* obj2
= 0 ;
33537 PyObject
* obj3
= 0 ;
33538 char * kwnames
[] = {
33539 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
33542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",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_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
33547 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33548 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
33549 if (!SWIG_IsOK(res2
)) {
33550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
33555 arg2
= reinterpret_cast< wxDC
* >(argp2
);
33558 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33561 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33562 if (!SWIG_IsOK(ecode4
)) {
33563 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
33565 arg4
= static_cast< int >(val4
);
33568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33569 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
33570 wxPyEndAllowThreads(__tstate
);
33571 if (PyErr_Occurred()) SWIG_fail
;
33573 resultobj
= SWIG_Py_Void();
33580 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33581 PyObject
*resultobj
= 0;
33582 wxEffects
*arg1
= (wxEffects
*) 0 ;
33585 wxBitmap
*arg4
= 0 ;
33594 PyObject
* obj0
= 0 ;
33595 PyObject
* obj1
= 0 ;
33596 PyObject
* obj2
= 0 ;
33597 PyObject
* obj3
= 0 ;
33598 char * kwnames
[] = {
33599 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
33602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
33604 if (!SWIG_IsOK(res1
)) {
33605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
33607 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
33610 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33612 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
33613 if (!SWIG_IsOK(res3
)) {
33614 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
33619 arg3
= reinterpret_cast< wxDC
* >(argp3
);
33620 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
33621 if (!SWIG_IsOK(res4
)) {
33622 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
33627 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
33629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33630 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
33631 wxPyEndAllowThreads(__tstate
);
33632 if (PyErr_Occurred()) SWIG_fail
;
33635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33643 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33645 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33646 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
33647 return SWIG_Py_Void();
33650 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33651 return SWIG_Python_InitShadowInstance(args
);
33654 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33655 PyObject
*resultobj
= 0;
33659 wxSplitterRenderParams
*result
= 0 ;
33666 PyObject
* obj0
= 0 ;
33667 PyObject
* obj1
= 0 ;
33668 PyObject
* obj2
= 0 ;
33669 char * kwnames
[] = {
33670 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
33673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33674 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33675 if (!SWIG_IsOK(ecode1
)) {
33676 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
33678 arg1
= static_cast< int >(val1
);
33679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33680 if (!SWIG_IsOK(ecode2
)) {
33681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
33683 arg2
= static_cast< int >(val2
);
33684 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
33685 if (!SWIG_IsOK(ecode3
)) {
33686 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
33688 arg3
= static_cast< bool >(val3
);
33690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33691 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
33692 wxPyEndAllowThreads(__tstate
);
33693 if (PyErr_Occurred()) SWIG_fail
;
33695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
33702 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33703 PyObject
*resultobj
= 0;
33704 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33707 PyObject
*swig_obj
[1] ;
33709 if (!args
) SWIG_fail
;
33710 swig_obj
[0] = args
;
33711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
33712 if (!SWIG_IsOK(res1
)) {
33713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33715 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33720 wxPyEndAllowThreads(__tstate
);
33721 if (PyErr_Occurred()) SWIG_fail
;
33723 resultobj
= SWIG_Py_Void();
33730 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33731 PyObject
*resultobj
= 0;
33732 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33736 PyObject
*swig_obj
[1] ;
33738 if (!args
) SWIG_fail
;
33739 swig_obj
[0] = args
;
33740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33741 if (!SWIG_IsOK(res1
)) {
33742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33744 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33745 result
= (int)(int) ((arg1
)->widthSash
);
33746 resultobj
= SWIG_From_int(static_cast< int >(result
));
33753 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33754 PyObject
*resultobj
= 0;
33755 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33759 PyObject
*swig_obj
[1] ;
33761 if (!args
) SWIG_fail
;
33762 swig_obj
[0] = args
;
33763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33764 if (!SWIG_IsOK(res1
)) {
33765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33767 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33768 result
= (int)(int) ((arg1
)->border
);
33769 resultobj
= SWIG_From_int(static_cast< int >(result
));
33776 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33777 PyObject
*resultobj
= 0;
33778 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
33782 PyObject
*swig_obj
[1] ;
33784 if (!args
) SWIG_fail
;
33785 swig_obj
[0] = args
;
33786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
33787 if (!SWIG_IsOK(res1
)) {
33788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
33790 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
33791 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
33792 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
33799 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33801 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33802 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
33803 return SWIG_Py_Void();
33806 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33807 return SWIG_Python_InitShadowInstance(args
);
33810 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33811 PyObject
*resultobj
= 0;
33812 wxHeaderButtonParams
*result
= 0 ;
33814 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
33816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33817 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
33818 wxPyEndAllowThreads(__tstate
);
33819 if (PyErr_Occurred()) SWIG_fail
;
33821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
33828 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33829 PyObject
*resultobj
= 0;
33830 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33833 PyObject
*swig_obj
[1] ;
33835 if (!args
) SWIG_fail
;
33836 swig_obj
[0] = args
;
33837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
33838 if (!SWIG_IsOK(res1
)) {
33839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33841 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33846 wxPyEndAllowThreads(__tstate
);
33847 if (PyErr_Occurred()) SWIG_fail
;
33849 resultobj
= SWIG_Py_Void();
33856 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33857 PyObject
*resultobj
= 0;
33858 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33859 wxColour
*arg2
= (wxColour
*) 0 ;
33863 PyObject
*swig_obj
[2] ;
33865 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
33866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33867 if (!SWIG_IsOK(res1
)) {
33868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33870 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33873 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33875 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
33877 resultobj
= SWIG_Py_Void();
33884 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33885 PyObject
*resultobj
= 0;
33886 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33887 wxColour
*result
= 0 ;
33890 PyObject
*swig_obj
[1] ;
33892 if (!args
) SWIG_fail
;
33893 swig_obj
[0] = args
;
33894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33895 if (!SWIG_IsOK(res1
)) {
33896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33898 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33899 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
33900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33907 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33908 PyObject
*resultobj
= 0;
33909 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33910 wxColour
*arg2
= (wxColour
*) 0 ;
33914 PyObject
*swig_obj
[2] ;
33916 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
33917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33918 if (!SWIG_IsOK(res1
)) {
33919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33921 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33924 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
33926 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
33928 resultobj
= SWIG_Py_Void();
33935 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33936 PyObject
*resultobj
= 0;
33937 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33938 wxColour
*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_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33949 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33950 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
33951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
33958 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33959 PyObject
*resultobj
= 0;
33960 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33961 wxString
*arg2
= (wxString
*) 0 ;
33964 bool temp2
= false ;
33965 PyObject
*swig_obj
[2] ;
33967 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
33968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
33969 if (!SWIG_IsOK(res1
)) {
33970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
33972 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
33974 arg2
= wxString_in_helper(swig_obj
[1]);
33975 if (arg2
== NULL
) SWIG_fail
;
33978 if (arg1
) (arg1
)->m_labelText
= *arg2
;
33980 resultobj
= SWIG_Py_Void();
33995 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33996 PyObject
*resultobj
= 0;
33997 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
33998 wxString
*result
= 0 ;
34001 PyObject
*swig_obj
[1] ;
34003 if (!args
) SWIG_fail
;
34004 swig_obj
[0] = args
;
34005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34006 if (!SWIG_IsOK(res1
)) {
34007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34009 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34010 result
= (wxString
*)& ((arg1
)->m_labelText
);
34013 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
34015 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
34024 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34025 PyObject
*resultobj
= 0;
34026 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34027 wxFont
*arg2
= (wxFont
*) 0 ;
34032 PyObject
*swig_obj
[2] ;
34034 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
34035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34036 if (!SWIG_IsOK(res1
)) {
34037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34039 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34040 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
34041 if (!SWIG_IsOK(res2
)) {
34042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
34044 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34045 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
34047 resultobj
= SWIG_Py_Void();
34054 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34055 PyObject
*resultobj
= 0;
34056 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34057 wxFont
*result
= 0 ;
34060 PyObject
*swig_obj
[1] ;
34062 if (!args
) SWIG_fail
;
34063 swig_obj
[0] = args
;
34064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34065 if (!SWIG_IsOK(res1
)) {
34066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34068 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34069 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
34070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
34077 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34078 PyObject
*resultobj
= 0;
34079 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34080 wxColour
*arg2
= (wxColour
*) 0 ;
34084 PyObject
*swig_obj
[2] ;
34086 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
34087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34088 if (!SWIG_IsOK(res1
)) {
34089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34091 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34094 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
34096 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
34098 resultobj
= SWIG_Py_Void();
34105 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34106 PyObject
*resultobj
= 0;
34107 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34108 wxColour
*result
= 0 ;
34111 PyObject
*swig_obj
[1] ;
34113 if (!args
) SWIG_fail
;
34114 swig_obj
[0] = args
;
34115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34116 if (!SWIG_IsOK(res1
)) {
34117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34119 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34120 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
34121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
34128 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34129 PyObject
*resultobj
= 0;
34130 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34131 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
34136 PyObject
*swig_obj
[2] ;
34138 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
34139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34140 if (!SWIG_IsOK(res1
)) {
34141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34143 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34144 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
34145 if (!SWIG_IsOK(res2
)) {
34146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
34148 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
34149 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
34151 resultobj
= SWIG_Py_Void();
34158 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34159 PyObject
*resultobj
= 0;
34160 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34161 wxBitmap
*result
= 0 ;
34164 PyObject
*swig_obj
[1] ;
34166 if (!args
) SWIG_fail
;
34167 swig_obj
[0] = args
;
34168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34169 if (!SWIG_IsOK(res1
)) {
34170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34172 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34173 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
34174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
34181 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34182 PyObject
*resultobj
= 0;
34183 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34189 PyObject
*swig_obj
[2] ;
34191 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
34192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34193 if (!SWIG_IsOK(res1
)) {
34194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34196 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34197 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34198 if (!SWIG_IsOK(ecode2
)) {
34199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
34201 arg2
= static_cast< int >(val2
);
34202 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
34204 resultobj
= SWIG_Py_Void();
34211 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34212 PyObject
*resultobj
= 0;
34213 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
34217 PyObject
*swig_obj
[1] ;
34219 if (!args
) SWIG_fail
;
34220 swig_obj
[0] = args
;
34221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34222 if (!SWIG_IsOK(res1
)) {
34223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
34225 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
34226 result
= (int) ((arg1
)->m_labelAlignment
);
34227 resultobj
= SWIG_From_int(static_cast< int >(result
));
34234 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34237 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
34238 return SWIG_Py_Void();
34241 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34242 return SWIG_Python_InitShadowInstance(args
);
34245 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34246 PyObject
*resultobj
= 0;
34249 wxRendererVersion
*result
= 0 ;
34254 PyObject
* obj0
= 0 ;
34255 PyObject
* obj1
= 0 ;
34256 char * kwnames
[] = {
34257 (char *) "version_",(char *) "age_", NULL
34260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34261 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34262 if (!SWIG_IsOK(ecode1
)) {
34263 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
34265 arg1
= static_cast< int >(val1
);
34266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34267 if (!SWIG_IsOK(ecode2
)) {
34268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
34270 arg2
= static_cast< int >(val2
);
34272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34273 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
34274 wxPyEndAllowThreads(__tstate
);
34275 if (PyErr_Occurred()) SWIG_fail
;
34277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
34284 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34285 PyObject
*resultobj
= 0;
34286 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34289 PyObject
*swig_obj
[1] ;
34291 if (!args
) SWIG_fail
;
34292 swig_obj
[0] = args
;
34293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
34294 if (!SWIG_IsOK(res1
)) {
34295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34297 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34302 wxPyEndAllowThreads(__tstate
);
34303 if (PyErr_Occurred()) SWIG_fail
;
34305 resultobj
= SWIG_Py_Void();
34312 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34313 PyObject
*resultobj
= 0;
34314 wxRendererVersion
*arg1
= 0 ;
34318 PyObject
* obj0
= 0 ;
34319 char * kwnames
[] = {
34320 (char *) "ver", NULL
34323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
34324 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
34325 if (!SWIG_IsOK(res1
)) {
34326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
34331 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34334 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
34335 wxPyEndAllowThreads(__tstate
);
34336 if (PyErr_Occurred()) SWIG_fail
;
34339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34347 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34348 PyObject
*resultobj
= 0;
34349 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34353 PyObject
*swig_obj
[1] ;
34355 if (!args
) SWIG_fail
;
34356 swig_obj
[0] = args
;
34357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34358 if (!SWIG_IsOK(res1
)) {
34359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34361 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34362 result
= (int)(int) ((arg1
)->version
);
34363 resultobj
= SWIG_From_int(static_cast< int >(result
));
34370 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34371 PyObject
*resultobj
= 0;
34372 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
34376 PyObject
*swig_obj
[1] ;
34378 if (!args
) SWIG_fail
;
34379 swig_obj
[0] = args
;
34380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
34381 if (!SWIG_IsOK(res1
)) {
34382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
34384 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
34385 result
= (int)(int) ((arg1
)->age
);
34386 resultobj
= SWIG_From_int(static_cast< int >(result
));
34393 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34396 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
34397 return SWIG_Py_Void();
34400 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34401 return SWIG_Python_InitShadowInstance(args
);
34404 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34405 PyObject
*resultobj
= 0;
34406 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34407 wxWindow
*arg2
= (wxWindow
*) 0 ;
34410 int arg5
= (int) 0 ;
34411 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34412 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34427 PyObject
* obj0
= 0 ;
34428 PyObject
* obj1
= 0 ;
34429 PyObject
* obj2
= 0 ;
34430 PyObject
* obj3
= 0 ;
34431 PyObject
* obj4
= 0 ;
34432 PyObject
* obj5
= 0 ;
34433 PyObject
* obj6
= 0 ;
34434 char * kwnames
[] = {
34435 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34440 if (!SWIG_IsOK(res1
)) {
34441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34443 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34444 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34445 if (!SWIG_IsOK(res2
)) {
34446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34448 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34449 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34450 if (!SWIG_IsOK(res3
)) {
34451 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
34456 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34459 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34462 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34463 if (!SWIG_IsOK(ecode5
)) {
34464 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
34466 arg5
= static_cast< int >(val5
);
34469 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34470 if (!SWIG_IsOK(ecode6
)) {
34471 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34473 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34476 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34477 if (!SWIG_IsOK(res7
)) {
34478 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34480 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34484 result
= (int)(arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34485 wxPyEndAllowThreads(__tstate
);
34486 if (PyErr_Occurred()) SWIG_fail
;
34488 resultobj
= SWIG_From_int(static_cast< int >(result
));
34495 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34496 PyObject
*resultobj
= 0;
34497 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34498 wxWindow
*arg2
= (wxWindow
*) 0 ;
34501 int arg5
= (int) 0 ;
34502 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
34503 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
34518 PyObject
* obj0
= 0 ;
34519 PyObject
* obj1
= 0 ;
34520 PyObject
* obj2
= 0 ;
34521 PyObject
* obj3
= 0 ;
34522 PyObject
* obj4
= 0 ;
34523 PyObject
* obj5
= 0 ;
34524 PyObject
* obj6
= 0 ;
34525 char * kwnames
[] = {
34526 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
34529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34531 if (!SWIG_IsOK(res1
)) {
34532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34534 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34535 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34536 if (!SWIG_IsOK(res2
)) {
34537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
34539 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34540 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34541 if (!SWIG_IsOK(res3
)) {
34542 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
34547 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34550 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34553 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34554 if (!SWIG_IsOK(ecode5
)) {
34555 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
34557 arg5
= static_cast< int >(val5
);
34560 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34561 if (!SWIG_IsOK(ecode6
)) {
34562 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
34564 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
34567 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
34568 if (!SWIG_IsOK(res7
)) {
34569 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
34571 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
34574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34575 result
= (int)(arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
34576 wxPyEndAllowThreads(__tstate
);
34577 if (PyErr_Occurred()) SWIG_fail
;
34579 resultobj
= SWIG_From_int(static_cast< int >(result
));
34586 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34587 PyObject
*resultobj
= 0;
34588 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34589 wxWindow
*arg2
= (wxWindow
*) 0 ;
34595 PyObject
* obj0
= 0 ;
34596 PyObject
* obj1
= 0 ;
34597 char * kwnames
[] = {
34598 (char *) "self",(char *) "win", NULL
34601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34603 if (!SWIG_IsOK(res1
)) {
34604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34606 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34607 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34608 if (!SWIG_IsOK(res2
)) {
34609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
34611 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34614 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
34615 wxPyEndAllowThreads(__tstate
);
34616 if (PyErr_Occurred()) SWIG_fail
;
34618 resultobj
= SWIG_From_int(static_cast< int >(result
));
34625 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34626 PyObject
*resultobj
= 0;
34627 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34628 wxWindow
*arg2
= (wxWindow
*) 0 ;
34631 int arg5
= (int) 0 ;
34641 PyObject
* obj0
= 0 ;
34642 PyObject
* obj1
= 0 ;
34643 PyObject
* obj2
= 0 ;
34644 PyObject
* obj3
= 0 ;
34645 PyObject
* obj4
= 0 ;
34646 char * kwnames
[] = {
34647 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34652 if (!SWIG_IsOK(res1
)) {
34653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34655 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34656 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34657 if (!SWIG_IsOK(res2
)) {
34658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34660 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34661 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34662 if (!SWIG_IsOK(res3
)) {
34663 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
34668 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34671 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34674 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34675 if (!SWIG_IsOK(ecode5
)) {
34676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
34678 arg5
= static_cast< int >(val5
);
34681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34682 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34683 wxPyEndAllowThreads(__tstate
);
34684 if (PyErr_Occurred()) SWIG_fail
;
34686 resultobj
= SWIG_Py_Void();
34693 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34694 PyObject
*resultobj
= 0;
34695 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34696 wxWindow
*arg2
= (wxWindow
*) 0 ;
34699 int arg5
= (int) 0 ;
34709 PyObject
* obj0
= 0 ;
34710 PyObject
* obj1
= 0 ;
34711 PyObject
* obj2
= 0 ;
34712 PyObject
* obj3
= 0 ;
34713 PyObject
* obj4
= 0 ;
34714 char * kwnames
[] = {
34715 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34720 if (!SWIG_IsOK(res1
)) {
34721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34723 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34724 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34725 if (!SWIG_IsOK(res2
)) {
34726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
34728 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34729 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34730 if (!SWIG_IsOK(res3
)) {
34731 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34734 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
34736 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34739 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34742 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34743 if (!SWIG_IsOK(ecode5
)) {
34744 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
34746 arg5
= static_cast< int >(val5
);
34749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34750 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34751 wxPyEndAllowThreads(__tstate
);
34752 if (PyErr_Occurred()) SWIG_fail
;
34754 resultobj
= SWIG_Py_Void();
34761 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34762 PyObject
*resultobj
= 0;
34763 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34764 wxWindow
*arg2
= (wxWindow
*) 0 ;
34768 wxOrientation arg6
;
34769 int arg7
= (int) 0 ;
34783 PyObject
* obj0
= 0 ;
34784 PyObject
* obj1
= 0 ;
34785 PyObject
* obj2
= 0 ;
34786 PyObject
* obj3
= 0 ;
34787 PyObject
* obj4
= 0 ;
34788 PyObject
* obj5
= 0 ;
34789 PyObject
* obj6
= 0 ;
34790 char * kwnames
[] = {
34791 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
34794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34796 if (!SWIG_IsOK(res1
)) {
34797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34799 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34800 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34801 if (!SWIG_IsOK(res2
)) {
34802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
34804 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34805 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34806 if (!SWIG_IsOK(res3
)) {
34807 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
34812 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34815 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34817 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34818 if (!SWIG_IsOK(ecode5
)) {
34819 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
34821 arg5
= static_cast< int >(val5
);
34822 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34823 if (!SWIG_IsOK(ecode6
)) {
34824 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
34826 arg6
= static_cast< wxOrientation
>(val6
);
34828 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
34829 if (!SWIG_IsOK(ecode7
)) {
34830 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
34832 arg7
= static_cast< int >(val7
);
34835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34836 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
34837 wxPyEndAllowThreads(__tstate
);
34838 if (PyErr_Occurred()) SWIG_fail
;
34840 resultobj
= SWIG_Py_Void();
34847 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34848 PyObject
*resultobj
= 0;
34849 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34850 wxWindow
*arg2
= (wxWindow
*) 0 ;
34853 int arg5
= (int) 0 ;
34863 PyObject
* obj0
= 0 ;
34864 PyObject
* obj1
= 0 ;
34865 PyObject
* obj2
= 0 ;
34866 PyObject
* obj3
= 0 ;
34867 PyObject
* obj4
= 0 ;
34868 char * kwnames
[] = {
34869 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34874 if (!SWIG_IsOK(res1
)) {
34875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34877 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34879 if (!SWIG_IsOK(res2
)) {
34880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
34882 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34883 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34884 if (!SWIG_IsOK(res3
)) {
34885 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
34890 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34893 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34896 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34897 if (!SWIG_IsOK(ecode5
)) {
34898 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
34900 arg5
= static_cast< int >(val5
);
34903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34904 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34905 wxPyEndAllowThreads(__tstate
);
34906 if (PyErr_Occurred()) SWIG_fail
;
34908 resultobj
= SWIG_Py_Void();
34915 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34916 PyObject
*resultobj
= 0;
34917 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34918 wxWindow
*arg2
= (wxWindow
*) 0 ;
34921 int arg5
= (int) 0 ;
34931 PyObject
* obj0
= 0 ;
34932 PyObject
* obj1
= 0 ;
34933 PyObject
* obj2
= 0 ;
34934 PyObject
* obj3
= 0 ;
34935 PyObject
* obj4
= 0 ;
34936 char * kwnames
[] = {
34937 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
34940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
34942 if (!SWIG_IsOK(res1
)) {
34943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
34945 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
34946 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34947 if (!SWIG_IsOK(res2
)) {
34948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
34950 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34951 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
34952 if (!SWIG_IsOK(res3
)) {
34953 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
34958 arg3
= reinterpret_cast< wxDC
* >(argp3
);
34961 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34964 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34965 if (!SWIG_IsOK(ecode5
)) {
34966 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
34968 arg5
= static_cast< int >(val5
);
34971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34972 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
34973 wxPyEndAllowThreads(__tstate
);
34974 if (PyErr_Occurred()) SWIG_fail
;
34976 resultobj
= SWIG_Py_Void();
34983 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34984 PyObject
*resultobj
= 0;
34985 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
34986 wxWindow
*arg2
= (wxWindow
*) 0 ;
34989 int arg5
= (int) 0 ;
34999 PyObject
* obj0
= 0 ;
35000 PyObject
* obj1
= 0 ;
35001 PyObject
* obj2
= 0 ;
35002 PyObject
* obj3
= 0 ;
35003 PyObject
* obj4
= 0 ;
35004 char * kwnames
[] = {
35005 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35010 if (!SWIG_IsOK(res1
)) {
35011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35013 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35014 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35015 if (!SWIG_IsOK(res2
)) {
35016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
35018 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35019 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35020 if (!SWIG_IsOK(res3
)) {
35021 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
35026 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35029 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35032 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35033 if (!SWIG_IsOK(ecode5
)) {
35034 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
35036 arg5
= static_cast< int >(val5
);
35039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35040 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35041 wxPyEndAllowThreads(__tstate
);
35042 if (PyErr_Occurred()) SWIG_fail
;
35044 resultobj
= SWIG_Py_Void();
35051 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35052 PyObject
*resultobj
= 0;
35053 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35054 wxWindow
*arg2
= (wxWindow
*) 0 ;
35057 int arg5
= (int) 0 ;
35067 PyObject
* obj0
= 0 ;
35068 PyObject
* obj1
= 0 ;
35069 PyObject
* obj2
= 0 ;
35070 PyObject
* obj3
= 0 ;
35071 PyObject
* obj4
= 0 ;
35072 char * kwnames
[] = {
35073 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35078 if (!SWIG_IsOK(res1
)) {
35079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35081 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35082 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35083 if (!SWIG_IsOK(res2
)) {
35084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
35086 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35087 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35088 if (!SWIG_IsOK(res3
)) {
35089 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
35094 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35097 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35100 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35101 if (!SWIG_IsOK(ecode5
)) {
35102 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
35104 arg5
= static_cast< int >(val5
);
35107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35108 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35109 wxPyEndAllowThreads(__tstate
);
35110 if (PyErr_Occurred()) SWIG_fail
;
35112 resultobj
= SWIG_Py_Void();
35119 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35120 PyObject
*resultobj
= 0;
35121 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35122 wxWindow
*arg2
= (wxWindow
*) 0 ;
35125 int arg5
= (int) 0 ;
35135 PyObject
* obj0
= 0 ;
35136 PyObject
* obj1
= 0 ;
35137 PyObject
* obj2
= 0 ;
35138 PyObject
* obj3
= 0 ;
35139 PyObject
* obj4
= 0 ;
35140 char * kwnames
[] = {
35141 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
35144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35146 if (!SWIG_IsOK(res1
)) {
35147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35149 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35150 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35151 if (!SWIG_IsOK(res2
)) {
35152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
35154 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35155 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
35156 if (!SWIG_IsOK(res3
)) {
35157 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
35162 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35165 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
35168 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35169 if (!SWIG_IsOK(ecode5
)) {
35170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
35172 arg5
= static_cast< int >(val5
);
35175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35176 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
35177 wxPyEndAllowThreads(__tstate
);
35178 if (PyErr_Occurred()) SWIG_fail
;
35180 resultobj
= SWIG_Py_Void();
35187 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35188 PyObject
*resultobj
= 0;
35189 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35190 wxWindow
*arg2
= (wxWindow
*) 0 ;
35191 SwigValueWrapper
<wxSplitterRenderParams
> result
;
35196 PyObject
* obj0
= 0 ;
35197 PyObject
* obj1
= 0 ;
35198 char * kwnames
[] = {
35199 (char *) "self",(char *) "win", NULL
35202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35204 if (!SWIG_IsOK(res1
)) {
35205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35207 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35208 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35209 if (!SWIG_IsOK(res2
)) {
35210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
35212 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
35214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35215 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
35216 wxPyEndAllowThreads(__tstate
);
35217 if (PyErr_Occurred()) SWIG_fail
;
35219 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
35226 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35227 PyObject
*resultobj
= 0;
35228 wxRendererNative
*result
= 0 ;
35230 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
35232 if (!wxPyCheckForApp()) SWIG_fail
;
35233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35235 wxRendererNative
&_result_ref
= wxRendererNative::Get();
35236 result
= (wxRendererNative
*) &_result_ref
;
35238 wxPyEndAllowThreads(__tstate
);
35239 if (PyErr_Occurred()) SWIG_fail
;
35241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35248 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35249 PyObject
*resultobj
= 0;
35250 wxRendererNative
*result
= 0 ;
35252 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
35254 if (!wxPyCheckForApp()) SWIG_fail
;
35255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35257 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
35258 result
= (wxRendererNative
*) &_result_ref
;
35260 wxPyEndAllowThreads(__tstate
);
35261 if (PyErr_Occurred()) SWIG_fail
;
35263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35270 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35271 PyObject
*resultobj
= 0;
35272 wxRendererNative
*result
= 0 ;
35274 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
35276 if (!wxPyCheckForApp()) SWIG_fail
;
35277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35279 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
35280 result
= (wxRendererNative
*) &_result_ref
;
35282 wxPyEndAllowThreads(__tstate
);
35283 if (PyErr_Occurred()) SWIG_fail
;
35285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35292 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35293 PyObject
*resultobj
= 0;
35294 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35295 wxRendererNative
*result
= 0 ;
35298 PyObject
* obj0
= 0 ;
35299 char * kwnames
[] = {
35300 (char *) "renderer", NULL
35303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
35304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35305 if (!SWIG_IsOK(res1
)) {
35306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
35308 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35310 if (!wxPyCheckForApp()) SWIG_fail
;
35311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35312 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
35313 wxPyEndAllowThreads(__tstate
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35323 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35324 PyObject
*resultobj
= 0;
35325 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
35326 SwigValueWrapper
<wxRendererVersion
> result
;
35329 PyObject
*swig_obj
[1] ;
35331 if (!args
) SWIG_fail
;
35332 swig_obj
[0] = args
;
35333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
35334 if (!SWIG_IsOK(res1
)) {
35335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
35337 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
35339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35340 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
35341 wxPyEndAllowThreads(__tstate
);
35342 if (PyErr_Occurred()) SWIG_fail
;
35344 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
35351 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35354 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
35355 return SWIG_Py_Void();
35358 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35359 PyObject
*resultobj
= 0;
35360 wxPseudoDC
*result
= 0 ;
35362 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
35364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35365 result
= (wxPseudoDC
*)new wxPseudoDC();
35366 wxPyEndAllowThreads(__tstate
);
35367 if (PyErr_Occurred()) SWIG_fail
;
35369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
35376 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35377 PyObject
*resultobj
= 0;
35378 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35381 PyObject
*swig_obj
[1] ;
35383 if (!args
) SWIG_fail
;
35384 swig_obj
[0] = args
;
35385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35386 if (!SWIG_IsOK(res1
)) {
35387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35389 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35392 (arg1
)->BeginDrawing();
35393 wxPyEndAllowThreads(__tstate
);
35394 if (PyErr_Occurred()) SWIG_fail
;
35396 resultobj
= SWIG_Py_Void();
35403 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35404 PyObject
*resultobj
= 0;
35405 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35408 PyObject
*swig_obj
[1] ;
35410 if (!args
) SWIG_fail
;
35411 swig_obj
[0] = args
;
35412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35413 if (!SWIG_IsOK(res1
)) {
35414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35416 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35419 (arg1
)->EndDrawing();
35420 wxPyEndAllowThreads(__tstate
);
35421 if (PyErr_Occurred()) SWIG_fail
;
35423 resultobj
= SWIG_Py_Void();
35430 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35431 PyObject
*resultobj
= 0;
35432 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35435 PyObject
*swig_obj
[1] ;
35437 if (!args
) SWIG_fail
;
35438 swig_obj
[0] = args
;
35439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
35440 if (!SWIG_IsOK(res1
)) {
35441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35443 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35448 wxPyEndAllowThreads(__tstate
);
35449 if (PyErr_Occurred()) SWIG_fail
;
35451 resultobj
= SWIG_Py_Void();
35458 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35459 PyObject
*resultobj
= 0;
35460 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35463 PyObject
*swig_obj
[1] ;
35465 if (!args
) SWIG_fail
;
35466 swig_obj
[0] = args
;
35467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35468 if (!SWIG_IsOK(res1
)) {
35469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35471 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35474 (arg1
)->RemoveAll();
35475 wxPyEndAllowThreads(__tstate
);
35476 if (PyErr_Occurred()) SWIG_fail
;
35478 resultobj
= SWIG_Py_Void();
35485 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35486 PyObject
*resultobj
= 0;
35487 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35491 PyObject
*swig_obj
[1] ;
35493 if (!args
) SWIG_fail
;
35494 swig_obj
[0] = args
;
35495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35496 if (!SWIG_IsOK(res1
)) {
35497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35499 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35502 result
= (int)(arg1
)->GetLen();
35503 wxPyEndAllowThreads(__tstate
);
35504 if (PyErr_Occurred()) SWIG_fail
;
35506 resultobj
= SWIG_From_int(static_cast< int >(result
));
35513 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35514 PyObject
*resultobj
= 0;
35515 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35521 PyObject
* obj0
= 0 ;
35522 PyObject
* obj1
= 0 ;
35523 char * kwnames
[] = {
35524 (char *) "self",(char *) "id", NULL
35527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35529 if (!SWIG_IsOK(res1
)) {
35530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35532 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35534 if (!SWIG_IsOK(ecode2
)) {
35535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
35537 arg2
= static_cast< int >(val2
);
35539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35540 (arg1
)->SetId(arg2
);
35541 wxPyEndAllowThreads(__tstate
);
35542 if (PyErr_Occurred()) SWIG_fail
;
35544 resultobj
= SWIG_Py_Void();
35551 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35552 PyObject
*resultobj
= 0;
35553 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35559 PyObject
* obj0
= 0 ;
35560 PyObject
* obj1
= 0 ;
35561 char * kwnames
[] = {
35562 (char *) "self",(char *) "id", NULL
35565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35567 if (!SWIG_IsOK(res1
)) {
35568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35570 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35572 if (!SWIG_IsOK(ecode2
)) {
35573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
35575 arg2
= static_cast< int >(val2
);
35577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35578 (arg1
)->ClearId(arg2
);
35579 wxPyEndAllowThreads(__tstate
);
35580 if (PyErr_Occurred()) SWIG_fail
;
35582 resultobj
= SWIG_Py_Void();
35589 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35590 PyObject
*resultobj
= 0;
35591 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35597 PyObject
* obj0
= 0 ;
35598 PyObject
* obj1
= 0 ;
35599 char * kwnames
[] = {
35600 (char *) "self",(char *) "id", NULL
35603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35605 if (!SWIG_IsOK(res1
)) {
35606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35608 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35610 if (!SWIG_IsOK(ecode2
)) {
35611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
35613 arg2
= static_cast< int >(val2
);
35615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35616 (arg1
)->RemoveId(arg2
);
35617 wxPyEndAllowThreads(__tstate
);
35618 if (PyErr_Occurred()) SWIG_fail
;
35620 resultobj
= SWIG_Py_Void();
35627 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35628 PyObject
*resultobj
= 0;
35629 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35641 PyObject
* obj0
= 0 ;
35642 PyObject
* obj1
= 0 ;
35643 PyObject
* obj2
= 0 ;
35644 PyObject
* obj3
= 0 ;
35645 char * kwnames
[] = {
35646 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
35649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35651 if (!SWIG_IsOK(res1
)) {
35652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35654 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35656 if (!SWIG_IsOK(ecode2
)) {
35657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
35659 arg2
= static_cast< int >(val2
);
35660 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35661 if (!SWIG_IsOK(ecode3
)) {
35662 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
35664 arg3
= static_cast< int >(val3
);
35665 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35666 if (!SWIG_IsOK(ecode4
)) {
35667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
35669 arg4
= static_cast< int >(val4
);
35671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35672 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
35673 wxPyEndAllowThreads(__tstate
);
35674 if (PyErr_Occurred()) SWIG_fail
;
35676 resultobj
= SWIG_Py_Void();
35683 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35684 PyObject
*resultobj
= 0;
35685 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35687 bool arg3
= (bool) true ;
35694 PyObject
* obj0
= 0 ;
35695 PyObject
* obj1
= 0 ;
35696 PyObject
* obj2
= 0 ;
35697 char * kwnames
[] = {
35698 (char *) "self",(char *) "id",(char *) "greyout", NULL
35701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35703 if (!SWIG_IsOK(res1
)) {
35704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35706 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35708 if (!SWIG_IsOK(ecode2
)) {
35709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35711 arg2
= static_cast< int >(val2
);
35713 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35714 if (!SWIG_IsOK(ecode3
)) {
35715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
35717 arg3
= static_cast< bool >(val3
);
35720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35721 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
35722 wxPyEndAllowThreads(__tstate
);
35723 if (PyErr_Occurred()) SWIG_fail
;
35725 resultobj
= SWIG_Py_Void();
35732 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35733 PyObject
*resultobj
= 0;
35734 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35741 PyObject
* obj0
= 0 ;
35742 PyObject
* obj1
= 0 ;
35743 char * kwnames
[] = {
35744 (char *) "self",(char *) "id", NULL
35747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35749 if (!SWIG_IsOK(res1
)) {
35750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35752 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35754 if (!SWIG_IsOK(ecode2
)) {
35755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
35757 arg2
= static_cast< int >(val2
);
35759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35760 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
35761 wxPyEndAllowThreads(__tstate
);
35762 if (PyErr_Occurred()) SWIG_fail
;
35765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35773 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35774 PyObject
*resultobj
= 0;
35775 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35778 int arg4
= (int) 1 ;
35779 wxColour
const &arg5_defvalue
= *wxWHITE
;
35780 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
35781 PyObject
*result
= 0 ;
35791 PyObject
* obj0
= 0 ;
35792 PyObject
* obj1
= 0 ;
35793 PyObject
* obj2
= 0 ;
35794 PyObject
* obj3
= 0 ;
35795 PyObject
* obj4
= 0 ;
35796 char * kwnames
[] = {
35797 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
35800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35802 if (!SWIG_IsOK(res1
)) {
35803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35805 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35807 if (!SWIG_IsOK(ecode2
)) {
35808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
35810 arg2
= static_cast< int >(val2
);
35811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35812 if (!SWIG_IsOK(ecode3
)) {
35813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
35815 arg3
= static_cast< int >(val3
);
35817 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35818 if (!SWIG_IsOK(ecode4
)) {
35819 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
35821 arg4
= static_cast< int >(val4
);
35826 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
35830 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColour
const &)*arg5
);
35831 if (PyErr_Occurred()) SWIG_fail
;
35833 resultobj
= result
;
35840 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35841 PyObject
*resultobj
= 0;
35842 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35845 PyObject
*result
= 0 ;
35852 PyObject
* obj0
= 0 ;
35853 PyObject
* obj1
= 0 ;
35854 PyObject
* obj2
= 0 ;
35855 char * kwnames
[] = {
35856 (char *) "self",(char *) "x",(char *) "y", NULL
35859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35861 if (!SWIG_IsOK(res1
)) {
35862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35864 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35866 if (!SWIG_IsOK(ecode2
)) {
35867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
35869 arg2
= static_cast< int >(val2
);
35870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35871 if (!SWIG_IsOK(ecode3
)) {
35872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
35874 arg3
= static_cast< int >(val3
);
35876 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
35877 if (PyErr_Occurred()) SWIG_fail
;
35879 resultobj
= result
;
35886 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35887 PyObject
*resultobj
= 0;
35888 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35890 wxDC
*arg3
= (wxDC
*) 0 ;
35897 PyObject
* obj0
= 0 ;
35898 PyObject
* obj1
= 0 ;
35899 PyObject
* obj2
= 0 ;
35900 char * kwnames
[] = {
35901 (char *) "self",(char *) "id",(char *) "dc", NULL
35904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35906 if (!SWIG_IsOK(res1
)) {
35907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35909 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35910 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35911 if (!SWIG_IsOK(ecode2
)) {
35912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
35914 arg2
= static_cast< int >(val2
);
35915 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
35916 if (!SWIG_IsOK(res3
)) {
35917 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
35919 arg3
= reinterpret_cast< wxDC
* >(argp3
);
35921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35922 (arg1
)->DrawIdToDC(arg2
,arg3
);
35923 wxPyEndAllowThreads(__tstate
);
35924 if (PyErr_Occurred()) SWIG_fail
;
35926 resultobj
= SWIG_Py_Void();
35933 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35934 PyObject
*resultobj
= 0;
35935 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35943 PyObject
* obj0
= 0 ;
35944 PyObject
* obj1
= 0 ;
35945 PyObject
* obj2
= 0 ;
35946 char * kwnames
[] = {
35947 (char *) "self",(char *) "id",(char *) "rect", NULL
35950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35952 if (!SWIG_IsOK(res1
)) {
35953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35955 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35957 if (!SWIG_IsOK(ecode2
)) {
35958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
35960 arg2
= static_cast< int >(val2
);
35963 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
35966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35967 (arg1
)->SetIdBounds(arg2
,*arg3
);
35968 wxPyEndAllowThreads(__tstate
);
35969 if (PyErr_Occurred()) SWIG_fail
;
35971 resultobj
= SWIG_Py_Void();
35978 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35979 PyObject
*resultobj
= 0;
35980 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
35987 PyObject
* obj0
= 0 ;
35988 PyObject
* obj1
= 0 ;
35989 char * kwnames
[] = {
35990 (char *) "self",(char *) "id", NULL
35993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
35995 if (!SWIG_IsOK(res1
)) {
35996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
35998 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
35999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36000 if (!SWIG_IsOK(ecode2
)) {
36001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
36003 arg2
= static_cast< int >(val2
);
36005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36006 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
36007 wxPyEndAllowThreads(__tstate
);
36008 if (PyErr_Occurred()) SWIG_fail
;
36010 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36017 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36018 PyObject
*resultobj
= 0;
36019 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36020 wxDC
*arg2
= (wxDC
*) 0 ;
36027 PyObject
* obj0
= 0 ;
36028 PyObject
* obj1
= 0 ;
36029 PyObject
* obj2
= 0 ;
36030 char * kwnames
[] = {
36031 (char *) "self",(char *) "dc",(char *) "rect", NULL
36034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36036 if (!SWIG_IsOK(res1
)) {
36037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36039 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36040 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36041 if (!SWIG_IsOK(res2
)) {
36042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
36044 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36047 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
36050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36051 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
36052 wxPyEndAllowThreads(__tstate
);
36053 if (PyErr_Occurred()) SWIG_fail
;
36055 resultobj
= SWIG_Py_Void();
36062 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36063 PyObject
*resultobj
= 0;
36064 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36065 wxDC
*arg2
= (wxDC
*) 0 ;
36066 wxRegion
*arg3
= 0 ;
36073 PyObject
* obj0
= 0 ;
36074 PyObject
* obj1
= 0 ;
36075 PyObject
* obj2
= 0 ;
36076 char * kwnames
[] = {
36077 (char *) "self",(char *) "dc",(char *) "region", NULL
36080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36082 if (!SWIG_IsOK(res1
)) {
36083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36085 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36086 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36087 if (!SWIG_IsOK(res2
)) {
36088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
36090 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36091 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
36092 if (!SWIG_IsOK(res3
)) {
36093 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
36098 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
36100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36101 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
36102 wxPyEndAllowThreads(__tstate
);
36103 if (PyErr_Occurred()) SWIG_fail
;
36105 resultobj
= SWIG_Py_Void();
36112 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36113 PyObject
*resultobj
= 0;
36114 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36115 wxDC
*arg2
= (wxDC
*) 0 ;
36120 PyObject
* obj0
= 0 ;
36121 PyObject
* obj1
= 0 ;
36122 char * kwnames
[] = {
36123 (char *) "self",(char *) "dc", NULL
36126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36128 if (!SWIG_IsOK(res1
)) {
36129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36131 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36132 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
36133 if (!SWIG_IsOK(res2
)) {
36134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
36136 arg2
= reinterpret_cast< wxDC
* >(argp2
);
36138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36139 (arg1
)->DrawToDC(arg2
);
36140 wxPyEndAllowThreads(__tstate
);
36141 if (PyErr_Occurred()) SWIG_fail
;
36143 resultobj
= SWIG_Py_Void();
36150 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36151 PyObject
*resultobj
= 0;
36152 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36155 wxColour
*arg4
= 0 ;
36156 int arg5
= (int) wxFLOOD_SURFACE
;
36166 PyObject
* obj0
= 0 ;
36167 PyObject
* obj1
= 0 ;
36168 PyObject
* obj2
= 0 ;
36169 PyObject
* obj3
= 0 ;
36170 PyObject
* obj4
= 0 ;
36171 char * kwnames
[] = {
36172 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
36175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36177 if (!SWIG_IsOK(res1
)) {
36178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36180 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36181 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36182 if (!SWIG_IsOK(ecode2
)) {
36183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
36185 arg2
= static_cast< int >(val2
);
36186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36187 if (!SWIG_IsOK(ecode3
)) {
36188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
36190 arg3
= static_cast< int >(val3
);
36193 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
36196 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36197 if (!SWIG_IsOK(ecode5
)) {
36198 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
36200 arg5
= static_cast< int >(val5
);
36203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36204 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
36205 wxPyEndAllowThreads(__tstate
);
36206 if (PyErr_Occurred()) SWIG_fail
;
36208 resultobj
= SWIG_Py_Void();
36215 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36216 PyObject
*resultobj
= 0;
36217 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36218 wxPoint
*arg2
= 0 ;
36219 wxColour
*arg3
= 0 ;
36220 int arg4
= (int) wxFLOOD_SURFACE
;
36227 PyObject
* obj0
= 0 ;
36228 PyObject
* obj1
= 0 ;
36229 PyObject
* obj2
= 0 ;
36230 PyObject
* obj3
= 0 ;
36231 char * kwnames
[] = {
36232 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
36235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36237 if (!SWIG_IsOK(res1
)) {
36238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36240 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36243 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36247 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
36250 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36251 if (!SWIG_IsOK(ecode4
)) {
36252 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
36254 arg4
= static_cast< int >(val4
);
36257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36258 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
36259 wxPyEndAllowThreads(__tstate
);
36260 if (PyErr_Occurred()) SWIG_fail
;
36262 resultobj
= SWIG_Py_Void();
36269 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36270 PyObject
*resultobj
= 0;
36271 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36286 PyObject
* obj0
= 0 ;
36287 PyObject
* obj1
= 0 ;
36288 PyObject
* obj2
= 0 ;
36289 PyObject
* obj3
= 0 ;
36290 PyObject
* obj4
= 0 ;
36291 char * kwnames
[] = {
36292 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
36295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36300 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36302 if (!SWIG_IsOK(ecode2
)) {
36303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
36305 arg2
= static_cast< int >(val2
);
36306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36307 if (!SWIG_IsOK(ecode3
)) {
36308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
36310 arg3
= static_cast< int >(val3
);
36311 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36312 if (!SWIG_IsOK(ecode4
)) {
36313 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
36315 arg4
= static_cast< int >(val4
);
36316 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36317 if (!SWIG_IsOK(ecode5
)) {
36318 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
36320 arg5
= static_cast< int >(val5
);
36322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36323 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
36324 wxPyEndAllowThreads(__tstate
);
36325 if (PyErr_Occurred()) SWIG_fail
;
36327 resultobj
= SWIG_Py_Void();
36334 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36335 PyObject
*resultobj
= 0;
36336 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36337 wxPoint
*arg2
= 0 ;
36338 wxPoint
*arg3
= 0 ;
36343 PyObject
* obj0
= 0 ;
36344 PyObject
* obj1
= 0 ;
36345 PyObject
* obj2
= 0 ;
36346 char * kwnames
[] = {
36347 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
36350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36352 if (!SWIG_IsOK(res1
)) {
36353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36355 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36358 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36362 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36366 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
36367 wxPyEndAllowThreads(__tstate
);
36368 if (PyErr_Occurred()) SWIG_fail
;
36370 resultobj
= SWIG_Py_Void();
36377 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36378 PyObject
*resultobj
= 0;
36379 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36388 PyObject
* obj0
= 0 ;
36389 PyObject
* obj1
= 0 ;
36390 PyObject
* obj2
= 0 ;
36391 char * kwnames
[] = {
36392 (char *) "self",(char *) "x",(char *) "y", NULL
36395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36397 if (!SWIG_IsOK(res1
)) {
36398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36400 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36402 if (!SWIG_IsOK(ecode2
)) {
36403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
36405 arg2
= static_cast< int >(val2
);
36406 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36407 if (!SWIG_IsOK(ecode3
)) {
36408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
36410 arg3
= static_cast< int >(val3
);
36412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36413 (arg1
)->CrossHair(arg2
,arg3
);
36414 wxPyEndAllowThreads(__tstate
);
36415 if (PyErr_Occurred()) SWIG_fail
;
36417 resultobj
= SWIG_Py_Void();
36424 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36425 PyObject
*resultobj
= 0;
36426 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36427 wxPoint
*arg2
= 0 ;
36431 PyObject
* obj0
= 0 ;
36432 PyObject
* obj1
= 0 ;
36433 char * kwnames
[] = {
36434 (char *) "self",(char *) "pt", NULL
36437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36439 if (!SWIG_IsOK(res1
)) {
36440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36442 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36445 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36449 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
36450 wxPyEndAllowThreads(__tstate
);
36451 if (PyErr_Occurred()) SWIG_fail
;
36453 resultobj
= SWIG_Py_Void();
36460 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36461 PyObject
*resultobj
= 0;
36462 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36483 PyObject
* obj0
= 0 ;
36484 PyObject
* obj1
= 0 ;
36485 PyObject
* obj2
= 0 ;
36486 PyObject
* obj3
= 0 ;
36487 PyObject
* obj4
= 0 ;
36488 PyObject
* obj5
= 0 ;
36489 PyObject
* obj6
= 0 ;
36490 char * kwnames
[] = {
36491 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
36494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36496 if (!SWIG_IsOK(res1
)) {
36497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36499 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36501 if (!SWIG_IsOK(ecode2
)) {
36502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
36504 arg2
= static_cast< int >(val2
);
36505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36506 if (!SWIG_IsOK(ecode3
)) {
36507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
36509 arg3
= static_cast< int >(val3
);
36510 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36511 if (!SWIG_IsOK(ecode4
)) {
36512 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
36514 arg4
= static_cast< int >(val4
);
36515 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36516 if (!SWIG_IsOK(ecode5
)) {
36517 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
36519 arg5
= static_cast< int >(val5
);
36520 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36521 if (!SWIG_IsOK(ecode6
)) {
36522 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
36524 arg6
= static_cast< int >(val6
);
36525 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
36526 if (!SWIG_IsOK(ecode7
)) {
36527 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
36529 arg7
= static_cast< int >(val7
);
36531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36532 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36533 wxPyEndAllowThreads(__tstate
);
36534 if (PyErr_Occurred()) SWIG_fail
;
36536 resultobj
= SWIG_Py_Void();
36543 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36544 PyObject
*resultobj
= 0;
36545 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36546 wxPoint
*arg2
= 0 ;
36547 wxPoint
*arg3
= 0 ;
36548 wxPoint
*arg4
= 0 ;
36554 PyObject
* obj0
= 0 ;
36555 PyObject
* obj1
= 0 ;
36556 PyObject
* obj2
= 0 ;
36557 PyObject
* obj3
= 0 ;
36558 char * kwnames
[] = {
36559 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
36562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36564 if (!SWIG_IsOK(res1
)) {
36565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36567 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36570 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36574 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36578 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36582 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
36583 wxPyEndAllowThreads(__tstate
);
36584 if (PyErr_Occurred()) SWIG_fail
;
36586 resultobj
= SWIG_Py_Void();
36593 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36594 PyObject
*resultobj
= 0;
36595 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36610 PyObject
* obj0
= 0 ;
36611 PyObject
* obj1
= 0 ;
36612 PyObject
* obj2
= 0 ;
36613 PyObject
* obj3
= 0 ;
36614 PyObject
* obj4
= 0 ;
36615 char * kwnames
[] = {
36616 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36621 if (!SWIG_IsOK(res1
)) {
36622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36624 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36626 if (!SWIG_IsOK(ecode2
)) {
36627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
36629 arg2
= static_cast< int >(val2
);
36630 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36631 if (!SWIG_IsOK(ecode3
)) {
36632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
36634 arg3
= static_cast< int >(val3
);
36635 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36636 if (!SWIG_IsOK(ecode4
)) {
36637 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
36639 arg4
= static_cast< int >(val4
);
36640 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36641 if (!SWIG_IsOK(ecode5
)) {
36642 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
36644 arg5
= static_cast< int >(val5
);
36646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36647 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
36648 wxPyEndAllowThreads(__tstate
);
36649 if (PyErr_Occurred()) SWIG_fail
;
36651 resultobj
= SWIG_Py_Void();
36658 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36659 PyObject
*resultobj
= 0;
36660 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36665 PyObject
* obj0
= 0 ;
36666 PyObject
* obj1
= 0 ;
36667 char * kwnames
[] = {
36668 (char *) "self",(char *) "rect", NULL
36671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36673 if (!SWIG_IsOK(res1
)) {
36674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36676 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36679 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
36682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36683 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
36684 wxPyEndAllowThreads(__tstate
);
36685 if (PyErr_Occurred()) SWIG_fail
;
36687 resultobj
= SWIG_Py_Void();
36694 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36695 PyObject
*resultobj
= 0;
36696 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36717 PyObject
* obj0
= 0 ;
36718 PyObject
* obj1
= 0 ;
36719 PyObject
* obj2
= 0 ;
36720 PyObject
* obj3
= 0 ;
36721 PyObject
* obj4
= 0 ;
36722 PyObject
* obj5
= 0 ;
36723 PyObject
* obj6
= 0 ;
36724 char * kwnames
[] = {
36725 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
36728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36730 if (!SWIG_IsOK(res1
)) {
36731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36733 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36735 if (!SWIG_IsOK(ecode2
)) {
36736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
36738 arg2
= static_cast< int >(val2
);
36739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36740 if (!SWIG_IsOK(ecode3
)) {
36741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
36743 arg3
= static_cast< int >(val3
);
36744 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36745 if (!SWIG_IsOK(ecode4
)) {
36746 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
36748 arg4
= static_cast< int >(val4
);
36749 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36750 if (!SWIG_IsOK(ecode5
)) {
36751 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
36753 arg5
= static_cast< int >(val5
);
36754 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
36755 if (!SWIG_IsOK(ecode6
)) {
36756 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
36758 arg6
= static_cast< double >(val6
);
36759 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
36760 if (!SWIG_IsOK(ecode7
)) {
36761 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
36763 arg7
= static_cast< double >(val7
);
36765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36766 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
36767 wxPyEndAllowThreads(__tstate
);
36768 if (PyErr_Occurred()) SWIG_fail
;
36770 resultobj
= SWIG_Py_Void();
36777 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36778 PyObject
*resultobj
= 0;
36779 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36780 wxPoint
*arg2
= 0 ;
36792 PyObject
* obj0
= 0 ;
36793 PyObject
* obj1
= 0 ;
36794 PyObject
* obj2
= 0 ;
36795 PyObject
* obj3
= 0 ;
36796 PyObject
* obj4
= 0 ;
36797 char * kwnames
[] = {
36798 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
36801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36806 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36809 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36813 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
36815 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
36816 if (!SWIG_IsOK(ecode4
)) {
36817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
36819 arg4
= static_cast< double >(val4
);
36820 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
36821 if (!SWIG_IsOK(ecode5
)) {
36822 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
36824 arg5
= static_cast< double >(val5
);
36826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36827 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
36828 wxPyEndAllowThreads(__tstate
);
36829 if (PyErr_Occurred()) SWIG_fail
;
36831 resultobj
= SWIG_Py_Void();
36838 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36839 PyObject
*resultobj
= 0;
36840 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36849 PyObject
* obj0
= 0 ;
36850 PyObject
* obj1
= 0 ;
36851 PyObject
* obj2
= 0 ;
36852 char * kwnames
[] = {
36853 (char *) "self",(char *) "x",(char *) "y", NULL
36856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36858 if (!SWIG_IsOK(res1
)) {
36859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36861 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36863 if (!SWIG_IsOK(ecode2
)) {
36864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
36866 arg2
= static_cast< int >(val2
);
36867 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36868 if (!SWIG_IsOK(ecode3
)) {
36869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
36871 arg3
= static_cast< int >(val3
);
36873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36874 (arg1
)->DrawPoint(arg2
,arg3
);
36875 wxPyEndAllowThreads(__tstate
);
36876 if (PyErr_Occurred()) SWIG_fail
;
36878 resultobj
= SWIG_Py_Void();
36885 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36886 PyObject
*resultobj
= 0;
36887 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36888 wxPoint
*arg2
= 0 ;
36892 PyObject
* obj0
= 0 ;
36893 PyObject
* obj1
= 0 ;
36894 char * kwnames
[] = {
36895 (char *) "self",(char *) "pt", NULL
36898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36900 if (!SWIG_IsOK(res1
)) {
36901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36903 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36906 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36910 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
36911 wxPyEndAllowThreads(__tstate
);
36912 if (PyErr_Occurred()) SWIG_fail
;
36914 resultobj
= SWIG_Py_Void();
36921 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36922 PyObject
*resultobj
= 0;
36923 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36938 PyObject
* obj0
= 0 ;
36939 PyObject
* obj1
= 0 ;
36940 PyObject
* obj2
= 0 ;
36941 PyObject
* obj3
= 0 ;
36942 PyObject
* obj4
= 0 ;
36943 char * kwnames
[] = {
36944 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
36947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
36949 if (!SWIG_IsOK(res1
)) {
36950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
36952 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
36953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36954 if (!SWIG_IsOK(ecode2
)) {
36955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
36957 arg2
= static_cast< int >(val2
);
36958 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36959 if (!SWIG_IsOK(ecode3
)) {
36960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
36962 arg3
= static_cast< int >(val3
);
36963 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36964 if (!SWIG_IsOK(ecode4
)) {
36965 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
36967 arg4
= static_cast< int >(val4
);
36968 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36969 if (!SWIG_IsOK(ecode5
)) {
36970 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
36972 arg5
= static_cast< int >(val5
);
36974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36975 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
36976 wxPyEndAllowThreads(__tstate
);
36977 if (PyErr_Occurred()) SWIG_fail
;
36979 resultobj
= SWIG_Py_Void();
36986 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36987 PyObject
*resultobj
= 0;
36988 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
36993 PyObject
* obj0
= 0 ;
36994 PyObject
* obj1
= 0 ;
36995 char * kwnames
[] = {
36996 (char *) "self",(char *) "rect", NULL
36999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37001 if (!SWIG_IsOK(res1
)) {
37002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37004 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37007 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37011 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
37012 wxPyEndAllowThreads(__tstate
);
37013 if (PyErr_Occurred()) SWIG_fail
;
37015 resultobj
= SWIG_Py_Void();
37022 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37023 PyObject
*resultobj
= 0;
37024 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37025 wxPoint
*arg2
= 0 ;
37031 PyObject
* obj0
= 0 ;
37032 PyObject
* obj1
= 0 ;
37033 PyObject
* obj2
= 0 ;
37034 char * kwnames
[] = {
37035 (char *) "self",(char *) "pt",(char *) "sz", NULL
37038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37040 if (!SWIG_IsOK(res1
)) {
37041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37043 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37046 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37050 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37054 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37055 wxPyEndAllowThreads(__tstate
);
37056 if (PyErr_Occurred()) SWIG_fail
;
37058 resultobj
= SWIG_Py_Void();
37065 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37066 PyObject
*resultobj
= 0;
37067 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37085 PyObject
* obj0
= 0 ;
37086 PyObject
* obj1
= 0 ;
37087 PyObject
* obj2
= 0 ;
37088 PyObject
* obj3
= 0 ;
37089 PyObject
* obj4
= 0 ;
37090 PyObject
* obj5
= 0 ;
37091 char * kwnames
[] = {
37092 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
37095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
37096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37097 if (!SWIG_IsOK(res1
)) {
37098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37100 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37102 if (!SWIG_IsOK(ecode2
)) {
37103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
37105 arg2
= static_cast< int >(val2
);
37106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37107 if (!SWIG_IsOK(ecode3
)) {
37108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
37110 arg3
= static_cast< int >(val3
);
37111 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37112 if (!SWIG_IsOK(ecode4
)) {
37113 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
37115 arg4
= static_cast< int >(val4
);
37116 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37117 if (!SWIG_IsOK(ecode5
)) {
37118 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
37120 arg5
= static_cast< int >(val5
);
37121 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
37122 if (!SWIG_IsOK(ecode6
)) {
37123 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
37125 arg6
= static_cast< double >(val6
);
37127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37128 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
37129 wxPyEndAllowThreads(__tstate
);
37130 if (PyErr_Occurred()) SWIG_fail
;
37132 resultobj
= SWIG_Py_Void();
37139 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37140 PyObject
*resultobj
= 0;
37141 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37149 PyObject
* obj0
= 0 ;
37150 PyObject
* obj1
= 0 ;
37151 PyObject
* obj2
= 0 ;
37152 char * kwnames
[] = {
37153 (char *) "self",(char *) "r",(char *) "radius", NULL
37156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37158 if (!SWIG_IsOK(res1
)) {
37159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37161 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37164 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37166 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
37167 if (!SWIG_IsOK(ecode3
)) {
37168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
37170 arg3
= static_cast< double >(val3
);
37172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37173 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
37174 wxPyEndAllowThreads(__tstate
);
37175 if (PyErr_Occurred()) SWIG_fail
;
37177 resultobj
= SWIG_Py_Void();
37184 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37185 PyObject
*resultobj
= 0;
37186 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37187 wxPoint
*arg2
= 0 ;
37196 PyObject
* obj0
= 0 ;
37197 PyObject
* obj1
= 0 ;
37198 PyObject
* obj2
= 0 ;
37199 PyObject
* obj3
= 0 ;
37200 char * kwnames
[] = {
37201 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
37204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37206 if (!SWIG_IsOK(res1
)) {
37207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37209 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37212 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37216 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37218 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37219 if (!SWIG_IsOK(ecode4
)) {
37220 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
37222 arg4
= static_cast< double >(val4
);
37224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37225 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
37226 wxPyEndAllowThreads(__tstate
);
37227 if (PyErr_Occurred()) SWIG_fail
;
37229 resultobj
= SWIG_Py_Void();
37236 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37237 PyObject
*resultobj
= 0;
37238 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37250 PyObject
* obj0
= 0 ;
37251 PyObject
* obj1
= 0 ;
37252 PyObject
* obj2
= 0 ;
37253 PyObject
* obj3
= 0 ;
37254 char * kwnames
[] = {
37255 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
37258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37260 if (!SWIG_IsOK(res1
)) {
37261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37263 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37265 if (!SWIG_IsOK(ecode2
)) {
37266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
37268 arg2
= static_cast< int >(val2
);
37269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37270 if (!SWIG_IsOK(ecode3
)) {
37271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
37273 arg3
= static_cast< int >(val3
);
37274 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37275 if (!SWIG_IsOK(ecode4
)) {
37276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
37278 arg4
= static_cast< int >(val4
);
37280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37281 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
37282 wxPyEndAllowThreads(__tstate
);
37283 if (PyErr_Occurred()) SWIG_fail
;
37285 resultobj
= SWIG_Py_Void();
37292 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37293 PyObject
*resultobj
= 0;
37294 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37295 wxPoint
*arg2
= 0 ;
37302 PyObject
* obj0
= 0 ;
37303 PyObject
* obj1
= 0 ;
37304 PyObject
* obj2
= 0 ;
37305 char * kwnames
[] = {
37306 (char *) "self",(char *) "pt",(char *) "radius", NULL
37309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37311 if (!SWIG_IsOK(res1
)) {
37312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37314 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37317 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37320 if (!SWIG_IsOK(ecode3
)) {
37321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
37323 arg3
= static_cast< int >(val3
);
37325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37326 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
37327 wxPyEndAllowThreads(__tstate
);
37328 if (PyErr_Occurred()) SWIG_fail
;
37330 resultobj
= SWIG_Py_Void();
37337 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37338 PyObject
*resultobj
= 0;
37339 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37354 PyObject
* obj0
= 0 ;
37355 PyObject
* obj1
= 0 ;
37356 PyObject
* obj2
= 0 ;
37357 PyObject
* obj3
= 0 ;
37358 PyObject
* obj4
= 0 ;
37359 char * kwnames
[] = {
37360 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
37363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37365 if (!SWIG_IsOK(res1
)) {
37366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37368 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37370 if (!SWIG_IsOK(ecode2
)) {
37371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
37373 arg2
= static_cast< int >(val2
);
37374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37375 if (!SWIG_IsOK(ecode3
)) {
37376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
37378 arg3
= static_cast< int >(val3
);
37379 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37380 if (!SWIG_IsOK(ecode4
)) {
37381 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
37383 arg4
= static_cast< int >(val4
);
37384 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
37385 if (!SWIG_IsOK(ecode5
)) {
37386 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
37388 arg5
= static_cast< int >(val5
);
37390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37391 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
37392 wxPyEndAllowThreads(__tstate
);
37393 if (PyErr_Occurred()) SWIG_fail
;
37395 resultobj
= SWIG_Py_Void();
37402 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37403 PyObject
*resultobj
= 0;
37404 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37409 PyObject
* obj0
= 0 ;
37410 PyObject
* obj1
= 0 ;
37411 char * kwnames
[] = {
37412 (char *) "self",(char *) "rect", NULL
37415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37417 if (!SWIG_IsOK(res1
)) {
37418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37420 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37423 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
37426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37427 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
37428 wxPyEndAllowThreads(__tstate
);
37429 if (PyErr_Occurred()) SWIG_fail
;
37431 resultobj
= SWIG_Py_Void();
37438 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37439 PyObject
*resultobj
= 0;
37440 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37441 wxPoint
*arg2
= 0 ;
37447 PyObject
* obj0
= 0 ;
37448 PyObject
* obj1
= 0 ;
37449 PyObject
* obj2
= 0 ;
37450 char * kwnames
[] = {
37451 (char *) "self",(char *) "pt",(char *) "sz", NULL
37454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37456 if (!SWIG_IsOK(res1
)) {
37457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37459 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37466 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
37469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37470 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
37471 wxPyEndAllowThreads(__tstate
);
37472 if (PyErr_Occurred()) SWIG_fail
;
37474 resultobj
= SWIG_Py_Void();
37481 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37482 PyObject
*resultobj
= 0;
37483 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37495 PyObject
* obj0
= 0 ;
37496 PyObject
* obj1
= 0 ;
37497 PyObject
* obj2
= 0 ;
37498 PyObject
* obj3
= 0 ;
37499 char * kwnames
[] = {
37500 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
37503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37505 if (!SWIG_IsOK(res1
)) {
37506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37508 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37509 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37510 if (!SWIG_IsOK(res2
)) {
37511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
37516 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37518 if (!SWIG_IsOK(ecode3
)) {
37519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
37521 arg3
= static_cast< int >(val3
);
37522 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37523 if (!SWIG_IsOK(ecode4
)) {
37524 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
37526 arg4
= static_cast< int >(val4
);
37528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37529 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
37530 wxPyEndAllowThreads(__tstate
);
37531 if (PyErr_Occurred()) SWIG_fail
;
37533 resultobj
= SWIG_Py_Void();
37540 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37541 PyObject
*resultobj
= 0;
37542 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37544 wxPoint
*arg3
= 0 ;
37550 PyObject
* obj0
= 0 ;
37551 PyObject
* obj1
= 0 ;
37552 PyObject
* obj2
= 0 ;
37553 char * kwnames
[] = {
37554 (char *) "self",(char *) "icon",(char *) "pt", NULL
37557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37559 if (!SWIG_IsOK(res1
)) {
37560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37562 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
37564 if (!SWIG_IsOK(res2
)) {
37565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
37570 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
37573 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37577 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
37578 wxPyEndAllowThreads(__tstate
);
37579 if (PyErr_Occurred()) SWIG_fail
;
37581 resultobj
= SWIG_Py_Void();
37588 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37589 PyObject
*resultobj
= 0;
37590 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37591 wxBitmap
*arg2
= 0 ;
37594 bool arg5
= (bool) false ;
37605 PyObject
* obj0
= 0 ;
37606 PyObject
* obj1
= 0 ;
37607 PyObject
* obj2
= 0 ;
37608 PyObject
* obj3
= 0 ;
37609 PyObject
* obj4
= 0 ;
37610 char * kwnames
[] = {
37611 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
37614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37616 if (!SWIG_IsOK(res1
)) {
37617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37619 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37620 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37621 if (!SWIG_IsOK(res2
)) {
37622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37627 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37629 if (!SWIG_IsOK(ecode3
)) {
37630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
37632 arg3
= static_cast< int >(val3
);
37633 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37634 if (!SWIG_IsOK(ecode4
)) {
37635 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
37637 arg4
= static_cast< int >(val4
);
37639 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
37640 if (!SWIG_IsOK(ecode5
)) {
37641 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
37643 arg5
= static_cast< bool >(val5
);
37646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37647 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
37648 wxPyEndAllowThreads(__tstate
);
37649 if (PyErr_Occurred()) SWIG_fail
;
37651 resultobj
= SWIG_Py_Void();
37658 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37659 PyObject
*resultobj
= 0;
37660 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37661 wxBitmap
*arg2
= 0 ;
37662 wxPoint
*arg3
= 0 ;
37663 bool arg4
= (bool) false ;
37671 PyObject
* obj0
= 0 ;
37672 PyObject
* obj1
= 0 ;
37673 PyObject
* obj2
= 0 ;
37674 PyObject
* obj3
= 0 ;
37675 char * kwnames
[] = {
37676 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
37679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37681 if (!SWIG_IsOK(res1
)) {
37682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37684 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37685 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
37686 if (!SWIG_IsOK(res2
)) {
37687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
37692 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
37695 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37698 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
37699 if (!SWIG_IsOK(ecode4
)) {
37700 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
37702 arg4
= static_cast< bool >(val4
);
37705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37706 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37707 wxPyEndAllowThreads(__tstate
);
37708 if (PyErr_Occurred()) SWIG_fail
;
37710 resultobj
= SWIG_Py_Void();
37717 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37718 PyObject
*resultobj
= 0;
37719 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37720 wxString
*arg2
= 0 ;
37725 bool temp2
= false ;
37730 PyObject
* obj0
= 0 ;
37731 PyObject
* obj1
= 0 ;
37732 PyObject
* obj2
= 0 ;
37733 PyObject
* obj3
= 0 ;
37734 char * kwnames
[] = {
37735 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
37738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37740 if (!SWIG_IsOK(res1
)) {
37741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37743 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37745 arg2
= wxString_in_helper(obj1
);
37746 if (arg2
== NULL
) SWIG_fail
;
37749 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37750 if (!SWIG_IsOK(ecode3
)) {
37751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
37753 arg3
= static_cast< int >(val3
);
37754 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37755 if (!SWIG_IsOK(ecode4
)) {
37756 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
37758 arg4
= static_cast< int >(val4
);
37760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37761 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
37762 wxPyEndAllowThreads(__tstate
);
37763 if (PyErr_Occurred()) SWIG_fail
;
37765 resultobj
= SWIG_Py_Void();
37780 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37781 PyObject
*resultobj
= 0;
37782 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37783 wxString
*arg2
= 0 ;
37784 wxPoint
*arg3
= 0 ;
37787 bool temp2
= false ;
37789 PyObject
* obj0
= 0 ;
37790 PyObject
* obj1
= 0 ;
37791 PyObject
* obj2
= 0 ;
37792 char * kwnames
[] = {
37793 (char *) "self",(char *) "text",(char *) "pt", NULL
37796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37798 if (!SWIG_IsOK(res1
)) {
37799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37801 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37803 arg2
= wxString_in_helper(obj1
);
37804 if (arg2
== NULL
) SWIG_fail
;
37809 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37813 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
37814 wxPyEndAllowThreads(__tstate
);
37815 if (PyErr_Occurred()) SWIG_fail
;
37817 resultobj
= SWIG_Py_Void();
37832 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37833 PyObject
*resultobj
= 0;
37834 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37835 wxString
*arg2
= 0 ;
37841 bool temp2
= false ;
37848 PyObject
* obj0
= 0 ;
37849 PyObject
* obj1
= 0 ;
37850 PyObject
* obj2
= 0 ;
37851 PyObject
* obj3
= 0 ;
37852 PyObject
* obj4
= 0 ;
37853 char * kwnames
[] = {
37854 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
37857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37859 if (!SWIG_IsOK(res1
)) {
37860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37862 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37864 arg2
= wxString_in_helper(obj1
);
37865 if (arg2
== NULL
) SWIG_fail
;
37868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37869 if (!SWIG_IsOK(ecode3
)) {
37870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
37872 arg3
= static_cast< int >(val3
);
37873 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37874 if (!SWIG_IsOK(ecode4
)) {
37875 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
37877 arg4
= static_cast< int >(val4
);
37878 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
37879 if (!SWIG_IsOK(ecode5
)) {
37880 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
37882 arg5
= static_cast< double >(val5
);
37884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37885 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
37886 wxPyEndAllowThreads(__tstate
);
37887 if (PyErr_Occurred()) SWIG_fail
;
37889 resultobj
= SWIG_Py_Void();
37904 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37905 PyObject
*resultobj
= 0;
37906 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37907 wxString
*arg2
= 0 ;
37908 wxPoint
*arg3
= 0 ;
37912 bool temp2
= false ;
37916 PyObject
* obj0
= 0 ;
37917 PyObject
* obj1
= 0 ;
37918 PyObject
* obj2
= 0 ;
37919 PyObject
* obj3
= 0 ;
37920 char * kwnames
[] = {
37921 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
37924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37926 if (!SWIG_IsOK(res1
)) {
37927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37929 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37931 arg2
= wxString_in_helper(obj1
);
37932 if (arg2
== NULL
) SWIG_fail
;
37937 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37939 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
37940 if (!SWIG_IsOK(ecode4
)) {
37941 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
37943 arg4
= static_cast< double >(val4
);
37945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37946 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
37947 wxPyEndAllowThreads(__tstate
);
37948 if (PyErr_Occurred()) SWIG_fail
;
37950 resultobj
= SWIG_Py_Void();
37965 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37966 PyObject
*resultobj
= 0;
37967 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
37969 wxPoint
*arg3
= (wxPoint
*) 0 ;
37970 int arg4
= (int) 0 ;
37971 int arg5
= (int) 0 ;
37978 PyObject
* obj0
= 0 ;
37979 PyObject
* obj1
= 0 ;
37980 PyObject
* obj2
= 0 ;
37981 PyObject
* obj3
= 0 ;
37982 char * kwnames
[] = {
37983 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
37986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
37988 if (!SWIG_IsOK(res1
)) {
37989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
37991 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
37993 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
37994 if (arg3
== NULL
) SWIG_fail
;
37997 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
37998 if (!SWIG_IsOK(ecode4
)) {
37999 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
38001 arg4
= static_cast< int >(val4
);
38004 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38005 if (!SWIG_IsOK(ecode5
)) {
38006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
38008 arg5
= static_cast< int >(val5
);
38011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38012 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
38013 wxPyEndAllowThreads(__tstate
);
38014 if (PyErr_Occurred()) SWIG_fail
;
38016 resultobj
= SWIG_Py_Void();
38018 if (arg3
) delete [] arg3
;
38023 if (arg3
) delete [] arg3
;
38029 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38030 PyObject
*resultobj
= 0;
38031 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38033 wxPoint
*arg3
= (wxPoint
*) 0 ;
38034 int arg4
= (int) 0 ;
38035 int arg5
= (int) 0 ;
38036 int arg6
= (int) wxODDEVEN_RULE
;
38045 PyObject
* obj0
= 0 ;
38046 PyObject
* obj1
= 0 ;
38047 PyObject
* obj2
= 0 ;
38048 PyObject
* obj3
= 0 ;
38049 PyObject
* obj4
= 0 ;
38050 char * kwnames
[] = {
38051 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
38054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38056 if (!SWIG_IsOK(res1
)) {
38057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38059 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38061 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38062 if (arg3
== NULL
) SWIG_fail
;
38065 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
38066 if (!SWIG_IsOK(ecode4
)) {
38067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
38069 arg4
= static_cast< int >(val4
);
38072 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
38073 if (!SWIG_IsOK(ecode5
)) {
38074 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
38076 arg5
= static_cast< int >(val5
);
38079 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
38080 if (!SWIG_IsOK(ecode6
)) {
38081 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
38083 arg6
= static_cast< int >(val6
);
38086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38087 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
38088 wxPyEndAllowThreads(__tstate
);
38089 if (PyErr_Occurred()) SWIG_fail
;
38091 resultobj
= SWIG_Py_Void();
38093 if (arg3
) delete [] arg3
;
38098 if (arg3
) delete [] arg3
;
38104 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38105 PyObject
*resultobj
= 0;
38106 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38107 wxString
*arg2
= 0 ;
38109 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38110 int arg5
= (int) -1 ;
38113 bool temp2
= false ;
38119 PyObject
* obj0
= 0 ;
38120 PyObject
* obj1
= 0 ;
38121 PyObject
* obj2
= 0 ;
38122 PyObject
* obj3
= 0 ;
38123 PyObject
* obj4
= 0 ;
38124 char * kwnames
[] = {
38125 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38130 if (!SWIG_IsOK(res1
)) {
38131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38133 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38135 arg2
= wxString_in_helper(obj1
);
38136 if (arg2
== NULL
) SWIG_fail
;
38141 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
38144 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38145 if (!SWIG_IsOK(ecode4
)) {
38146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
38148 arg4
= static_cast< int >(val4
);
38151 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38152 if (!SWIG_IsOK(ecode5
)) {
38153 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
38155 arg5
= static_cast< int >(val5
);
38158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38159 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
38160 wxPyEndAllowThreads(__tstate
);
38161 if (PyErr_Occurred()) SWIG_fail
;
38163 resultobj
= SWIG_Py_Void();
38178 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38179 PyObject
*resultobj
= 0;
38180 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38181 wxString
*arg2
= 0 ;
38182 wxBitmap
*arg3
= 0 ;
38184 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
38185 int arg6
= (int) -1 ;
38188 bool temp2
= false ;
38196 PyObject
* obj0
= 0 ;
38197 PyObject
* obj1
= 0 ;
38198 PyObject
* obj2
= 0 ;
38199 PyObject
* obj3
= 0 ;
38200 PyObject
* obj4
= 0 ;
38201 PyObject
* obj5
= 0 ;
38202 char * kwnames
[] = {
38203 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
38206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38208 if (!SWIG_IsOK(res1
)) {
38209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38211 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38213 arg2
= wxString_in_helper(obj1
);
38214 if (arg2
== NULL
) SWIG_fail
;
38217 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
38218 if (!SWIG_IsOK(res3
)) {
38219 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
38224 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
38227 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
38230 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38231 if (!SWIG_IsOK(ecode5
)) {
38232 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
38234 arg5
= static_cast< int >(val5
);
38237 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38238 if (!SWIG_IsOK(ecode6
)) {
38239 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
38241 arg6
= static_cast< int >(val6
);
38244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38245 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
38246 wxPyEndAllowThreads(__tstate
);
38247 if (PyErr_Occurred()) SWIG_fail
;
38249 resultobj
= SWIG_Py_Void();
38264 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38265 PyObject
*resultobj
= 0;
38266 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38268 wxPoint
*arg3
= (wxPoint
*) 0 ;
38271 PyObject
* obj0
= 0 ;
38272 PyObject
* obj1
= 0 ;
38273 char * kwnames
[] = {
38274 (char *) "self",(char *) "points", NULL
38277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38279 if (!SWIG_IsOK(res1
)) {
38280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38282 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38284 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
38285 if (arg3
== NULL
) SWIG_fail
;
38288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38289 (arg1
)->DrawSpline(arg2
,arg3
);
38290 wxPyEndAllowThreads(__tstate
);
38291 if (PyErr_Occurred()) SWIG_fail
;
38293 resultobj
= SWIG_Py_Void();
38295 if (arg3
) delete [] arg3
;
38300 if (arg3
) delete [] arg3
;
38306 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38307 PyObject
*resultobj
= 0;
38308 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38311 PyObject
*swig_obj
[1] ;
38313 if (!args
) SWIG_fail
;
38314 swig_obj
[0] = args
;
38315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38316 if (!SWIG_IsOK(res1
)) {
38317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38319 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38323 wxPyEndAllowThreads(__tstate
);
38324 if (PyErr_Occurred()) SWIG_fail
;
38326 resultobj
= SWIG_Py_Void();
38333 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38334 PyObject
*resultobj
= 0;
38335 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38341 PyObject
* obj0
= 0 ;
38342 PyObject
* obj1
= 0 ;
38343 char * kwnames
[] = {
38344 (char *) "self",(char *) "font", NULL
38347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38349 if (!SWIG_IsOK(res1
)) {
38350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38352 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38353 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
38354 if (!SWIG_IsOK(res2
)) {
38355 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
38360 arg2
= reinterpret_cast< wxFont
* >(argp2
);
38362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38363 (arg1
)->SetFont((wxFont
const &)*arg2
);
38364 wxPyEndAllowThreads(__tstate
);
38365 if (PyErr_Occurred()) SWIG_fail
;
38367 resultobj
= SWIG_Py_Void();
38374 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38375 PyObject
*resultobj
= 0;
38376 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38382 PyObject
* obj0
= 0 ;
38383 PyObject
* obj1
= 0 ;
38384 char * kwnames
[] = {
38385 (char *) "self",(char *) "pen", NULL
38388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38390 if (!SWIG_IsOK(res1
)) {
38391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38393 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
38395 if (!SWIG_IsOK(res2
)) {
38396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
38401 arg2
= reinterpret_cast< wxPen
* >(argp2
);
38403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38404 (arg1
)->SetPen((wxPen
const &)*arg2
);
38405 wxPyEndAllowThreads(__tstate
);
38406 if (PyErr_Occurred()) SWIG_fail
;
38408 resultobj
= SWIG_Py_Void();
38415 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38416 PyObject
*resultobj
= 0;
38417 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38418 wxBrush
*arg2
= 0 ;
38423 PyObject
* obj0
= 0 ;
38424 PyObject
* obj1
= 0 ;
38425 char * kwnames
[] = {
38426 (char *) "self",(char *) "brush", NULL
38429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38431 if (!SWIG_IsOK(res1
)) {
38432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38434 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38435 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38436 if (!SWIG_IsOK(res2
)) {
38437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
38442 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38445 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
38446 wxPyEndAllowThreads(__tstate
);
38447 if (PyErr_Occurred()) SWIG_fail
;
38449 resultobj
= SWIG_Py_Void();
38456 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38457 PyObject
*resultobj
= 0;
38458 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38459 wxBrush
*arg2
= 0 ;
38464 PyObject
* obj0
= 0 ;
38465 PyObject
* obj1
= 0 ;
38466 char * kwnames
[] = {
38467 (char *) "self",(char *) "brush", NULL
38470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38472 if (!SWIG_IsOK(res1
)) {
38473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38475 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38476 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
38477 if (!SWIG_IsOK(res2
)) {
38478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
38483 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
38485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38486 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
38487 wxPyEndAllowThreads(__tstate
);
38488 if (PyErr_Occurred()) SWIG_fail
;
38490 resultobj
= SWIG_Py_Void();
38497 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38498 PyObject
*resultobj
= 0;
38499 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38505 PyObject
* obj0
= 0 ;
38506 PyObject
* obj1
= 0 ;
38507 char * kwnames
[] = {
38508 (char *) "self",(char *) "mode", NULL
38511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38513 if (!SWIG_IsOK(res1
)) {
38514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38516 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38518 if (!SWIG_IsOK(ecode2
)) {
38519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
38521 arg2
= static_cast< int >(val2
);
38523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38524 (arg1
)->SetBackgroundMode(arg2
);
38525 wxPyEndAllowThreads(__tstate
);
38526 if (PyErr_Occurred()) SWIG_fail
;
38528 resultobj
= SWIG_Py_Void();
38535 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38536 PyObject
*resultobj
= 0;
38537 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38538 wxPalette
*arg2
= 0 ;
38543 PyObject
* obj0
= 0 ;
38544 PyObject
* obj1
= 0 ;
38545 char * kwnames
[] = {
38546 (char *) "self",(char *) "palette", NULL
38549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38551 if (!SWIG_IsOK(res1
)) {
38552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38554 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
38556 if (!SWIG_IsOK(res2
)) {
38557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
38562 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
38564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38565 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
38566 wxPyEndAllowThreads(__tstate
);
38567 if (PyErr_Occurred()) SWIG_fail
;
38569 resultobj
= SWIG_Py_Void();
38576 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38577 PyObject
*resultobj
= 0;
38578 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38579 wxColour
*arg2
= 0 ;
38583 PyObject
* obj0
= 0 ;
38584 PyObject
* obj1
= 0 ;
38585 char * kwnames
[] = {
38586 (char *) "self",(char *) "colour", NULL
38589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38591 if (!SWIG_IsOK(res1
)) {
38592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38594 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38597 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38601 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
38602 wxPyEndAllowThreads(__tstate
);
38603 if (PyErr_Occurred()) SWIG_fail
;
38605 resultobj
= SWIG_Py_Void();
38612 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38613 PyObject
*resultobj
= 0;
38614 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38615 wxColour
*arg2
= 0 ;
38619 PyObject
* obj0
= 0 ;
38620 PyObject
* obj1
= 0 ;
38621 char * kwnames
[] = {
38622 (char *) "self",(char *) "colour", NULL
38625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38627 if (!SWIG_IsOK(res1
)) {
38628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38630 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38633 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
38636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38637 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
38638 wxPyEndAllowThreads(__tstate
);
38639 if (PyErr_Occurred()) SWIG_fail
;
38641 resultobj
= SWIG_Py_Void();
38648 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38649 PyObject
*resultobj
= 0;
38650 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
38656 PyObject
* obj0
= 0 ;
38657 PyObject
* obj1
= 0 ;
38658 char * kwnames
[] = {
38659 (char *) "self",(char *) "function", NULL
38662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
38664 if (!SWIG_IsOK(res1
)) {
38665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
38667 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
38668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38669 if (!SWIG_IsOK(ecode2
)) {
38670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
38672 arg2
= static_cast< int >(val2
);
38674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38675 (arg1
)->SetLogicalFunction(arg2
);
38676 wxPyEndAllowThreads(__tstate
);
38677 if (PyErr_Occurred()) SWIG_fail
;
38679 resultobj
= SWIG_Py_Void();
38686 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38689 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
38690 return SWIG_Py_Void();
38693 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38694 return SWIG_Python_InitShadowInstance(args
);
38697 static PyMethodDef SwigMethods
[] = {
38698 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
38699 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
38700 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
38701 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
38702 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
38703 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
38707 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
38708 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
38709 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
38710 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
38711 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
38712 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38713 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38714 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38716 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
38717 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38718 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38719 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38720 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
38721 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
38722 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
38723 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
38725 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
38728 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
38729 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
38730 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
38731 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
38733 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
38734 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
38735 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
38736 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
38737 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
38738 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
38739 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38741 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38742 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38744 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38745 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
38746 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38747 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38748 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
38750 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
38751 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
38754 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38756 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38757 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
38758 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
38759 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
38760 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
38761 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
38762 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
38763 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38764 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
38765 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
38766 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38767 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
38768 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38771 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38773 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
38774 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
38775 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
38776 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
38777 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
38778 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
38779 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
38780 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38781 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38782 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38783 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38784 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38785 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
38786 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38788 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38790 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38791 { (char *)"Bitmap_CopyFromBuffer", (PyCFunction
) _wrap_Bitmap_CopyFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38792 { (char *)"Bitmap_CopyFromBufferRGBA", (PyCFunction
) _wrap_Bitmap_CopyFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38793 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38794 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38795 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
38796 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
38797 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38799 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
38801 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
38802 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
38803 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
38804 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
38805 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
38806 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
38807 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
38808 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
38809 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
38810 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
38811 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
38812 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
38813 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
38814 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
38815 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38816 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
38817 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
38818 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38820 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
38824 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38825 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38826 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
38827 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
38828 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
38829 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
38830 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
38831 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
38832 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
38833 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
38834 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
38835 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
38837 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
38838 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38839 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38841 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
38844 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
38845 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
38846 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38847 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
38848 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
38849 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
38850 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38851 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
38852 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
38853 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38855 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38856 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
38857 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
38858 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
38859 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
38860 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
38865 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
38866 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38867 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
38868 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
38869 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
38871 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
38873 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
38874 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
38875 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
38876 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
38879 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
38883 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
38884 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
38886 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
38889 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
38890 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
38891 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38892 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38893 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
38896 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
38897 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38900 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
38903 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38906 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
38907 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38910 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38913 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38914 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38915 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38917 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
38918 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38920 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
38921 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
38922 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
38924 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
38925 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
38926 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
38927 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
38928 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
38929 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
38930 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
38931 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
38932 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
38933 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
38934 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
38935 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
38936 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
38937 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
38938 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
38939 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
38940 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
38942 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
38943 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
38944 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
38945 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
38946 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
38947 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
38948 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38954 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38955 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
38957 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
38958 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
38960 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
38961 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
38962 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
38963 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
38964 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
38965 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
38966 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
38967 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
38968 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
38970 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
38971 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
38972 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38974 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
38975 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
38976 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
38977 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38978 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
38980 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38981 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38982 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38984 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
38986 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38987 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38989 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
38991 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
38992 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38993 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
38994 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38995 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38997 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38998 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38999 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
39000 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39001 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39002 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
39003 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
39004 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
39005 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
39006 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
39007 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
39008 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
39009 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
39010 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
39011 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
39012 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
39013 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
39014 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
39015 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39016 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39019 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39020 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39021 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39022 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39023 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39024 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39025 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39026 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
39027 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
39028 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
39029 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39030 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
39031 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
39032 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39033 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
39034 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
39035 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
39036 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
39037 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39038 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39039 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39040 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
39041 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
39042 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
39044 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
39045 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
39046 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
39047 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
39048 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
39049 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
39050 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
39051 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
39052 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
39054 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
39057 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
39058 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
39059 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
39060 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
39061 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
39062 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
39063 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
39064 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39068 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39072 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39073 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
39074 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
39075 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
39076 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
39078 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39080 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
39082 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
39083 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
39084 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
39085 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
39086 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
39087 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
39093 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
39094 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
39095 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39100 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39101 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39105 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39126 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39129 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39130 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"DC_StretchBlit", (PyCFunction
) _wrap_DC_StretchBlit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"DC_StretchBlitPointSize", (PyCFunction
) _wrap_DC_StretchBlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39136 { (char *)"DC_GetAsBitmap", (PyCFunction
) _wrap_DC_GetAsBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39143 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39145 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39146 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
39147 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
39149 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
39150 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
39151 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39153 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39154 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39155 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
39158 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
39159 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
39160 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
39161 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
39162 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
39167 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
39168 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
39169 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
39170 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39171 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39178 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
39179 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
39180 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
39181 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
39182 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
39183 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
39184 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
39185 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
39186 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
39187 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
39188 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
39189 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
39190 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
39193 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
39195 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
39197 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39198 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
39199 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
39200 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39202 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
39203 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
39204 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39205 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
39208 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39209 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
39210 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39212 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
39213 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
39214 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
39215 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
39216 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
39217 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
39218 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
39219 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39220 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39222 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39223 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39224 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39225 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
39227 { (char *)"new_DCTextColourChanger", (PyCFunction
) _wrap_new_DCTextColourChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"delete_DCTextColourChanger", (PyCFunction
)_wrap_delete_DCTextColourChanger
, METH_O
, NULL
},
39229 { (char *)"DCTextColourChanger_swigregister", DCTextColourChanger_swigregister
, METH_VARARGS
, NULL
},
39230 { (char *)"DCTextColourChanger_swiginit", DCTextColourChanger_swiginit
, METH_VARARGS
, NULL
},
39231 { (char *)"new_DCPenChanger", (PyCFunction
) _wrap_new_DCPenChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"delete_DCPenChanger", (PyCFunction
)_wrap_delete_DCPenChanger
, METH_O
, NULL
},
39233 { (char *)"DCPenChanger_swigregister", DCPenChanger_swigregister
, METH_VARARGS
, NULL
},
39234 { (char *)"DCPenChanger_swiginit", DCPenChanger_swiginit
, METH_VARARGS
, NULL
},
39235 { (char *)"new_DCBrushChanger", (PyCFunction
) _wrap_new_DCBrushChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"delete_DCBrushChanger", (PyCFunction
)_wrap_delete_DCBrushChanger
, METH_O
, NULL
},
39237 { (char *)"DCBrushChanger_swigregister", DCBrushChanger_swigregister
, METH_VARARGS
, NULL
},
39238 { (char *)"DCBrushChanger_swiginit", DCBrushChanger_swiginit
, METH_VARARGS
, NULL
},
39239 { (char *)"new_DCClipper", _wrap_new_DCClipper
, METH_VARARGS
, NULL
},
39240 { (char *)"delete_DCClipper", (PyCFunction
)_wrap_delete_DCClipper
, METH_O
, NULL
},
39241 { (char *)"DCClipper_swigregister", DCClipper_swigregister
, METH_VARARGS
, NULL
},
39242 { (char *)"DCClipper_swiginit", DCClipper_swiginit
, METH_VARARGS
, NULL
},
39243 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
39244 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
39247 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
39248 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
39249 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39250 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
39251 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
39252 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
39254 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
39255 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
39257 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
39258 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39260 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"MemoryDC_SelectObjectAsSource", (PyCFunction
) _wrap_MemoryDC_SelectObjectAsSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39262 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
39263 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
39264 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
39265 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
39266 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
39267 { (char *)"BufferedDC_SetStyle", (PyCFunction
) _wrap_BufferedDC_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"BufferedDC_GetStyle", (PyCFunction
)_wrap_BufferedDC_GetStyle
, METH_O
, NULL
},
39269 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
39270 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
39271 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39273 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39274 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
39276 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
39277 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39279 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
39280 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
39281 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
39283 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
39286 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
39287 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
39288 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
39290 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
39291 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
39293 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
39294 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
39295 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
39296 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
39297 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
39299 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
39300 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
39301 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
39303 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
39304 { (char *)"new_GraphicsObject", (PyCFunction
) _wrap_new_GraphicsObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"delete_GraphicsObject", (PyCFunction
)_wrap_delete_GraphicsObject
, METH_O
, NULL
},
39306 { (char *)"GraphicsObject_IsNull", (PyCFunction
)_wrap_GraphicsObject_IsNull
, METH_O
, NULL
},
39307 { (char *)"GraphicsObject_GetRenderer", (PyCFunction
)_wrap_GraphicsObject_GetRenderer
, METH_O
, NULL
},
39308 { (char *)"GraphicsObject_swigregister", GraphicsObject_swigregister
, METH_VARARGS
, NULL
},
39309 { (char *)"GraphicsObject_swiginit", GraphicsObject_swiginit
, METH_VARARGS
, NULL
},
39310 { (char *)"new_GraphicsPen", (PyCFunction
)_wrap_new_GraphicsPen
, METH_NOARGS
, NULL
},
39311 { (char *)"delete_GraphicsPen", (PyCFunction
)_wrap_delete_GraphicsPen
, METH_O
, NULL
},
39312 { (char *)"GraphicsPen_swigregister", GraphicsPen_swigregister
, METH_VARARGS
, NULL
},
39313 { (char *)"GraphicsPen_swiginit", GraphicsPen_swiginit
, METH_VARARGS
, NULL
},
39314 { (char *)"new_GraphicsBrush", (PyCFunction
)_wrap_new_GraphicsBrush
, METH_NOARGS
, NULL
},
39315 { (char *)"delete_GraphicsBrush", (PyCFunction
)_wrap_delete_GraphicsBrush
, METH_O
, NULL
},
39316 { (char *)"GraphicsBrush_swigregister", GraphicsBrush_swigregister
, METH_VARARGS
, NULL
},
39317 { (char *)"GraphicsBrush_swiginit", GraphicsBrush_swiginit
, METH_VARARGS
, NULL
},
39318 { (char *)"new_GraphicsFont", (PyCFunction
)_wrap_new_GraphicsFont
, METH_NOARGS
, NULL
},
39319 { (char *)"delete_GraphicsFont", (PyCFunction
)_wrap_delete_GraphicsFont
, METH_O
, NULL
},
39320 { (char *)"GraphicsFont_swigregister", GraphicsFont_swigregister
, METH_VARARGS
, NULL
},
39321 { (char *)"GraphicsFont_swiginit", GraphicsFont_swiginit
, METH_VARARGS
, NULL
},
39322 { (char *)"delete_GraphicsMatrix", (PyCFunction
)_wrap_delete_GraphicsMatrix
, METH_O
, NULL
},
39323 { (char *)"GraphicsMatrix_Concat", (PyCFunction
) _wrap_GraphicsMatrix_Concat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"GraphicsMatrix_Set", (PyCFunction
) _wrap_GraphicsMatrix_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"GraphicsMatrix_Get", (PyCFunction
)_wrap_GraphicsMatrix_Get
, METH_O
, NULL
},
39326 { (char *)"GraphicsMatrix_Invert", (PyCFunction
)_wrap_GraphicsMatrix_Invert
, METH_O
, NULL
},
39327 { (char *)"GraphicsMatrix_IsEqual", (PyCFunction
) _wrap_GraphicsMatrix_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"GraphicsMatrix_IsIdentity", (PyCFunction
)_wrap_GraphicsMatrix_IsIdentity
, METH_O
, NULL
},
39329 { (char *)"GraphicsMatrix_Translate", (PyCFunction
) _wrap_GraphicsMatrix_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"GraphicsMatrix_Scale", (PyCFunction
) _wrap_GraphicsMatrix_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"GraphicsMatrix_Rotate", (PyCFunction
) _wrap_GraphicsMatrix_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"GraphicsMatrix_TransformPoint", (PyCFunction
) _wrap_GraphicsMatrix_TransformPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"GraphicsMatrix_TransformDistance", (PyCFunction
) _wrap_GraphicsMatrix_TransformDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"GraphicsMatrix_GetNativeMatrix", (PyCFunction
)_wrap_GraphicsMatrix_GetNativeMatrix
, METH_O
, NULL
},
39335 { (char *)"GraphicsMatrix_swigregister", GraphicsMatrix_swigregister
, METH_VARARGS
, NULL
},
39336 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
39337 { (char *)"GraphicsPath_MoveToPoint", _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
, NULL
},
39338 { (char *)"GraphicsPath_AddLineToPoint", _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
, NULL
},
39339 { (char *)"GraphicsPath_AddCurveToPoint", _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
, NULL
},
39340 { (char *)"GraphicsPath_AddPath", (PyCFunction
) _wrap_GraphicsPath_AddPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
39342 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
39343 { (char *)"GraphicsPath_AddArc", _wrap_GraphicsPath_AddArc
, METH_VARARGS
, NULL
},
39344 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"GraphicsPath_AddEllipse", (PyCFunction
) _wrap_GraphicsPath_AddEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"GraphicsPath_AddRoundedRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"GraphicsPath_GetNativePath", (PyCFunction
)_wrap_GraphicsPath_GetNativePath
, METH_O
, NULL
},
39351 { (char *)"GraphicsPath_UnGetNativePath", (PyCFunction
) _wrap_GraphicsPath_UnGetNativePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"GraphicsPath_Transform", (PyCFunction
) _wrap_GraphicsPath_Transform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"GraphicsPath_GetBox", (PyCFunction
)_wrap_GraphicsPath_GetBox
, METH_O
, NULL
},
39354 { (char *)"GraphicsPath_Contains", _wrap_GraphicsPath_Contains
, METH_VARARGS
, NULL
},
39355 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
39356 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
39357 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
39358 { (char *)"GraphicsContext_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsContext_CreateMeasuringContext
, METH_NOARGS
, NULL
},
39359 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"GraphicsContext_CreateFromNativeWindow", (PyCFunction
) _wrap_GraphicsContext_CreateFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
39362 { (char *)"GraphicsContext_CreatePen", (PyCFunction
) _wrap_GraphicsContext_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"GraphicsContext_CreateBrush", (PyCFunction
) _wrap_GraphicsContext_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39364 { (char *)"GraphicsContext_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39365 { (char *)"GraphicsContext_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"GraphicsContext_CreateFont", (PyCFunction
) _wrap_GraphicsContext_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"GraphicsContext_CreateMatrix", (PyCFunction
) _wrap_GraphicsContext_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
39369 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
39370 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39371 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39372 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
39373 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
39374 { (char *)"GraphicsContext_GetLogicalFunction", (PyCFunction
)_wrap_GraphicsContext_GetLogicalFunction
, METH_O
, NULL
},
39375 { (char *)"GraphicsContext_SetLogicalFunction", (PyCFunction
) _wrap_GraphicsContext_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"GraphicsContext_ConcatTransform", (PyCFunction
) _wrap_GraphicsContext_ConcatTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"GraphicsContext_SetTransform", (PyCFunction
) _wrap_GraphicsContext_SetTransform
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"GraphicsContext_GetTransform", (PyCFunction
)_wrap_GraphicsContext_GetTransform
, METH_O
, NULL
},
39382 { (char *)"GraphicsContext_SetPen", _wrap_GraphicsContext_SetPen
, METH_VARARGS
, NULL
},
39383 { (char *)"GraphicsContext_SetBrush", _wrap_GraphicsContext_SetBrush
, METH_VARARGS
, NULL
},
39384 { (char *)"GraphicsContext_SetFont", _wrap_GraphicsContext_SetFont
, METH_VARARGS
, NULL
},
39385 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39387 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39388 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"GraphicsContext_GetFullTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39391 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39393 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39397 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"GraphicsContext_ShouldOffset", (PyCFunction
)_wrap_GraphicsContext_ShouldOffset
, METH_O
, NULL
},
39403 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
39404 { (char *)"delete_GraphicsRenderer", (PyCFunction
)_wrap_delete_GraphicsRenderer
, METH_O
, NULL
},
39405 { (char *)"GraphicsRenderer_GetDefaultRenderer", (PyCFunction
)_wrap_GraphicsRenderer_GetDefaultRenderer
, METH_NOARGS
, NULL
},
39406 { (char *)"GraphicsRenderer_CreateContext", _wrap_GraphicsRenderer_CreateContext
, METH_VARARGS
, NULL
},
39407 { (char *)"GraphicsRenderer_CreateMeasuringContext", (PyCFunction
)_wrap_GraphicsRenderer_CreateMeasuringContext
, METH_O
, NULL
},
39408 { (char *)"GraphicsRenderer_CreateContextFromNativeContext", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"GraphicsRenderer_CreateContextFromNativeWindow", (PyCFunction
) _wrap_GraphicsRenderer_CreateContextFromNativeWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39410 { (char *)"GraphicsRenderer_CreatePath", (PyCFunction
)_wrap_GraphicsRenderer_CreatePath
, METH_O
, NULL
},
39411 { (char *)"GraphicsRenderer_CreateMatrix", (PyCFunction
) _wrap_GraphicsRenderer_CreateMatrix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"GraphicsRenderer_CreatePen", (PyCFunction
) _wrap_GraphicsRenderer_CreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39413 { (char *)"GraphicsRenderer_CreateBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"GraphicsRenderer_CreateLinearGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"GraphicsRenderer_CreateRadialGradientBrush", (PyCFunction
) _wrap_GraphicsRenderer_CreateRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"GraphicsRenderer_CreateFont", (PyCFunction
) _wrap_GraphicsRenderer_CreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"GraphicsRenderer_swigregister", GraphicsRenderer_swigregister
, METH_VARARGS
, NULL
},
39418 { (char *)"new_GCDC", _wrap_new_GCDC
, METH_VARARGS
, NULL
},
39419 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
39420 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
39421 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
39423 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
39424 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
39425 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
39426 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
39427 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
39428 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
39429 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
39430 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
39431 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
39432 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
39433 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
39434 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39435 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
39436 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39437 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39438 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39442 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
39444 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
39446 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
39448 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
39449 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
39450 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
39451 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
39452 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
39453 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
39459 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
39460 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
39461 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
39462 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
39463 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
39464 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
39466 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
39468 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
39470 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
39471 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
39472 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39474 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39475 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39476 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
39477 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
39478 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
39479 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
39480 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
39481 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
39482 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
39483 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
39484 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
39485 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
39486 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
39487 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
39488 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
39497 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
39498 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
39500 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
39501 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
39502 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
39503 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
39504 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
39505 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
39506 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
39507 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
39508 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
39509 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
39510 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
39511 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
39512 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
39513 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
39514 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
39515 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
39516 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
39517 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
39518 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
39519 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
39520 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
39521 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
39522 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
39523 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39524 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
39525 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
39527 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
39528 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
39529 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
39530 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39538 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
39543 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
39544 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
39545 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
39547 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
39548 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
39549 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
39550 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
39551 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
39552 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
39553 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
39554 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39573 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39576 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39578 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39580 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39586 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39588 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39589 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39593 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39594 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39595 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39597 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39598 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39599 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39600 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39601 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39604 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39606 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
39607 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39610 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39611 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39613 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39614 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39615 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39616 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
39617 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
39618 { NULL
, NULL
, 0, NULL
}
39622 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39624 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
39625 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
39627 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
39628 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
39630 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
39631 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39633 static void *_p_wxBufferedDCTo_p_wxWindowDC(void *x
) {
39634 return (void *)((wxWindowDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
39636 static void *_p_wxMemoryDCTo_p_wxWindowDC(void *x
) {
39637 return (void *)((wxWindowDC
*) ((wxMemoryDC
*) x
));
39639 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
39640 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
39642 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
39643 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
39645 static void *_p_wxBufferedPaintDCTo_p_wxWindowDC(void *x
) {
39646 return (void *)((wxWindowDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39648 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
39649 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
39651 static void *_p_wxGraphicsPenTo_p_wxGraphicsObject(void *x
) {
39652 return (void *)((wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39654 static void *_p_wxGraphicsBrushTo_p_wxGraphicsObject(void *x
) {
39655 return (void *)((wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39657 static void *_p_wxGraphicsMatrixTo_p_wxGraphicsObject(void *x
) {
39658 return (void *)((wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
39660 static void *_p_wxGraphicsFontTo_p_wxGraphicsObject(void *x
) {
39661 return (void *)((wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
39663 static void *_p_wxGraphicsContextTo_p_wxGraphicsObject(void *x
) {
39664 return (void *)((wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39666 static void *_p_wxGraphicsPathTo_p_wxGraphicsObject(void *x
) {
39667 return (void *)((wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39669 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
39670 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
39672 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
39673 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
39675 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
39676 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
39678 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
39679 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
39681 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
39682 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
39684 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
39685 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
39687 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
39688 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
39690 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
39691 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
39693 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
39694 return (void *)((wxDC
*) ((wxGCDC
*) x
));
39696 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
39697 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
39699 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
39700 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39702 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
39703 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
39705 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
39706 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
39708 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
39709 return (void *)((wxDC
*) (wxWindowDC
*) ((wxMemoryDC
*) x
));
39711 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
39712 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
39714 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
39715 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
39717 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
39718 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39720 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
39721 return (void *)((wxDC
*) (wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39723 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
39724 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39726 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
39727 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
39729 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
39730 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
39732 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
39733 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
39735 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
39736 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
39738 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
39739 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
39741 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
39742 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39744 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
39745 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
39747 static void *_p_wxPenTo_p_wxObject(void *x
) {
39748 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
39750 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
39751 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
39753 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
39754 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
39756 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
39757 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
39759 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
39760 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
39762 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
39763 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
39765 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
39766 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
39768 static void *_p_wxIconTo_p_wxObject(void *x
) {
39769 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
39771 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
39772 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39774 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
39775 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
39777 static void *_p_wxSizerTo_p_wxObject(void *x
) {
39778 return (void *)((wxObject
*) ((wxSizer
*) x
));
39780 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
39781 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39783 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
39784 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39786 static void *_p_wxEventTo_p_wxObject(void *x
) {
39787 return (void *)((wxObject
*) ((wxEvent
*) x
));
39789 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
39790 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
39792 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
39793 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39795 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
39796 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
39798 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
39799 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
39801 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
39802 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
39804 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
39805 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
39807 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
39808 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
39810 static void *_p_wxDCTo_p_wxObject(void *x
) {
39811 return (void *)((wxObject
*) ((wxDC
*) x
));
39813 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
39814 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39816 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
39817 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
39819 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
39820 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
39822 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
39823 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
39825 static void *_p_wxControlTo_p_wxObject(void *x
) {
39826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
39828 static void *_p_wxGraphicsPenTo_p_wxObject(void *x
) {
39829 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPen
*) x
));
39831 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
39832 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
39834 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
39835 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
39837 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
39838 return (void *)((wxObject
*) ((wxFSFile
*) x
));
39840 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
39841 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxMemoryDC
*) x
));
39843 static void *_p_wxRegionTo_p_wxObject(void *x
) {
39844 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
39846 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
39847 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
39849 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
39850 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
39852 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
39853 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
39855 static void *_p_wxGraphicsObjectTo_p_wxObject(void *x
) {
39856 return (void *)((wxObject
*) ((wxGraphicsObject
*) x
));
39858 static void *_p_wxGraphicsPathTo_p_wxObject(void *x
) {
39859 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsPath
*) x
));
39861 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
39862 return (void *)((wxObject
*) ((wxEffects
*) x
));
39864 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
39865 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
39867 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
39868 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39870 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
39871 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
39873 static void *_p_wxGraphicsContextTo_p_wxObject(void *x
) {
39874 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsContext
*) x
));
39876 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
39877 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
39879 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
39880 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
39882 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
39883 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
39885 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
39886 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
39888 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
39889 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39891 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
39892 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39894 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
39895 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
39897 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
39898 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
39900 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
39901 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
39903 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
39904 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
39906 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
39907 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
39909 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
39910 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
39912 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
39913 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
39915 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
39916 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
39918 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
39919 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
39921 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
39922 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
39924 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
39925 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
39927 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
39928 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
39930 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
39931 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
39933 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
39934 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
39936 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
39937 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
39939 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
39940 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
39942 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
39943 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
39945 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
39946 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
39948 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
39949 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
39951 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
39952 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
39954 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
39955 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
39957 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
39958 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
39960 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
39961 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
39963 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
39964 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
39966 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
39967 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
39969 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
39970 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
39972 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
39973 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
39975 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
39976 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
39978 static void *_p_wxImageTo_p_wxObject(void *x
) {
39979 return (void *)((wxObject
*) ((wxImage
*) x
));
39981 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
39982 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
39984 static void *_p_wxGraphicsBrushTo_p_wxObject(void *x
) {
39985 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsBrush
*) x
));
39987 static void *_p_wxGraphicsRendererTo_p_wxObject(void *x
) {
39988 return (void *)((wxObject
*) ((wxGraphicsRenderer
*) x
));
39990 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
39991 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
39993 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
39994 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
39996 static void *_p_wxImageListTo_p_wxObject(void *x
) {
39997 return (void *)((wxObject
*) ((wxImageList
*) x
));
39999 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
40000 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
40002 static void *_p_wxCursorTo_p_wxObject(void *x
) {
40003 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
40005 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
40006 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
40008 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
40009 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
40011 static void *_p_wxGraphicsFontTo_p_wxObject(void *x
) {
40012 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsFont
*) x
));
40014 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40015 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40017 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40018 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40020 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40021 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40023 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40024 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40026 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40027 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40029 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40032 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
40033 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
40035 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40036 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40038 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
40039 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
40041 static void *_p_wxMaskTo_p_wxObject(void *x
) {
40042 return (void *)((wxObject
*) ((wxMask
*) x
));
40044 static void *_p_wxGraphicsMatrixTo_p_wxObject(void *x
) {
40045 return (void *)((wxObject
*) (wxGraphicsObject
*) ((wxGraphicsMatrix
*) x
));
40047 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40048 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40050 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40051 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40053 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40054 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40056 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40057 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40059 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40060 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40062 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40063 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40065 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40066 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40068 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40069 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40071 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40072 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40074 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40075 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40077 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40078 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40080 static void *_p_wxFontTo_p_wxObject(void *x
) {
40081 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
40083 static void *_p_wxBrushTo_p_wxObject(void *x
) {
40084 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
40086 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
40087 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
40089 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40090 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40092 static void *_p_wxColourTo_p_wxObject(void *x
) {
40093 return (void *)((wxObject
*) ((wxColour
*) x
));
40095 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40098 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40099 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40101 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40102 return (void *)((wxWindow
*) ((wxControl
*) x
));
40104 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40105 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40107 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40108 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40110 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
40111 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
40113 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
40114 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
40116 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
40117 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
40118 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
40119 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};
40120 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
40121 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
40122 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
40123 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
40124 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
40125 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
40126 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
40127 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
40128 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
40129 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
40130 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
40131 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
40132 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
40133 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
40134 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
40135 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
40136 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
40137 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
40138 static swig_type_info _swigt__p_wxDCBrushChanger
= {"_p_wxDCBrushChanger", "wxDCBrushChanger *", 0, 0, (void*)0, 0};
40139 static swig_type_info _swigt__p_wxDCClipper
= {"_p_wxDCClipper", "wxDCClipper *", 0, 0, (void*)0, 0};
40140 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
40141 static swig_type_info _swigt__p_wxDCPenChanger
= {"_p_wxDCPenChanger", "wxDCPenChanger *", 0, 0, (void*)0, 0};
40142 static swig_type_info _swigt__p_wxDCTextColourChanger
= {"_p_wxDCTextColourChanger", "wxDCTextColourChanger *", 0, 0, (void*)0, 0};
40143 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
40144 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
40145 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
40146 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
40147 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
40148 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
40149 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
40150 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
40151 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
40152 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
40153 static swig_type_info _swigt__p_wxGraphicsBrush
= {"_p_wxGraphicsBrush", "wxGraphicsBrush *", 0, 0, (void*)0, 0};
40154 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
40155 static swig_type_info _swigt__p_wxGraphicsFont
= {"_p_wxGraphicsFont", "wxGraphicsFont *", 0, 0, (void*)0, 0};
40156 static swig_type_info _swigt__p_wxGraphicsMatrix
= {"_p_wxGraphicsMatrix", "wxGraphicsMatrix *", 0, 0, (void*)0, 0};
40157 static swig_type_info _swigt__p_wxGraphicsObject
= {"_p_wxGraphicsObject", "wxGraphicsObject *", 0, 0, (void*)0, 0};
40158 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
40159 static swig_type_info _swigt__p_wxGraphicsPen
= {"_p_wxGraphicsPen", "wxGraphicsPen *", 0, 0, (void*)0, 0};
40160 static swig_type_info _swigt__p_wxGraphicsRenderer
= {"_p_wxGraphicsRenderer", "wxGraphicsRenderer *", 0, 0, (void*)0, 0};
40161 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
40162 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
40163 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
40164 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
40165 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
40166 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
40167 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
40168 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
40169 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
40170 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
40171 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
40172 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
40173 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
40174 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
40175 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
40176 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
40177 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
40178 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
40179 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
40180 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
40181 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
40182 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
40183 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
40184 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
40185 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
40186 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
40187 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
40188 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
40189 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
40190 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
40191 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
40192 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
40193 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
40194 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
40195 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
40196 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
40197 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
40198 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
40199 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
40200 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
40201 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
40202 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
40203 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
40204 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
40205 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
40206 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
40207 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
40208 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
40209 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
40210 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
40211 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
40212 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
40213 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
40214 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
40215 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
40216 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
40217 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
40218 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
40219 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
40220 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
40221 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
40222 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
40223 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
40224 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
40225 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
40226 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
40227 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
40228 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
40229 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
40230 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
40231 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
40232 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
40233 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
40234 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
40235 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
40236 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
40237 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
40238 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
40239 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
40240 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
40241 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
40242 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
40243 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
40244 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
40245 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
40246 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
40247 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
40248 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
40249 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
40250 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
40251 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
40252 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
40253 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
40254 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
40255 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
40256 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
40257 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
40258 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
40259 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
40260 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
40261 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
40262 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
40263 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
40264 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
40265 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
40266 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
40267 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
40268 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
40269 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
40270 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
40271 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
40272 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
40273 static swig_type_info _swigt__p_wxRect2D
= {"_p_wxRect2D", "wxRect2D *", 0, 0, (void*)0, 0};
40274 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
40275 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
40276 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
40277 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
40278 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
40279 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
40280 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
40281 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
40282 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
40283 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
40284 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
40286 static swig_type_info
*swig_type_initial
[] = {
40290 &_swigt__p_form_ops_t
,
40292 &_swigt__p_unsigned_char
,
40293 &_swigt__p_unsigned_int
,
40294 &_swigt__p_unsigned_long
,
40296 &_swigt__p_wxANIHandler
,
40297 &_swigt__p_wxAcceleratorTable
,
40298 &_swigt__p_wxActivateEvent
,
40299 &_swigt__p_wxAlphaPixelData
,
40300 &_swigt__p_wxAlphaPixelData_Accessor
,
40301 &_swigt__p_wxAutoBufferedPaintDC
,
40302 &_swigt__p_wxBMPHandler
,
40303 &_swigt__p_wxBitmap
,
40304 &_swigt__p_wxBoxSizer
,
40305 &_swigt__p_wxBrush
,
40306 &_swigt__p_wxBrushList
,
40307 &_swigt__p_wxBufferedDC
,
40308 &_swigt__p_wxBufferedPaintDC
,
40309 &_swigt__p_wxCURHandler
,
40310 &_swigt__p_wxChildFocusEvent
,
40311 &_swigt__p_wxClientDC
,
40312 &_swigt__p_wxClipboardTextEvent
,
40313 &_swigt__p_wxCloseEvent
,
40314 &_swigt__p_wxColour
,
40315 &_swigt__p_wxColourDatabase
,
40316 &_swigt__p_wxCommandEvent
,
40317 &_swigt__p_wxContextMenuEvent
,
40318 &_swigt__p_wxControl
,
40319 &_swigt__p_wxControlWithItems
,
40320 &_swigt__p_wxCursor
,
40322 &_swigt__p_wxDCBrushChanger
,
40323 &_swigt__p_wxDCClipper
,
40324 &_swigt__p_wxDCOverlay
,
40325 &_swigt__p_wxDCPenChanger
,
40326 &_swigt__p_wxDCTextColourChanger
,
40328 &_swigt__p_wxDateEvent
,
40329 &_swigt__p_wxDisplayChangedEvent
,
40330 &_swigt__p_wxDropFilesEvent
,
40331 &_swigt__p_wxDuplexMode
,
40332 &_swigt__p_wxEffects
,
40333 &_swigt__p_wxEncodingConverter
,
40334 &_swigt__p_wxEraseEvent
,
40335 &_swigt__p_wxEvent
,
40336 &_swigt__p_wxEventBlocker
,
40337 &_swigt__p_wxEvtHandler
,
40338 &_swigt__p_wxFSFile
,
40339 &_swigt__p_wxFileSystem
,
40340 &_swigt__p_wxFlexGridSizer
,
40341 &_swigt__p_wxFocusEvent
,
40343 &_swigt__p_wxFontList
,
40344 &_swigt__p_wxFontMapper
,
40345 &_swigt__p_wxGBSizerItem
,
40347 &_swigt__p_wxGDIObjListBase
,
40348 &_swigt__p_wxGDIObject
,
40349 &_swigt__p_wxGIFHandler
,
40350 &_swigt__p_wxGraphicsBrush
,
40351 &_swigt__p_wxGraphicsContext
,
40352 &_swigt__p_wxGraphicsFont
,
40353 &_swigt__p_wxGraphicsMatrix
,
40354 &_swigt__p_wxGraphicsObject
,
40355 &_swigt__p_wxGraphicsPath
,
40356 &_swigt__p_wxGraphicsPen
,
40357 &_swigt__p_wxGraphicsRenderer
,
40358 &_swigt__p_wxGridBagSizer
,
40359 &_swigt__p_wxGridSizer
,
40360 &_swigt__p_wxHeaderButtonParams
,
40361 &_swigt__p_wxICOHandler
,
40363 &_swigt__p_wxIconBundle
,
40364 &_swigt__p_wxIconLocation
,
40365 &_swigt__p_wxIconizeEvent
,
40366 &_swigt__p_wxIdleEvent
,
40367 &_swigt__p_wxImage
,
40368 &_swigt__p_wxImageHandler
,
40369 &_swigt__p_wxImageList
,
40370 &_swigt__p_wxIndividualLayoutConstraint
,
40371 &_swigt__p_wxInitDialogEvent
,
40372 &_swigt__p_wxJPEGHandler
,
40373 &_swigt__p_wxKeyEvent
,
40374 &_swigt__p_wxLanguageInfo
,
40375 &_swigt__p_wxLayoutConstraints
,
40376 &_swigt__p_wxLocale
,
40378 &_swigt__p_wxMaximizeEvent
,
40379 &_swigt__p_wxMemoryDC
,
40381 &_swigt__p_wxMenuBar
,
40382 &_swigt__p_wxMenuEvent
,
40383 &_swigt__p_wxMenuItem
,
40384 &_swigt__p_wxMetaFile
,
40385 &_swigt__p_wxMetaFileDC
,
40386 &_swigt__p_wxMirrorDC
,
40387 &_swigt__p_wxMouseCaptureChangedEvent
,
40388 &_swigt__p_wxMouseCaptureLostEvent
,
40389 &_swigt__p_wxMouseEvent
,
40390 &_swigt__p_wxMoveEvent
,
40391 &_swigt__p_wxNativeEncodingInfo
,
40392 &_swigt__p_wxNativeFontInfo
,
40393 &_swigt__p_wxNativePixelData
,
40394 &_swigt__p_wxNativePixelData_Accessor
,
40395 &_swigt__p_wxNavigationKeyEvent
,
40396 &_swigt__p_wxNcPaintEvent
,
40397 &_swigt__p_wxNotifyEvent
,
40398 &_swigt__p_wxObject
,
40399 &_swigt__p_wxOverlay
,
40400 &_swigt__p_wxPCXHandler
,
40401 &_swigt__p_wxPNGHandler
,
40402 &_swigt__p_wxPNMHandler
,
40403 &_swigt__p_wxPaintDC
,
40404 &_swigt__p_wxPaintEvent
,
40405 &_swigt__p_wxPalette
,
40406 &_swigt__p_wxPaletteChangedEvent
,
40407 &_swigt__p_wxPaperSize
,
40409 &_swigt__p_wxPenList
,
40410 &_swigt__p_wxPixelDataBase
,
40411 &_swigt__p_wxPoint
,
40412 &_swigt__p_wxPoint2D
,
40413 &_swigt__p_wxPostScriptDC
,
40414 &_swigt__p_wxPrintData
,
40415 &_swigt__p_wxPrinterDC
,
40416 &_swigt__p_wxPseudoDC
,
40417 &_swigt__p_wxPyApp
,
40418 &_swigt__p_wxPyCommandEvent
,
40419 &_swigt__p_wxPyEvent
,
40420 &_swigt__p_wxPyFontEnumerator
,
40421 &_swigt__p_wxPyImageHandler
,
40422 &_swigt__p_wxPyLocale
,
40423 &_swigt__p_wxPySizer
,
40424 &_swigt__p_wxPyValidator
,
40425 &_swigt__p_wxQueryNewPaletteEvent
,
40427 &_swigt__p_wxRect2D
,
40428 &_swigt__p_wxRegion
,
40429 &_swigt__p_wxRegionIterator
,
40430 &_swigt__p_wxRendererNative
,
40431 &_swigt__p_wxRendererVersion
,
40432 &_swigt__p_wxScreenDC
,
40433 &_swigt__p_wxScrollEvent
,
40434 &_swigt__p_wxScrollWinEvent
,
40435 &_swigt__p_wxSetCursorEvent
,
40436 &_swigt__p_wxShowEvent
,
40438 &_swigt__p_wxSizeEvent
,
40439 &_swigt__p_wxSizer
,
40440 &_swigt__p_wxSizerItem
,
40441 &_swigt__p_wxSplitterRenderParams
,
40442 &_swigt__p_wxStaticBoxSizer
,
40443 &_swigt__p_wxStdDialogButtonSizer
,
40444 &_swigt__p_wxStockGDI
,
40445 &_swigt__p_wxString
,
40446 &_swigt__p_wxSysColourChangedEvent
,
40447 &_swigt__p_wxTGAHandler
,
40448 &_swigt__p_wxTIFFHandler
,
40449 &_swigt__p_wxUpdateUIEvent
,
40450 &_swigt__p_wxValidator
,
40451 &_swigt__p_wxWindow
,
40452 &_swigt__p_wxWindowCreateEvent
,
40453 &_swigt__p_wxWindowDC
,
40454 &_swigt__p_wxWindowDestroyEvent
,
40455 &_swigt__p_wxXPMHandler
,
40458 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
40459 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
40460 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
40461 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
40462 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
40463 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
40464 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
40465 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
40466 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
40467 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
40468 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40469 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40470 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
40471 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
40472 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
40473 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}};
40474 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40475 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}};
40476 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
40477 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
40478 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
40479 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}};
40480 static swig_cast_info _swigc__p_wxDCBrushChanger
[] = { {&_swigt__p_wxDCBrushChanger
, 0, 0, 0},{0, 0, 0, 0}};
40481 static swig_cast_info _swigc__p_wxDCClipper
[] = { {&_swigt__p_wxDCClipper
, 0, 0, 0},{0, 0, 0, 0}};
40482 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40483 static swig_cast_info _swigc__p_wxDCPenChanger
[] = { {&_swigt__p_wxDCPenChanger
, 0, 0, 0},{0, 0, 0, 0}};
40484 static swig_cast_info _swigc__p_wxDCTextColourChanger
[] = { {&_swigt__p_wxDCTextColourChanger
, 0, 0, 0},{0, 0, 0, 0}};
40485 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
40486 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
40487 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
40488 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
40489 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
40490 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
40491 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
40492 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
40493 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}};
40494 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}};
40495 static swig_cast_info _swigc__p_wxGraphicsBrush
[] = { {&_swigt__p_wxGraphicsBrush
, 0, 0, 0},{0, 0, 0, 0}};
40496 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
40497 static swig_cast_info _swigc__p_wxGraphicsFont
[] = { {&_swigt__p_wxGraphicsFont
, 0, 0, 0},{0, 0, 0, 0}};
40498 static swig_cast_info _swigc__p_wxGraphicsMatrix
[] = { {&_swigt__p_wxGraphicsMatrix
, 0, 0, 0},{0, 0, 0, 0}};
40499 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}};
40500 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
40501 static swig_cast_info _swigc__p_wxGraphicsPen
[] = { {&_swigt__p_wxGraphicsPen
, 0, 0, 0},{0, 0, 0, 0}};
40502 static swig_cast_info _swigc__p_wxGraphicsRenderer
[] = { {&_swigt__p_wxGraphicsRenderer
, 0, 0, 0},{0, 0, 0, 0}};
40503 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
40504 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
40505 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
40506 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
40507 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
40508 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
40509 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
40510 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}};
40511 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
40512 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}};
40513 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
40514 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
40515 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
40516 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
40517 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
40518 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
40519 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
40520 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
40521 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
40522 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40523 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
40524 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
40525 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
40526 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40527 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40528 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
40529 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
40530 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
40531 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
40532 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
40533 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40534 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
40535 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
40536 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
40537 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40538 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
40539 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40540 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40541 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40542 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
40543 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
40544 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
40545 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
40546 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
40547 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40548 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40549 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
40550 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
40551 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
40552 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40553 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
40554 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40555 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40556 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
40557 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
40558 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40559 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
40560 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
40561 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
40562 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40563 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40564 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40565 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
40566 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
40567 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
40568 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
40569 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
40570 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40571 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
40572 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
40573 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
40574 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
40575 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
40576 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
40577 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
40578 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
40579 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40580 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40581 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
40582 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
40583 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
40584 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40585 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
40586 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
40587 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40588 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40589 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
40590 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40591 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
40592 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
40593 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40594 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
40595 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
40596 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
40597 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
40598 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPen
, _p_wxGraphicsPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsObject
, _p_wxGraphicsObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsPath
, _p_wxGraphicsPathTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsContext
, _p_wxGraphicsContextTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsBrush
, _p_wxGraphicsBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsRenderer
, _p_wxGraphicsRendererTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxGraphicsFont
, _p_wxGraphicsFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGraphicsMatrix
, _p_wxGraphicsMatrixTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
40599 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
40600 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
40601 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
40602 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
40603 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
40604 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
40605 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}};
40606 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
40607 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
40608 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
40609 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
40610 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
40611 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
40612 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
40613 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
40614 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
40615 static swig_cast_info _swigc__p_wxRect2D
[] = { {&_swigt__p_wxRect2D
, 0, 0, 0},{0, 0, 0, 0}};
40616 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
40617 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
40618 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
40619 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
40620 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
40621 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
40622 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
40623 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
40624 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
40625 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}};
40626 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}};
40628 static swig_cast_info
*swig_cast_initial
[] = {
40632 _swigc__p_form_ops_t
,
40634 _swigc__p_unsigned_char
,
40635 _swigc__p_unsigned_int
,
40636 _swigc__p_unsigned_long
,
40638 _swigc__p_wxANIHandler
,
40639 _swigc__p_wxAcceleratorTable
,
40640 _swigc__p_wxActivateEvent
,
40641 _swigc__p_wxAlphaPixelData
,
40642 _swigc__p_wxAlphaPixelData_Accessor
,
40643 _swigc__p_wxAutoBufferedPaintDC
,
40644 _swigc__p_wxBMPHandler
,
40645 _swigc__p_wxBitmap
,
40646 _swigc__p_wxBoxSizer
,
40648 _swigc__p_wxBrushList
,
40649 _swigc__p_wxBufferedDC
,
40650 _swigc__p_wxBufferedPaintDC
,
40651 _swigc__p_wxCURHandler
,
40652 _swigc__p_wxChildFocusEvent
,
40653 _swigc__p_wxClientDC
,
40654 _swigc__p_wxClipboardTextEvent
,
40655 _swigc__p_wxCloseEvent
,
40656 _swigc__p_wxColour
,
40657 _swigc__p_wxColourDatabase
,
40658 _swigc__p_wxCommandEvent
,
40659 _swigc__p_wxContextMenuEvent
,
40660 _swigc__p_wxControl
,
40661 _swigc__p_wxControlWithItems
,
40662 _swigc__p_wxCursor
,
40664 _swigc__p_wxDCBrushChanger
,
40665 _swigc__p_wxDCClipper
,
40666 _swigc__p_wxDCOverlay
,
40667 _swigc__p_wxDCPenChanger
,
40668 _swigc__p_wxDCTextColourChanger
,
40670 _swigc__p_wxDateEvent
,
40671 _swigc__p_wxDisplayChangedEvent
,
40672 _swigc__p_wxDropFilesEvent
,
40673 _swigc__p_wxDuplexMode
,
40674 _swigc__p_wxEffects
,
40675 _swigc__p_wxEncodingConverter
,
40676 _swigc__p_wxEraseEvent
,
40678 _swigc__p_wxEventBlocker
,
40679 _swigc__p_wxEvtHandler
,
40680 _swigc__p_wxFSFile
,
40681 _swigc__p_wxFileSystem
,
40682 _swigc__p_wxFlexGridSizer
,
40683 _swigc__p_wxFocusEvent
,
40685 _swigc__p_wxFontList
,
40686 _swigc__p_wxFontMapper
,
40687 _swigc__p_wxGBSizerItem
,
40689 _swigc__p_wxGDIObjListBase
,
40690 _swigc__p_wxGDIObject
,
40691 _swigc__p_wxGIFHandler
,
40692 _swigc__p_wxGraphicsBrush
,
40693 _swigc__p_wxGraphicsContext
,
40694 _swigc__p_wxGraphicsFont
,
40695 _swigc__p_wxGraphicsMatrix
,
40696 _swigc__p_wxGraphicsObject
,
40697 _swigc__p_wxGraphicsPath
,
40698 _swigc__p_wxGraphicsPen
,
40699 _swigc__p_wxGraphicsRenderer
,
40700 _swigc__p_wxGridBagSizer
,
40701 _swigc__p_wxGridSizer
,
40702 _swigc__p_wxHeaderButtonParams
,
40703 _swigc__p_wxICOHandler
,
40705 _swigc__p_wxIconBundle
,
40706 _swigc__p_wxIconLocation
,
40707 _swigc__p_wxIconizeEvent
,
40708 _swigc__p_wxIdleEvent
,
40710 _swigc__p_wxImageHandler
,
40711 _swigc__p_wxImageList
,
40712 _swigc__p_wxIndividualLayoutConstraint
,
40713 _swigc__p_wxInitDialogEvent
,
40714 _swigc__p_wxJPEGHandler
,
40715 _swigc__p_wxKeyEvent
,
40716 _swigc__p_wxLanguageInfo
,
40717 _swigc__p_wxLayoutConstraints
,
40718 _swigc__p_wxLocale
,
40720 _swigc__p_wxMaximizeEvent
,
40721 _swigc__p_wxMemoryDC
,
40723 _swigc__p_wxMenuBar
,
40724 _swigc__p_wxMenuEvent
,
40725 _swigc__p_wxMenuItem
,
40726 _swigc__p_wxMetaFile
,
40727 _swigc__p_wxMetaFileDC
,
40728 _swigc__p_wxMirrorDC
,
40729 _swigc__p_wxMouseCaptureChangedEvent
,
40730 _swigc__p_wxMouseCaptureLostEvent
,
40731 _swigc__p_wxMouseEvent
,
40732 _swigc__p_wxMoveEvent
,
40733 _swigc__p_wxNativeEncodingInfo
,
40734 _swigc__p_wxNativeFontInfo
,
40735 _swigc__p_wxNativePixelData
,
40736 _swigc__p_wxNativePixelData_Accessor
,
40737 _swigc__p_wxNavigationKeyEvent
,
40738 _swigc__p_wxNcPaintEvent
,
40739 _swigc__p_wxNotifyEvent
,
40740 _swigc__p_wxObject
,
40741 _swigc__p_wxOverlay
,
40742 _swigc__p_wxPCXHandler
,
40743 _swigc__p_wxPNGHandler
,
40744 _swigc__p_wxPNMHandler
,
40745 _swigc__p_wxPaintDC
,
40746 _swigc__p_wxPaintEvent
,
40747 _swigc__p_wxPalette
,
40748 _swigc__p_wxPaletteChangedEvent
,
40749 _swigc__p_wxPaperSize
,
40751 _swigc__p_wxPenList
,
40752 _swigc__p_wxPixelDataBase
,
40754 _swigc__p_wxPoint2D
,
40755 _swigc__p_wxPostScriptDC
,
40756 _swigc__p_wxPrintData
,
40757 _swigc__p_wxPrinterDC
,
40758 _swigc__p_wxPseudoDC
,
40760 _swigc__p_wxPyCommandEvent
,
40761 _swigc__p_wxPyEvent
,
40762 _swigc__p_wxPyFontEnumerator
,
40763 _swigc__p_wxPyImageHandler
,
40764 _swigc__p_wxPyLocale
,
40765 _swigc__p_wxPySizer
,
40766 _swigc__p_wxPyValidator
,
40767 _swigc__p_wxQueryNewPaletteEvent
,
40769 _swigc__p_wxRect2D
,
40770 _swigc__p_wxRegion
,
40771 _swigc__p_wxRegionIterator
,
40772 _swigc__p_wxRendererNative
,
40773 _swigc__p_wxRendererVersion
,
40774 _swigc__p_wxScreenDC
,
40775 _swigc__p_wxScrollEvent
,
40776 _swigc__p_wxScrollWinEvent
,
40777 _swigc__p_wxSetCursorEvent
,
40778 _swigc__p_wxShowEvent
,
40780 _swigc__p_wxSizeEvent
,
40782 _swigc__p_wxSizerItem
,
40783 _swigc__p_wxSplitterRenderParams
,
40784 _swigc__p_wxStaticBoxSizer
,
40785 _swigc__p_wxStdDialogButtonSizer
,
40786 _swigc__p_wxStockGDI
,
40787 _swigc__p_wxString
,
40788 _swigc__p_wxSysColourChangedEvent
,
40789 _swigc__p_wxTGAHandler
,
40790 _swigc__p_wxTIFFHandler
,
40791 _swigc__p_wxUpdateUIEvent
,
40792 _swigc__p_wxValidator
,
40793 _swigc__p_wxWindow
,
40794 _swigc__p_wxWindowCreateEvent
,
40795 _swigc__p_wxWindowDC
,
40796 _swigc__p_wxWindowDestroyEvent
,
40797 _swigc__p_wxXPMHandler
,
40801 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40803 static swig_const_info swig_const_table
[] = {
40804 {0, 0, 0, 0.0, 0, 0}};
40809 /* -----------------------------------------------------------------------------
40810 * Type initialization:
40811 * This problem is tough by the requirement that no dynamic
40812 * memory is used. Also, since swig_type_info structures store pointers to
40813 * swig_cast_info structures and swig_cast_info structures store pointers back
40814 * to swig_type_info structures, we need some lookup code at initialization.
40815 * The idea is that swig generates all the structures that are needed.
40816 * The runtime then collects these partially filled structures.
40817 * The SWIG_InitializeModule function takes these initial arrays out of
40818 * swig_module, and does all the lookup, filling in the swig_module.types
40819 * array with the correct data and linking the correct swig_cast_info
40820 * structures together.
40822 * The generated swig_type_info structures are assigned staticly to an initial
40823 * array. We just loop though that array, and handle each type individually.
40824 * First we lookup if this type has been already loaded, and if so, use the
40825 * loaded structure instead of the generated one. Then we have to fill in the
40826 * cast linked list. The cast data is initially stored in something like a
40827 * two-dimensional array. Each row corresponds to a type (there are the same
40828 * number of rows as there are in the swig_type_initial array). Each entry in
40829 * a column is one of the swig_cast_info structures for that type.
40830 * The cast_initial array is actually an array of arrays, because each row has
40831 * a variable number of columns. So to actually build the cast linked list,
40832 * we find the array of casts associated with the type, and loop through it
40833 * adding the casts to the list. The one last trick we need to do is making
40834 * sure the type pointer in the swig_cast_info struct is correct.
40836 * First off, we lookup the cast->type name to see if it is already loaded.
40837 * There are three cases to handle:
40838 * 1) If the cast->type has already been loaded AND the type we are adding
40839 * casting info to has not been loaded (it is in this module), THEN we
40840 * replace the cast->type pointer with the type pointer that has already
40842 * 2) If BOTH types (the one we are adding casting info to, and the
40843 * cast->type) are loaded, THEN the cast info has already been loaded by
40844 * the previous module so we just ignore it.
40845 * 3) Finally, if cast->type has not already been loaded, then we add that
40846 * swig_cast_info to the linked list (because the cast->type) pointer will
40848 * ----------------------------------------------------------------------------- */
40858 #define SWIGRUNTIME_DEBUG
40862 SWIG_InitializeModule(void *clientdata
) {
40864 swig_module_info
*module_head
;
40865 static int init_run
= 0;
40867 clientdata
= clientdata
;
40869 if (init_run
) return;
40872 /* Initialize the swig_module */
40873 swig_module
.type_initial
= swig_type_initial
;
40874 swig_module
.cast_initial
= swig_cast_initial
;
40876 /* Try and load any already created modules */
40877 module_head
= SWIG_GetModule(clientdata
);
40879 swig_module
.next
= module_head
->next
;
40880 module_head
->next
= &swig_module
;
40882 /* This is the first module loaded */
40883 swig_module
.next
= &swig_module
;
40884 SWIG_SetModule(clientdata
, &swig_module
);
40887 /* Now work on filling in swig_module.types */
40888 #ifdef SWIGRUNTIME_DEBUG
40889 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
40891 for (i
= 0; i
< swig_module
.size
; ++i
) {
40892 swig_type_info
*type
= 0;
40893 swig_type_info
*ret
;
40894 swig_cast_info
*cast
;
40896 #ifdef SWIGRUNTIME_DEBUG
40897 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40900 /* if there is another module already loaded */
40901 if (swig_module
.next
!= &swig_module
) {
40902 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
40905 /* Overwrite clientdata field */
40906 #ifdef SWIGRUNTIME_DEBUG
40907 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
40909 if (swig_module
.type_initial
[i
]->clientdata
) {
40910 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
40911 #ifdef SWIGRUNTIME_DEBUG
40912 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
40916 type
= swig_module
.type_initial
[i
];
40919 /* Insert casting types */
40920 cast
= swig_module
.cast_initial
[i
];
40921 while (cast
->type
) {
40922 /* Don't need to add information already in the list */
40924 #ifdef SWIGRUNTIME_DEBUG
40925 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
40927 if (swig_module
.next
!= &swig_module
) {
40928 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
40929 #ifdef SWIGRUNTIME_DEBUG
40930 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
40934 if (type
== swig_module
.type_initial
[i
]) {
40935 #ifdef SWIGRUNTIME_DEBUG
40936 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
40941 /* Check for casting already in the list */
40942 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
40943 #ifdef SWIGRUNTIME_DEBUG
40944 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
40946 if (!ocast
) ret
= 0;
40951 #ifdef SWIGRUNTIME_DEBUG
40952 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
40955 type
->cast
->prev
= cast
;
40956 cast
->next
= type
->cast
;
40962 /* Set entry in modules->types array equal to the type */
40963 swig_module
.types
[i
] = type
;
40965 swig_module
.types
[i
] = 0;
40967 #ifdef SWIGRUNTIME_DEBUG
40968 printf("**** SWIG_InitializeModule: Cast List ******\n");
40969 for (i
= 0; i
< swig_module
.size
; ++i
) {
40971 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
40972 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
40973 while (cast
->type
) {
40974 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
40978 printf("---- Total casts: %d\n",j
);
40980 printf("**** SWIG_InitializeModule: Cast List ******\n");
40984 /* This function will propagate the clientdata field of type to
40985 * any new swig_type_info structures that have been added into the list
40986 * of equivalent types. It is like calling
40987 * SWIG_TypeClientData(type, clientdata) a second time.
40990 SWIG_PropagateClientData(void) {
40992 swig_cast_info
*equiv
;
40993 static int init_run
= 0;
40995 if (init_run
) return;
40998 for (i
= 0; i
< swig_module
.size
; i
++) {
40999 if (swig_module
.types
[i
]->clientdata
) {
41000 equiv
= swig_module
.types
[i
]->cast
;
41002 if (!equiv
->converter
) {
41003 if (equiv
->type
&& !equiv
->type
->clientdata
)
41004 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
41006 equiv
= equiv
->next
;
41026 /* Python-specific SWIG API */
41027 #define SWIG_newvarlink() SWIG_Python_newvarlink()
41028 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
41029 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
41031 /* -----------------------------------------------------------------------------
41032 * global variable support code.
41033 * ----------------------------------------------------------------------------- */
41035 typedef struct swig_globalvar
{
41036 char *name
; /* Name of global variable */
41037 PyObject
*(*get_attr
)(void); /* Return the current value */
41038 int (*set_attr
)(PyObject
*); /* Set the value */
41039 struct swig_globalvar
*next
;
41042 typedef struct swig_varlinkobject
{
41044 swig_globalvar
*vars
;
41045 } swig_varlinkobject
;
41047 SWIGINTERN PyObject
*
41048 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
41049 return PyString_FromString("<Swig global variables>");
41052 SWIGINTERN PyObject
*
41053 swig_varlink_str(swig_varlinkobject
*v
) {
41054 PyObject
*str
= PyString_FromString("(");
41055 swig_globalvar
*var
;
41056 for (var
= v
->vars
; var
; var
=var
->next
) {
41057 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
41058 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
41060 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
41065 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
41066 PyObject
*str
= swig_varlink_str(v
);
41067 fprintf(fp
,"Swig global variables ");
41068 fprintf(fp
,"%s\n", PyString_AsString(str
));
41074 swig_varlink_dealloc(swig_varlinkobject
*v
) {
41075 swig_globalvar
*var
= v
->vars
;
41077 swig_globalvar
*n
= var
->next
;
41084 SWIGINTERN PyObject
*
41085 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
41086 PyObject
*res
= NULL
;
41087 swig_globalvar
*var
= v
->vars
;
41089 if (strcmp(var
->name
,n
) == 0) {
41090 res
= (*var
->get_attr
)();
41095 if (res
== NULL
&& !PyErr_Occurred()) {
41096 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41102 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
41104 swig_globalvar
*var
= v
->vars
;
41106 if (strcmp(var
->name
,n
) == 0) {
41107 res
= (*var
->set_attr
)(p
);
41112 if (res
== 1 && !PyErr_Occurred()) {
41113 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
41118 SWIGINTERN PyTypeObject
*
41119 swig_varlink_type(void) {
41120 static char varlink__doc__
[] = "Swig var link object";
41121 static PyTypeObject varlink_type
;
41122 static int type_init
= 0;
41124 const PyTypeObject tmp
41126 PyObject_HEAD_INIT(NULL
)
41127 0, /* Number of items in variable part (ob_size) */
41128 (char *)"swigvarlink", /* Type name (tp_name) */
41129 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
41130 0, /* Itemsize (tp_itemsize) */
41131 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
41132 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
41133 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
41134 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
41135 0, /* tp_compare */
41136 (reprfunc
) swig_varlink_repr
, /* tp_repr */
41137 0, /* tp_as_number */
41138 0, /* tp_as_sequence */
41139 0, /* tp_as_mapping */
41142 (reprfunc
)swig_varlink_str
, /* tp_str */
41143 0, /* tp_getattro */
41144 0, /* tp_setattro */
41145 0, /* tp_as_buffer */
41147 varlink__doc__
, /* tp_doc */
41148 0, /* tp_traverse */
41150 0, /* tp_richcompare */
41151 0, /* tp_weaklistoffset */
41152 #if PY_VERSION_HEX >= 0x02020000
41153 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
41155 #if PY_VERSION_HEX >= 0x02030000
41158 #ifdef COUNT_ALLOCS
41159 0,0,0,0 /* tp_alloc -> tp_next */
41162 varlink_type
= tmp
;
41163 varlink_type
.ob_type
= &PyType_Type
;
41166 return &varlink_type
;
41169 /* Create a variable linking object for use later */
41170 SWIGINTERN PyObject
*
41171 SWIG_Python_newvarlink(void) {
41172 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
41176 return ((PyObject
*) result
);
41180 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
41181 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
41182 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
41184 size_t size
= strlen(name
)+1;
41185 gv
->name
= (char *)malloc(size
);
41187 strncpy(gv
->name
,name
,size
);
41188 gv
->get_attr
= get_attr
;
41189 gv
->set_attr
= set_attr
;
41190 gv
->next
= v
->vars
;
41196 SWIGINTERN PyObject
*
41198 static PyObject
*_SWIG_globals
= 0;
41199 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
41200 return _SWIG_globals
;
41203 /* -----------------------------------------------------------------------------
41204 * constants/methods manipulation
41205 * ----------------------------------------------------------------------------- */
41207 /* Install Constants */
41209 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
41212 for (i
= 0; constants
[i
].type
; ++i
) {
41213 switch(constants
[i
].type
) {
41214 case SWIG_PY_POINTER
:
41215 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
41217 case SWIG_PY_BINARY
:
41218 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
41225 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
41231 /* -----------------------------------------------------------------------------*/
41232 /* Fix SwigMethods to carry the callback ptrs when needed */
41233 /* -----------------------------------------------------------------------------*/
41236 SWIG_Python_FixMethods(PyMethodDef
*methods
,
41237 swig_const_info
*const_table
,
41238 swig_type_info
**types
,
41239 swig_type_info
**types_initial
) {
41241 for (i
= 0; methods
[i
].ml_name
; ++i
) {
41242 const char *c
= methods
[i
].ml_doc
;
41243 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
41245 swig_const_info
*ci
= 0;
41246 const char *name
= c
+ 10;
41247 for (j
= 0; const_table
[j
].type
; ++j
) {
41248 if (strncmp(const_table
[j
].name
, name
,
41249 strlen(const_table
[j
].name
)) == 0) {
41250 ci
= &(const_table
[j
]);
41255 size_t shift
= (ci
->ptype
) - types
;
41256 swig_type_info
*ty
= types_initial
[shift
];
41257 size_t ldoc
= (c
- methods
[i
].ml_doc
);
41258 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
41259 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
41262 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
41264 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
41266 strncpy(buff
, "swig_ptr: ", 10);
41268 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
41269 methods
[i
].ml_doc
= ndoc
;
41281 /* -----------------------------------------------------------------------------*
41282 * Partial Init method
41283 * -----------------------------------------------------------------------------*/
41288 SWIGEXPORT
void SWIG_init(void) {
41291 /* Fix SwigMethods to carry the callback ptrs when needed */
41292 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
41294 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41295 d
= PyModule_GetDict(m
);
41297 SWIG_InitializeModule(0);
41298 SWIG_InstallConstants(d
,swig_const_table
);
41301 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
41302 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
41303 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
41304 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
41305 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
41306 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
41307 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
41308 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
41309 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
41310 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
41311 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
41312 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
41313 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
41314 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
41315 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
41316 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
41317 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
41318 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
41319 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
41320 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
41321 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
41322 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
41323 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
41324 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
41325 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
41326 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
41327 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
41328 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
41329 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
41330 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
41331 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
41332 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
41333 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
41334 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
41335 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
41336 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
41337 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
41338 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
41339 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
41340 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
41341 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
41342 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
41343 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
41344 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
41345 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
41346 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
41347 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
41348 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
41349 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
41350 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
41351 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
41352 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
41353 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
41354 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
41355 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
41356 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
41357 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
41358 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
41359 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
41360 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
41361 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
41362 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
41363 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
41364 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
41365 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
41366 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
41367 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
41368 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
41369 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
41370 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
41371 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
41372 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
41373 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
41374 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
41375 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
41376 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
41377 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
41378 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
41379 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
41380 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
41381 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
41382 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
41383 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
41384 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
41385 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
41386 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
41387 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
41388 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
41389 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
41390 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
41391 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
41392 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
41393 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
41394 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
41395 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
41396 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
41397 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
41398 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
41399 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
41400 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
41401 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
41402 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
41403 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
41404 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
41405 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
41406 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
41407 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
41408 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
41409 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
41410 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
41411 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
41412 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
41413 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
41414 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
41415 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
41416 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
41417 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
41418 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
41419 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
41420 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
41421 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
41422 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
41423 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
41424 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
41425 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
41426 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
41427 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
41428 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
41429 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
41430 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
41431 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
41432 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
41434 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
41436 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
41437 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
41438 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
41439 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
41440 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
41441 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
41442 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
41443 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
41444 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
41445 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
41446 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
41447 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
41448 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
41449 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
41450 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
41451 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
41452 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
41453 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
41454 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
41455 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
41456 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
41457 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
41458 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
41459 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
41460 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
41461 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
41462 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
41463 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
41464 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
41465 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
41466 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
41467 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
41468 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
41469 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
41470 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
41471 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
41472 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
41473 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
41474 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
41475 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
41476 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
41477 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
41478 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
41479 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
41480 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
41481 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
41482 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
41483 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
41484 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
41485 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
41486 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
41487 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
41488 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
41489 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
41490 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
41491 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
41492 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
41493 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
41494 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
41495 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
41496 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
41497 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
41498 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
41499 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
41500 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
41501 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
41502 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
41503 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
41504 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
41505 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
41506 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
41507 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
41508 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
41509 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
41510 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
41511 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
41512 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
41513 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
41514 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
41515 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
41516 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
41517 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
41518 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
41519 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
41520 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
41521 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
41522 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
41523 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
41524 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
41525 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
41526 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
41527 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
41528 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
41529 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
41530 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
41531 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
41532 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
41533 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
41534 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
41535 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
41536 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
41537 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
41538 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
41539 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
41540 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
41541 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
41542 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
41543 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
41544 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
41545 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
41546 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
41547 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
41548 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
41549 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
41550 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
41551 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
41552 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
41553 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
41554 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
41555 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
41556 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
41557 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
41558 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
41559 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
41560 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
41561 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
41562 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
41563 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
41564 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
41565 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
41566 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
41567 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
41568 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
41569 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
41570 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
41571 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
41572 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
41573 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
41574 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
41575 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
41576 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
41577 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
41578 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
41579 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
41580 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
41581 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
41582 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
41583 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
41584 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
41585 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
41586 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
41587 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
41588 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
41589 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
41590 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
41591 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
41592 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
41593 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
41594 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
41595 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
41596 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
41597 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
41598 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
41599 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
41600 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
41601 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
41602 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
41603 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
41604 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
41605 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
41606 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
41607 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
41608 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
41609 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
41610 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
41611 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
41612 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
41613 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
41614 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
41615 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
41616 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
41617 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
41618 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
41619 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
41620 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
41621 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
41622 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
41623 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
41624 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
41625 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
41626 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
41627 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
41628 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
41629 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
41630 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
41631 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
41632 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
41633 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
41634 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
41635 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
41636 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
41637 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
41638 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
41639 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
41640 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
41641 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
41642 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
41643 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
41644 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
41645 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
41646 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
41647 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
41648 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
41649 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
41650 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
41651 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
41652 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
41653 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
41654 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
41655 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
41656 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
41657 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
41658 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
41659 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
41660 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
41661 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
41662 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
41663 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
41664 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
41665 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
41666 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
41667 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
41668 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
41669 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
41670 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
41671 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
41672 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
41673 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
41674 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
41675 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
41676 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
41677 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
41678 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
41679 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
41680 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
41681 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
41682 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
41683 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
41684 SWIG_Python_SetConstant(d
, "BUFFER_USES_SHARED_BUFFER",SWIG_From_int(static_cast< int >(wxBUFFER_USES_SHARED_BUFFER
)));
41685 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
41686 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPen",NullGraphicsPen_get
, NullGraphicsPen_set
);
41687 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsBrush",NullGraphicsBrush_get
, NullGraphicsBrush_set
);
41688 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsFont",NullGraphicsFont_get
, NullGraphicsFont_set
);
41689 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsMatrix",NullGraphicsMatrix_get
, NullGraphicsMatrix_set
);
41690 SWIG_addvarlink(SWIG_globals(),(char*)"NullGraphicsPath",NullGraphicsPath_get
, NullGraphicsPath_set
);
41691 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
41692 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
41693 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
41694 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
41695 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
41696 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
41697 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
41698 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
41699 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
41700 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
41701 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
41702 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
41703 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
41704 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
41705 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
41706 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
41707 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
41708 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
41709 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
41710 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
41711 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
41712 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
41713 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
41714 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
41715 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
41716 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
41717 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
41718 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
41719 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
41720 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
41721 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
41722 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
41723 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
41724 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
41725 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
41726 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
41727 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
41728 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
41729 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
41730 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
41731 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
41732 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
41733 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
41734 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
41735 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
41736 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
41737 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
41738 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
41739 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
41740 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
41741 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
41742 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
41743 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
41744 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
41745 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
41746 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
41747 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
41748 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
41749 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
41750 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
41751 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
41752 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
41753 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
41754 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
41755 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
41756 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
41757 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
41758 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
41759 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
41760 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
41762 // Work around a chicken/egg problem in drawlist.cpp
41763 wxPyDrawList_SetAPIPtr();